Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
Hi Brian,
did you found solution for importing and exporting bookmarks?
Reagrds, Martin
No, I never was able to get this figured out.
I am also interested to export a single bookmark
Any ideas? I'm also interested...
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!
Hi Dan.
ActiveDocument.CreateDocBookmark works fine for export. Can tell me the code for importing bookmarks please?
Thanks
Ladislav