Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Submit guidestate to REST endpoint

James_R_Green
Level 7
Level 7

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

0 Replies