Jump to content
Sign in to follow this  
seansku

How to call function?

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

 

  • Thanks 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.