12 Replies Latest reply on May 20, 2011 5:30 AM by stoereee

    [JS IDCS5] retrieve all scriptArgs

    stoereee Level 1

      Hello,

       

      Is there a way of iterating through all arguments passed to a server script (with soap) in a for-loop fashion?

       

      So far I have been able to retrieve the argument values by using the following syntax;

       

      var arg1 = app.scriptArgs.getValue("Argument_1");
      var arg2 = app.scriptArgs.getValue("Argument_2");

       

      But all the arguments passed to the server are dynamically build. So how could I retrieve each  argument value?

       

      Regards, Sjoerd