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: 
millnet-maho
Partner - Contributor III
Partner - Contributor III

Weird behaviour replacing and applying server bookmarks with trigger actions

We have a document with multiple sheets. One sheet has a pair OnActivateSheet/OnLeaveSheet of triggers that is used to separate the selections made on that sheet from those made on the other sheets. In detail:

  • onActivateSheet: Replace Bookmark (ID: 20000); Apply Bookmark (ID: 10000)
  • onLeaveSheet:: Replace Bookmark (ID: 10000); Apply Bookmark (ID: 20000)

When the document is "opened in server", the following happens :

  1. On switching to sheet with the attached triggers, a bookmark with ID 20000 is created OK. Choosing that bookmark from the Bookmarks menu yields the expected result. It appears in the Bookmarks dialog box as a personal server bookmark.
  2. On switching to a different sheet, a bookmark with ID 10000 is created as expected, but bookmark 20000 disappears and the selections are lost. It looks like bookmark 20000 disappears when bookmark 10000 is created.
  3. If one looks on the Collaboration Objects tab in the QEMC, the bookmarks are not listed as bookmarks but as SheetObjects of subtype "unknown".
  4. If one give the bookmarks names they no longer disappear, but instead of being replaced, new bookmarks appear with standad IDs (BM1, BM2 etc.).and the same names.

What gives? This is QlikView 9.0 SR5 on Windows Server 2003.

3 Replies
Not applicable

Did you ever find answer to this question? I am having the same problem with document bookmarks. They work fine on local machine and not on Internet Explorer.

Not applicable

Hi,

When using developer tool, it is ok to refer to bookmark id=10000 .

But when there are N _concurrent_ users (same document, in same server, at the same time), should all use id=10000 ? They would be over-writing each other's bookmarks .

You could try a "temporary bookmark" for each session, ex "10000 + random()" . This is little bit safer, but still not bullet proof if there are enough concurrent users.

-Alex

millnet-maho
Partner - Contributor III
Partner - Contributor III
Author

The problem exists even if only one person uses the document. It's unfortunate that it's not possible to specify the scope of bookmarks created by triggers. Might have to use macros?