Hello,
I would like to add a guided tour script like Shepherd.js or GuideChimp. Both work with a js and a css and you have to create a js with the tour steps you want.
I followed the documentation, adding js and css in client/custom/, declaring the paths in custom/Espo/Custom/Resources/metadata/app/client.json.
On reloading, the css and the js I made for the steps tour are loaded but the js file from the script (either shepherd.js or guidechimp.min.js) is blocked by the Content Security Policy.
I found that I can whitelist a script in config but the exemple gives a url while I need to whitelist a JS script ('client/custom/js/guidechimp.min.js' doesn't do the trick).
How should I declare it?
Any other form to implement this type of script?
Thank you
I would like to add a guided tour script like Shepherd.js or GuideChimp. Both work with a js and a css and you have to create a js with the tour steps you want.
I followed the documentation, adding js and css in client/custom/, declaring the paths in custom/Espo/Custom/Resources/metadata/app/client.json.
On reloading, the css and the js I made for the steps tour are loaded but the js file from the script (either shepherd.js or guidechimp.min.js) is blocked by the Content Security Policy.
I found that I can whitelist a script in config but the exemple gives a url while I need to whitelist a JS script ('client/custom/js/guidechimp.min.js' doesn't do the trick).
How should I declare it?
Any other form to implement this type of script?
Thank you
Comment