If the documents that you want to load are on a different domain than your WebViewer files you'll need to enable CORS on your document server. This site contains more information about how to enable CORS on your server.
Here is an example configuration that works for Amazon S3:
If you're using Google Cloud Storage you can refer to Google's documentation on how to set up CORS on a bucket https://cloud.google.com/storage/docs/cross-origin. They describe a few different ways you can upload the CORS configuration to Cloud Storage.
The cors-json-file.json that you can use is:
If you need to support IE9 and your documents are on another domain then you'll need to use the XDomain library .
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales