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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

AEM getGuideState reducedJSON option

Avatar

Level 7

Hi,

A question about the documentation:

I noticed when stepping through the guideRuntime.js code that there is a reducedJSON option for getGuideState:

guideBridge.getGuideState({

     success : function (guideResultObj) {

         jsonData = guideResultObj.data;

         console.log(JSON.stringify(jsonData,null,2));

     },

     error : function (guideResultObj) {

         // log error

     },

     reducedJSON: true

});

This is a really handy feature, it cuts down the size of the JSON considerably on a large form as it only outputs "name", "templateId", "_value", "guideNodeClass".

Should this option be added to the table here?

Adaptive Forms Class: GuideBridge

Are there any other options that aren't in the documentation?

Thanks,

James

0 Replies