binxie
2023-06-26 410599fdf4f96d7f19b51bc28e544fa4e8780a1e
force-app/main/default/experiences/Consumable1/config/mainAppPage.json
@@ -1,10 +1,10 @@
{
  "cmsSettings": {},
  "currentThemeId": "dc3ec245-c32a-48fc-920e-8ff30c6cff7a",
  "headMarkup": "<script>\n    var homeWindowLocation = '/consumable/s/';\n    window.onload = function() {\n        console.log('URL' +window.location.pathname);\n        if(homeWindowLocation ==window.location.pathname ){\n            console.log('refresh dashboard');\n            setTimeout(\n                function() {\n                    let refreshButtonElement = document.getElementsByTagName('iframe')[0].contentWindow.document.getElementsByTagName('button')[0];\n                    console.log('Refresh:'+refreshButtonElement);\n                    refreshButtonElement.click();\n                }, 10000);\n        }\n\t};\n\t\n</script>",
  "id": "27f1ea49-dcbd-4afc-b1b9-faf0852c745e",
  "isRelaxedCSPLevel": true,
  "label": "main",
  "templateName": "PRM Community Template",
  "type": "appPage"
}
  "cmsSettings" : { },
  "currentThemeId" : "dc3ec245-c32a-48fc-920e-8ff30c6cff7a",
  "headMarkup" : "<script>\n    var homeWindowLocation = '/consumable/s/';\n    window.onload = function() {\n        console.log('URL' +window.location.pathname);\n        if(homeWindowLocation ==window.location.pathname ){\n            console.log('refresh dashboard');\n            setTimeout(\n                function() {\n                    let refreshButtonElement = document.getElementsByTagName('iframe')[0].contentWindow.document.getElementsByTagName('button')[0];\n                    console.log('Refresh:'+refreshButtonElement);\n                    refreshButtonElement.click();\n                }, 10000);\n        }\n       \n\t};\n\t\n</script>",
  "id" : "27f1ea49-dcbd-4afc-b1b9-faf0852c745e",
  "isRelaxedCSPLevel" : true,
  "label" : "main",
  "templateName" : "PRM Community Template",
  "type" : "appPage"
}