<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Qlik Sense - Default App Bookmark in Mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1575649#M10445</link>
    <description>&lt;P&gt;Hi Beverly,&lt;/P&gt;&lt;P&gt;Sorry for the delay, my account was de-activated by mistake. You should be able to create the bookmark in the app then use&amp;nbsp;&lt;/P&gt;&lt;P&gt;app.bookmark.apply(BookmarkId).&lt;/P&gt;&lt;P&gt;This works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2019 20:38:14 GMT</pubDate>
    <dc:creator>rbartley</dc:creator>
    <dc:date>2019-05-01T20:38:14Z</dc:date>
    <item>
      <title>Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1544253#M10021</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a bookmark in my app and set this&amp;nbsp; as the app default, so that it is applied when opening the app.&amp;nbsp; This works fine on the Qlik Sense server, but it is not applied when migrating the app to my QAP server and using it in a mashup, even though I can see that the bookmark has been migrated (by looking in the single configurator in the dev hub).&amp;nbsp; Could someone from Qlik please confirm this?&lt;/P&gt;&lt;P&gt;In the meantime, I have used the applyBookmark method.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 11:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1544253#M10021</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-02-14T11:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1561317#M10238</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;I am also having the same problem.&lt;/P&gt;&lt;P&gt;Could you advise how you applied the applyBookmark method please?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31941"&gt;@Patrik_Lundblad&lt;/a&gt;&amp;nbsp;Are you able to shed some light on this please?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 12:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1561317#M10238</guid>
      <dc:creator>beverleyosaze</dc:creator>
      <dc:date>2019-03-26T12:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1562748#M10249</link>
      <description>&lt;P&gt;Hi Bev,&lt;/P&gt;
&lt;P&gt;The bookmark is applied by the client when the app is opened. Not by the engine or the app itself. Therefore this feature is only available when using the app within the Qlik Sense Client.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm no expert at the API, but examples on how to use the bookmark api is available at:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/February2019/Subsystems/EngineAPI/Content/Sense_EngineAPI/DiscoveringAndAnalysing/Bookmarks/create-and-apply-bookmark.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/February2019/Subsystems/EngineAPI/Content/Sense_EngineAPI/DiscoveringAndAnalysing/Bookmarks/create-and-apply-bookmark.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Patrik.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 07:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1562748#M10249</guid>
      <dc:creator>Patrik_Lundblad</dc:creator>
      <dc:date>2019-03-29T07:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1575649#M10445</link>
      <description>&lt;P&gt;Hi Beverly,&lt;/P&gt;&lt;P&gt;Sorry for the delay, my account was de-activated by mistake. You should be able to create the bookmark in the app then use&amp;nbsp;&lt;/P&gt;&lt;P&gt;app.bookmark.apply(BookmarkId).&lt;/P&gt;&lt;P&gt;This works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 20:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1575649#M10445</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-05-01T20:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1635760#M11575</link>
      <description>&lt;P&gt;Hi could you please give an example for this ?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 06:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1635760#M11575</guid>
      <dc:creator>garvit96</dc:creator>
      <dc:date>2019-10-16T06:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1635822#M11577</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The easiest way to show this is to create a new mashup in the dev-hub, choose Grid layout, choose an app from the drop-down list that has a bookmark in it, drag a visualization from the left-hand side and then go to the .js page and add&amp;nbsp;app.bookmark.apply(&amp;lt;bookmark id here&amp;gt;) to the code that was automatically created.&lt;/P&gt;&lt;P&gt;Here's a snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/*global require*/
/*
 * Bootstrap-based responsive mashup
 * @owner Erik Wetterberg (ewg)
 */
/*
 *    Fill in host and port for Qlik engine
 */
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:"
};
//to avoid errors in workbench: you can remove this when you have added an app
var app;
require.config( {
	baseUrl: (config.isSecure ? "https://" : "http://" ) + config.host + (config.port ? ":" + config.port : "" ) + config.prefix + "resources"
} );

