Hi Team,
I am creating a sail extension or javascript based UI plugin (Chatbot), it worked perfectly without adding any Content Security Policy (no meta tag added) from VS Code, but when I deployed the plugin in my VM (where appian is installed), it is throwing out Content Security Policy errors in the console. Please help.
[Report Only] Refused to load the script '<js_source_link>' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'default-src' is used as a fallback.
[Report Only] Refused to load the stylesheet '<css_source_link>' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'style-src-elem' was not explicitly set, so 'default-src' is used as a fallback.
CC: Mike Schmitt Support
Thanks,
Bharathwaj RK
bharathwaj.rk@roboyo.com.au
Discussion posts and replies are publicly visible
Did you check this: https://docs.appian.com/suite/help/23.2/component-security-performance.html
Specifically the first section about component isolation.
Thank you Stefan, yes I have modified the dynamic server details in my VM's custom.properties. But still seeing this error.
Hm... did you see that these are just notifications and no error messages? Does the plugin work?
I suggest to contact Appian for more detailed infos.
I do not see any notifications, I see error message while loading the script in the console, because of which my scripts not loading and ends with plugin not working as expected