0 Replies Latest reply on Jul 19, 2017 3:08 PM by James R Green

    Submit guidestate to REST endpoint

    James R Green Level 1

      Hi,

       

      I am trying to POST the guidestate to a rest endpoint but wondered if this is possible out of the box.

       

      Stepping through the JSP code for the submit to rest endpoint submit action, I can see that there is the dataXML and the guidefieldsmap. The dataXML as expected is the full dump of the fields, but the guidefield map is not the same as the guidestate.

       

      Is the guidestate available when submitting to a REST endpoint?

      At the moment I have a hidden field on the form that I populate with the result of guidebridge getGuideState which seems a little cumbersome. I had a quick look at the guidebridge submit and couldn't see the guidestate being filled in.

       

      Coupled with another issue I had with loading the dataXML I am a bit stuck for a reliable method to get data in and out of a form in the same format.

       

      Thanks,

      James