For reference, this is what I'm tying to do:
http://fmepedia.safe.com/articles/Samples_and_Demos/Standalone-data-distribution-demo-ArcGIS-Server
Michael
For reference, this is what I'm tying to do:
http://fmepedia.safe.com/articles/Samples_and_Demos/Standalone-data-distribution-demo-ArcGIS-Server
Michael
You need to make sure the parameters are of the correct type in your workbench script. The javascript functions in the application supports either "LOOKUP_CHOICE" or "LISTBOX_ENCODED". Within the FME workbench the parameter type "Choice with alias" is the same as "LOOKUP_CHOICE".
Try adding an alert in the function called parseJSONResponse (rest-manager.js):
parseJSONResponse : function(inResult) {
alert(inResult);
var jsonDoc = JSON.parse(inResult);
Are you getting a response? If so, are the types correct? No response? It could be some security issue. Can you access the fmerest-url manually? Try configuring the fmerest application to use a default account that have permissions to the REST API and the FME-script you want to get the parameters from (to skip token authentication).
If you are looking at your application in Google chrome or in Firefox, use the debugging tools.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.