Webviewer Calc Page Not Working, But loading from HTML Page Work

Discussion created by laudmusic on Jul 28, 2017
Latest reply on Aug 2, 2017 by TSGal

I have posted the in a discussion.


Webviewer HTML calculation not working


I have it working mostly now, but there is still one part that is still getting an error (enabled the use of Inspect Element in web viewer):


Origin null is not allowed by Access-Control-Allow-Origin.

Failed to load resource: Origin null is not allowed by Access-Control -Allow-Orig in.
XMLHttpRequest cannot load http:/Jlocalhost :8888/a due to access control checks.


I can load the exact code from a html page (load URL) and it works perfectly.


When I reference the exact code from a field and or put it in the webviewer calculation (converted " to \") I get the errors.


There seems to be a restriction in the web viewer when using calculations.


Help would be appreciated.