AnsweredAssumed Answered

Insert from URL: works when run from script workspace, but not when tied to button

Question asked by shalane on Jun 1, 2015
Latest reply on Jun 2, 2015 by shalane

Title

Insert from URL: works when run from script workspace, but not when tied to button

Post

I'm using Insert from URL to grab an .fmp12 from my web server, and place in a container field.

The script executes as expected when run from the Script Workspace, but fails (without error) when tied to a layout button as a button action. My thought is that this has something to do with a difference in the script trigger.

I've tried: assigning the script to the layout button as perform script, as a single step, and as a script trigger OnObjectEnter.

The only step in my script is:

 Insert from URL[Select; No Dialog; myTable::myContainerField; "http://myurl/myfile.fmp12"]

Any suggestions would be much appreciated.

 

Using FM Pro 14 Advanced, on Windows 7.

Outcomes