Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all,
I'm looking for a way to have QV ignore its OnOpen trigger routine when the document is opened via a bookmark link. Most of our documents have OnOpen triggers that involve Clear All (in case the developer left any selections by accident) and then a selection of a time value (yesterday, current month, etc). Unfortunately, these triggers seem to override any bookmarks that should be activated when the user accesses the document through a link - e.g.
qvp://MyQVServer/MyModel.qvw?bookmark=Server\BM01
Assuming this is intended behavior rather than a bug, is there any way around it?
Specs: QV9 SR2 64 Bit Server 32 Bit clients
TIA,
Or
Were you ever able to resolve this?
If you are open to use macros the below may work running on document open instead of clearall
set bm = ActiveDocument.GetBookmark("BM01")
if bm.Default = true then
if bm.Bookmark.ApplyLayoutState = false
ActiveDocument.ClearAll false
end if
end if
Kiran.
In my scenario, I don't know what the bookmark would be -- each user (restricted) would create a bookmark. Is there a way to determine that any bookmark is attempting to be applied?