Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
bhelms
Contributor

Export and Import Bookmark

Can anyone tell me how to export and import a bookmark in VB? Since it doesn't appear to be possible to create a shared server bookmark in the API, I am wondering if it is possible to create a bookmark in VB, save it to a file, and re-import it on another PC?

6 Replies
Not applicable

Export and Import Bookmark

Hi Brian,

did you found solution for importing and exporting bookmarks?

Reagrds, Martin

bhelms
Contributor

Export and Import Bookmark

No, I never was able to get this figured out.

Not applicable

Export and Import Bookmark

I am also interested to export a single bookmark

Not applicable

Export and Import Bookmark

Any ideas? I'm also interested...

Partner
Partner

Re: Export and Import Bookmark

I have a solution for this, maybe it does what you need?

In the published end-user app we create hidden shared server BM:s using the API.

This way they don't show up in the bookmarks toolbar.

ActiveDocument.CreateDocBookmark (the function name is rather confusing)

Then we export the shared server BM:s to QVB-files.

This we do by, via macro, opening each published app via "Open in server" and thus exporting the BM:s.

SET MyMasterDoc = App.OpenDocEx

MyMasterDoc.ExportBookmarks

Then after exporting them to QVB-files (we export them to .xml-files because in fact they are xml) we clear all document bookmarks, then re-import them as hidden document bookmarks:

MyEndUserDoc.ClearDocBookmarks

MyEndUserDoc.ImportBookmarks

Hope this was helpful to you.

Cheers!

admin1
New Contributor III

Re: Export and Import Bookmark

Hi Dan.

ActiveDocument.CreateDocBookmark works fine for export. Can tell me the code for importing bookmarks please?


Thanks


Ladislav