Highlighted

AEM getGuideState reducedJSON option

James_R_Green

04-02-2018

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