Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
bhelms
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
Not applicable

Hi Brian,

did you found solution for importing and exporting bookmarks?

Reagrds, Martin

bhelms
Creator
Creator
Author

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

Not applicable

I am also interested to export a single bookmark

Not applicable

Any ideas? I'm also interested...

magavi_framsteg
Partner - Creator III
Partner - Creator III

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!

Anonymous
Not applicable

Hi Dan.

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


Thanks


Ladislav