Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I tried to create graph in my existing app : is there a simple way to do that ?
I make some tests:
<script src="https:/hostname/resources/assets/external/requirejs/require.js"></script>
constructor( ) { const config: {} = { host: 'domain', prefix: '/prefix/', port: '80', isSecure: window.location.protocol === 'https:', }; try { window['require'].config( { baseUrl: 'path', } ); } catch (error) { window['require'].config( { baseUrl: 'path', } ); } window['require']( ['js/qlik'], (qlik: {}) => { const app: {} = qlik['openApp']('d09415d9-bc23-4910-8385-9aa00110dc84', config); } ); }
In need to use try catch to avoid conflict from js scripts... I works, I have my app openned. But why must I do that ?