APoole
March 22, 2019, 1:54pm
1
I am looking to pass the information from a hidden detail table in an .html file in a HTTP POST so that I can use the data in the workflow. Is there a way to do that will a detail table?
I have the detail table within a and have tried to change the following:
tr data-repeat=“”
td @detail @ /td
/tr
to
tr data-repeat=“”
td input type=“text” name=“detail_1 ” /> @detail @ /td
/tr
To allow that you can use something like:
detail[0][name]
detail[1][name]
Also take a look at:
http://help.objectiflune.com/en/planetpress-connect-user-guide/2018.2/#designer/COTG/Using_COTG_Elements.htm?Highlight=php
Not sure if the OL workflow post parser recognizes the usage like you do it. (In php it is allowed and you get a nice array containing all the values)
Phil
April 4, 2019, 2:28pm
3
Workflow’s HTTP Server Input recognizes PHP-like arrays when you set the option in the HTTP Server Input 1 preferences page (see PlanetPress Workflow Workflow 2018.2 User Guide ).
The NodeJS Server Input task natively recognizes those same arrays, no option needs to be specified.