Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
_jespers_
Partner - Creator II
Partner - Creator II

Missing owner property of newly created bookmark

I have an issue that the owner property is missing from a newly created bookmark. 

If I look in the bookmark properties for an already existing bookmark, this is what I can see under the qMeta-section:

Bild1.png

Here we can see the owner of that bookmark.

If I then create a bookmark in the application and then look up that specific bookmarks properties, this is what I can see under the qMeta-section:

Bild2.png

And as can be seen in the picture above is that there are several properties missing under the qMeta-section, and owner is one of them.

These properties will only start to be available when I close the browser, reopen the app when a new session is being set.

Why is that? Is there a way I can get these properties?

Labels (2)
1 Reply
_jespers_
Partner - Creator II
Partner - Creator II
Author

So for anyone else having the same problem.

I've found a workaround for this problem. I still don't know why owner is not being set when creating a bookmark in a published app. But one way to set the owner is to first publish the bookmark and then unpublish the bookmark.

 

qix.app.getBookmark(id).then(function(bookmark){
    bookmark.publish().then(function(result){
        bookmark.unPublish();
    });
});