Hi christofhed35451717,
It works pretty much the same as the XML example you have working. You use the two functions:
guideBridge.getGuideState
guideBridge.restoreGuideState
To test this out, when previewing in inspector console do this:
window.guideBridge.getGuideState({
success : function (guideResultObj) {
jsonData = guideResultObj.data;
console.log(JSON.stringify(jsonData,null,2));
},
error : function (guideResultObj) {
// log error
},reducedJSON:true
});
Copy the string produced and restore:
var jsonData = "guideState": {
"guideDom": {
etc"; //output from getGuideState
guideBridge.restoreGuideState({
guideState : jsonData.guideState,
error : function (guideResultObject) {
console.log('failed', guideResultObject);
}
});
Thanks,
James