require( ["js/qlik"], function ( qlik ) {

	$("#closeerr").on('click',function(){
		$("#errmsg").html("").parent().hide();
	});
	qlik.setOnError( function ( error ) {
		$("#errmsg").append("&amp;lt;div&amp;gt;"+error.message+"&amp;lt;/div&amp;gt;").parent().show();
	} );

	//
	function AppUi ( app ) {
		var me = this;
		this.app = app;
		app.global.isPersonalMode( function ( reply ) {
			me.isPersonalMode = reply.qReturn;
		} );
		app.getAppLayout( function ( layout ) {
			$( "#title" ).html( layout.qTitle );
			$( "#title" ).attr("title", "Last reload:" + layout.qLastReloadTime.replace( /T/, ' ' ).replace( /Z/, ' ' ) );
			//TODO: bootstrap tooltip ??
		} );
		app.getList( 'SelectionObject', function ( reply ) {
			$( "[data-qcmd='back']" ).parent().toggleClass( 'disabled', reply.qSelectionObject.qBackCount &amp;lt; 1 );
			$( "[data-qcmd='forward']" ).parent().toggleClass( 'disabled', reply.qSelectionObject.qForwardCount &amp;lt; 1 );
		} );
		app.getList( "BookmarkList", function ( reply ) {
			var str = "";
			reply.qBookmarkList.qItems.forEach( function ( value ) {
				if ( value.qData.title ) {
					str += '&amp;lt;li&amp;gt;&amp;lt;a href="#" data-id="' + value.qInfo.qId + '"&amp;gt;' + value.qData.title + '&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;';
				}
			} );
			str += '&amp;lt;li&amp;gt;&amp;lt;a href="#" data-cmd="create"&amp;gt;Create&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;';
			$( '#qbmlist' ).html( str ).find( 'a' ).on( 'click', function () {
				var id = $( this ).data( 'id' );
				if ( id ) {
					app.bookmark.apply( id );
				} else {
					var cmd = $( this ).data( 'cmd' );
					if ( cmd === "create" ) {
						$('#createBmModal' ).modal();
					}
				}
			} );
		} );
		
	/***** THIS IS WHERE I INSERTED THE CALL TO ADD THE BOOKMARK *****************/	
		app.bookmark.apply('dabca368-8c46-4251-9726-0b60a0145f87');
		
		
		$( "[data-qcmd]" ).on( 'click', function () {
			var $element = $( this );
			switch ( $element.data( 'qcmd' ) ) {
				//app level commands
				case 'clearAll':
					app.clearAll();
					break;
				case 'back':
					app.back();
					break;
				case 'forward':
					app.forward();
					break;
				case 'lockAll':
					app.lockAll();
					break;
				case 'unlockAll':
					app.unlockAll();
					break;
				case 'createBm':
					var title = $("#bmtitle" ).val(), desc = $("#bmdesc" ).val();
					app.bookmark.create( title, desc );
					$('#createBmModal' ).modal('hide');
					break;
				case 'reload':
					if ( me.isPersonalMode ) {
						app.doReload().then( function () {
							app.doSave();
						} );
					} else {
						qlik.callRepository( '/qrs/app/' + app.id + '/reload', 'POST' ).success( function ( reply ) {
							//TODO:handle errors, remove alert
							alert( "App reloaded" );
						} );
					}
					break;
			}
		} );
	}
	//callbacks -- inserted here --
	//open apps -- inserted here --
	var app = qlik.openApp('1d0af2d7-a6df-422e-ae83-0249232759a6', config);


	//get objects -- inserted here --
	app.getObject('QV02','bbb31edd-f836-4bb1-a826-7a230d14f760');
	//create cubes and lists -- inserted here --
	if(app) {
		new AppUi( app );
	}

} );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 07:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1635822#M11577</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-10-16T07:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1635998#M11588</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1635998#M11588</guid>
      <dc:creator>garvit96</dc:creator>
      <dc:date>2019-10-16T11:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1636094#M11592</link>
      <description>&lt;P&gt;That's ok.&amp;nbsp; If it works for you, please use "Accept as a solution" so that others that come across this post will know it worked.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/1636094#M11592</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-10-16T13:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Default App Bookmark in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/2511209#M21944</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;What if we want to bypass any selection on mashup page to the dashboard, is this possible.&lt;BR /&gt;For example - I am selecting anything on mashup page on the other had I have opened the same app which should make applied with the same changes made in mashup.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 08:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Default-App-Bookmark-in-Mashup/m-p/2511209#M21944</guid>
      <dc:creator>Tool_Tip</dc:creator>
      <dc:date>2025-03-24T08:47:57Z</dc:date>
    </item>
  </channel>
</rss>

