Newbies seansku Posted May 17, 2018 Newbies Posted May 17, 2018 Hello, Apologies for my silly question I am very much a beginner. I have downloaded the BaseElements plugin, specifically to make use of this https://baseelementsplugin.zendesk.com/hc/en-us/articles/204700538-BE-ExportFieldContents. BE_ExportFieldContents, now this supposedly will allow me to export the contents of the container field using a server script. But I am at a total loss on how this will work? How do I call the function? As I can only see it in the calculations? So how would I write a script that calls this function? Again, I'm sorry for the silly question but I'm baffled. Thanks in advance.
rwoods Posted May 17, 2018 Posted May 17, 2018 Hello. You have to use Set variable, something like Set Variable [ $returnedValue ; Value: BE_ExportFieldContents (field ; $folderPath & "/" & $filename ) ] You will get empty for success, or ? for failure in $returnedValue. Error codes can be retrieved with BE_GetLastError 1
Newbies seansku Posted May 17, 2018 Author Newbies Posted May 17, 2018 Thats what I was looking for! Despite crawling the internet for hours searching that was all I needed to see! Thankyou mate its worked perfect.
Newbies noobnoob Posted September 19, 2019 Newbies Posted September 19, 2019 Once you have set the variable with the BE_ExportFieldContents as value, what script step do you need to use to call that variable and effectively execute the export?
comment Posted September 19, 2019 Posted September 19, 2019 1 hour ago, noobnoob said: what script step do you need to use to call that variable and effectively execute the export? None. The export is executed when the function is evaluated. If you set a variable using the function (as suggested above), then the export will be executed when the Set Variable step is executed.
Recommended Posts
This topic is 1960 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now