Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
My requirement is -
I used the Macro - ActiveDocument.RecallUserBookmark "Bookmark_*".
But in the Access Point/ Ajax mode of browsers, it never works. Please suggest some alternatives.
Hi Dickey,
You can use the "Actions" available on button.
There are Actions available to apply the bookmarks.
https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Button2.htm
Regards,
Kaushik Solanki
Thanks.
I am using the Button extensively too.
Using the Macro code in the Action of the button. The thing here is that the piece of Macro code doesn't work in AJAX and is not applying the User Created Bookmark.
Are there any other possible ways to select/apply the User Bookmark. other from the regular bookmark object?
Hi dmohanty
Just a question, why are you using macro when same functionality is available in built using the Actions?
Macros will not work on accesspoint.
Regards,
Kaushik Solanki
You are right. Some macros work and some don't.
To answer your question - the 'Apply Bookmark' action asks for Bookmark ID to enter. I am not sure how to retrieve the Bookmark ID for the User Created bookmark, as it can be dynamic every time. (Guide me if I can get the exact/syntax for the Bookmark ID, so that I can use.)
Just the user will create a Bookmark in the format 'Bookmark_*' and instead of the applying from Regular bookmark object, User has to click the Button, to get that selected/applied.
Hi,
I will try something and get back too you.
Regards,
Kaushik Solanki
Thank you for response.
Meanwhile, I was using below two JScript and VBScript - neither of them worked on Browsers.
function ApplyBookmark()
{
var doc = ActiveDocument;
obj = doc.RecallUserBookmark('Default_*');
};
Sub ApplyBookmark
ActiveDocument.RecallUserBookmark "Default_*"
End Sub
Any luck on this or any possible ideas you got?
I was able to retrieve the Shared File data using Power Tools and loading in the Data Model.
But one main challenge is - I have Input Fields (User Input values) in the Bookmarks too and those are reset every time the Script is reloaded.
So not able to retrieve those User Input Values back again in Data Model, though rest of bookmarked fields in the model are available.
Only the original Bookmark Object has the ability to save and reapply the Input Field values. So was much interested to retrieve the original Bookmark from any Button Actions. (Not getting any other better ideas though)
Regards!