Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good Morning.
Receive a cordial greeting, my name is Jason, I have the following code in a mashup of require js, when I am going to call the objects in the mashup by means of an id, it brings me the default colors of the theme, please can you give an example of how I can change the theme, since the call or the connection with the app I am doing through:
app.getObject('CurrentSelections','CurrentSelections');
var prefix = window.location.pathname.substr( 0, window.location.pathname.toLowerCase().lastIndexOf( "/extensions" ) + 1 );
var config = {
host: window.location.hostname,
prefix: prefix,
port: window.location.port,
isSecure: window.location.protocol === "https:"
};
require.config( {
baseUrl: ( config.isSecure ? "https://" : "http://" ) + config.host + (config.port ? ":" + config.port : "") + config.prefix + "resources"
} );
require( ["js/qlik"], function ( qlik ) {
qlik.on( "error", function ( error ) {
$( '#popupText' ).append( error.message + "<br>" );
$( '#popup' ).fadeIn( 1000 );
} );
$( "#closePopup" ).click( function () {
$( '#popup' ).hide();
} );
var app = qlik.openApp('7d677c5d-b978-4b41-b11c-7f3157fda5d9', config);
app.getObject('CurrentSelections','CurrentSelections');
app.getObject('QV01','e4226860-79d4-4e39-88d1-b797aa5b6633');
thanks
Hi,
You can use this :
qlik.theme.apply('high-contrast-theme');
Regards,