Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator
Creator

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
Highlighted
Not applicable

Hi Brian,

did you found solution for importing and exporting bookmarks?

Reagrds, Martin

Highlighted
Creator
Creator

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

Highlighted
Not applicable

I am also interested to export a single bookmark

Highlighted
Not applicable

Any ideas? I'm also interested...

Highlighted
Partner
Partner

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!

Highlighted
Contributor III
Contributor III

Hi Dan.

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


Thanks


Ladislav