AnsweredAssumed Answered

Passing Global Container Data to PSOS Script

Question asked by danjamins on Nov 13, 2018
Latest reply on Nov 14, 2018 by wimdecorte

Hi All,


I use perform script on server for adding new records via a wizard interface for most new record creations in my database. I typically pass the data from global fields as JSON parameters to the PSOS script that does the record creation and returns the record's primary key to the client.


This works great, but the one thing I haven't figured out is how to pass a global container field to a PSOS script. If I pass the field as a parameter it doesn't send the actual file, just the path which doesn't upload the file.


Is there a way to pass a container file to a PSOS script without having to use a stored field?


For example, I have a table called Globals that has a bunch of global fields (text/date/number/container) that I use to create new records. If I have a global container field in this table and want to pass it to PSOS, is it possible to accomplish this without having to store that container data in a stored field and pass the ID of the record it is stored in to the PSOS script?