Discussion Board for collaboration related to QlikView App Development.
Hi,
Is it possible to store bookmark name in variable?
- The think is i had a BookMarkObject by using bookmark object i can able to select book mark names. When i select any bookmark name i want to store in one variable.
Is it really possible to do it? Just i need answer otherwise if it is possible how can i overcome this.
Hi,
Yes, you can hold the bookmark name in the variable. You can use the Apply Bookmark event and call the variable to apply the bookmark. For example, here my variable name is vBookMark. And you can call the contents of the variable by using "=vBookMark" in Apply Bookmark event.
Hope this helps!
Cheers - DV
Dv,
I tried what you said but it is not working for me. Let explain me what i did in my qvw file.
- I created one variable vBM and in triggers -> Variable Event Triggers -> vBM.
- OnInput Action i taken ApplyBookMark and given BookmarkID= BM02.
BM02 is objectID of BookMark Object.
- I don't know where i went wrong if i understood what you said to me.
Can you help me some more to get the solution.
Hi Again,
Sorry, I guess I haven't understood fully. Let me make sure on what you wanted... In your example you have already created a bookmark with ID = BM02. And whenever the user makes the selection by using the BM02 Bookmark you wanted to store "BM02" text in the variable (vBM) in our case. Is this right?
Also please can you post your example and I can try with your QV document?
Many thanks - DV
Dv,
I'm attaching my qvw file. But i don't have full version if you attach updated qvw file.
D V,
Can you please respond to my post.
Hello Jaq,
try this in your textbox:
='$(vBookVar)' & ' and ' & '$(vBookMarkName)'
&' Here i want to see bookmark name when '
RR
Hi Jaq,
Caught with solving my client's issue. I'll get back to you ASAP. Thanks for sharing the QV document.
Cheers - DV
Hello Jacq,
Please see the attachment and let me know if this helps...
This is not the straightforward approach but I can't find much help on bookmarks class from the API guide.
Good luck!
Cheers - DV
Hello Jacq,
Have you got chance to look at this solution?
Cheers - DV