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

AEM getGuideState reducedJSON option

James_R_Green
Level 7
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