Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP
cancel
Showing results for 
Search instead for 
Did you mean: 
sarfaraz_sheikh
Contributor III
Contributor III

Create Bookmark in Qliksense app using Mashup

Hello Folks 

I want to create bookmark in Qliksense app through mashup and for achieving this i have written below code in Java Script and HTML. 

This code is working properly but bookmark is creating in browser only not in Qliksense app through mashup . I want it to be created directly in Qliksense app so that in future if user wants to see there desired selection then they would able to do it.

Can anyone please help me how to create the bookmark in Qliksense app through mashup permanatly same like as we are creating in Qliksense app. Help would be much appreciated. 

 

HTML Code: 

<h3>
Add Bookmark

<HTML>

<body>


</h3>
<label for="bmName"> Bookmark Name </label>
<input id="bmName" type="text">

<label for="bmDesc"> Bookmark Description </label>
<textarea id="bmDesc" type="text" rows="5" cols="40"> </textarea>

<button id="but1" type="button">
Create Bookmark
</button>

</body>

</html>

 

Java Script Code:

$('#but1').on('click',
function()
{

$('#bmTBody').empty();
app2.bookmark.create(document.getElementById("bmName").value, document.getElementById("bmDesc").value);

}
);

 

Cheers 

Sarfaraz

 

 

3 Replies
sarfaraz_sheikh
Contributor III
Contributor III
Author

Thanks ves for your reply. 

I have already used below API for creating bookmark . But it is creating in browser for temporary purpose and not in Qliksense app.

app.bookmark.create(Title,Description)

What i want is if I create Bookmark on mashup page then that bookmark should get reflect in Qliksense app. 

Can we achieve this ?

 

Cheers

Sarfaraz

 

 

 

jitu2110
Creator
Creator

Hi all, I have written below code to create a bookmark in Published Qliksens Application, but some time Bookmark saved in publised Application and some time not please let me know what wrong i am doing , because its is published App we can not do DoSave() of the Qliksense Dcoument.

var MyApp_bookmark = qlik.openApp(globalaccess_app_id,config);

MyApp_bookmark.bookmark.create('MyBookmark' , 'Mybookmark Desc', ' '); // i am not providing SheetID because it is on mashup page.