We’re currently seeing issues with some common custom scripting variables like %%url and %%value. We’re working on it now and will update this post when it’s fixed. Thanks for your patience!
We have just released a fix for this issue, and we think we have caught all of the variables causing syntax errors.
If you are still running into issues, please let us know!
Any news about this problem?
Hi guys, this is marked as solved, but still not working for us. Could you advice?
Hi guys, we are still seeing the same issue not resolved. Could you please advice?
I put this in a ticket…But here it is for reference if it helpful:
This used to work:
%%ar = array();
foreach(%%ar as %%record)
%%val = sgapiGetValue(%%record);
Now it no longer does…This is what is required:
foreach(%%ar as %%key => %%value)
%%qid = %%value;
%%val = sgapiGetValue(%%qid);
Some example scripts don’t work:
%%format = “Y-m-d H:i:s”;
%%output .= sgapiDate(%%format);
The above causes an script syntax error. Switching the variable name %%format to %%fformat allows the script to work.