Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Try to use the Qlik Bookmark API
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
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.