Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Is there any way we can get a Server Bookmark name if we know the ID (on AJAX client)?
Do we have any function available which can be used?
I want to build a table with a list of user bookmarks on Server and a count metric for each bookmark.
Any ideas?
Regards,
Diwakar
Was able to achieve this using Power Tools by reading the .Shared file..
Regards,
Diwakar
Was able to achieve this using Power Tools by reading the .Shared file..
Regards,
Diwakar
As i know reading macros are not allowed on AJAX, am i wrong? Could u post your macro plz.
I have created a continuous partial reload to load the Bookmark information extracted from .Shared into the Qlikview app. No macros used.
Let me know if you think there could be a better approach of achieving this.
Regards,
Diwakar
As i know u can't launch partial reaload in AJAX client, can u plz comment, how did u do that?
In ur case u can use this macro, if u have ur given array of bookmark ID:
sub run2
bookmarks = ActiveDocument.GetDocBookmarkNames
dim BM
for i = lbound(bookmarks) to ubound(bookmarks)
if(i=0) then
BM="'"&bookmarks(i)&"'"
else
BM=BM&",'"&bookmarks(i)&"'"
end if
next
set v = ActiveDocument.GetVariable("vBMName")
v.SetContent BM,true
end sub
P.S. My goal is opposite, i need to get bookmark id by bookmark name
I did the recurring partial reload from a batch script behind the scenes. So, no role for AJAX client.
The command line allows you to do partial reload as well using "-Rp".
Regards,
Diwakar