Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Submit guidestate to REST endpoint

Avatar

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