Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
what are steps to use Widgets in Mashups which is deployed in the external web server(Referring external as a independent web server for Mashups)
I am getting the json CORS error.
Not seeing any solutions or suggestions or documents for the same... Any suggestions...
Hi.CORS error is usually caused by referencing resouces on external server.
Could you check you extension to see if it is linked to..for example CSS or image on qlik server?
You can either try to use requirejs to load them.
Or turn off CORS checking on your browser.(Easier but not scalable)
Thanks for your response.
(a) Mashups are hosted in server A(IIS server for Mashups).
(b) It is referencing the Qlik sense server for widgets,QVF, extensions.
If your question is the widgets/extensions are using any external files in the web. Answer is no.
We cannot change the browser setting.
Ah I see. For your server A, Qlik sense server is an external server. Therefore referencing anything on Qlik sense server will cause CORS error.
You can try registerExtension method to create the object on the fly. https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/Mashups/Content/Howtos/create-extension-o.... Just an alternative solution.
Thanks Wuzhong. Do we have any reference how to register widgets.
This link is for register widgets
You could also include CORS header if the server allows
HTTP access control (CORS) - HTTP | MDN