Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do I display a bookmark name in a text object ?


Hi Everybody,

I want to be able to display the name of the current bookmark selected in a text object. How do I code for this ?

Thanks in anticipation

Mo

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See this discussion: How can I get the name of the active bookmark?


talk is cheap, supply exceeds demand

View solution in original post

14 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See this discussion: How can I get the name of the active bookmark?


talk is cheap, supply exceeds demand
ashfaq_haseeb
Champion III
Champion III

Have a look at below post

http://community.qlik.com/message/604444#604444

Regards

ASHFAQ

Not applicable
Author

Hi Ashfaq,

I'm unable to download external files at my workplace. Do you have browser-displayed instructions I can follow to create whatever it is you've created in Bookmark Name.qvw ?

thanks

MV

ashfaq_haseeb
Champion III
Champion III

Hi,

Script

Directory;

Directory;

// Start of [test.txt] LOAD statements

Bookmark:

LOAD Id,

    Name,

    UtcModifyTime,

    UtcRecallTime,

    RecallCount,

    ApplyAdditive,

    ApplyLayoutState,

    ShowPopupInfo,

    ApplyInputFieldValues,

    IncludeSelectionState,

    IncludeScrollPosition,

    [Show/Always] as Always

FROM test.txt (XmlSimple, Table is [QVBookmarks/Bookmark]);

// End of [test.txt] LOAD statements

Macro:

Sub bm

ActiveDocument.ExportBookmarks "test.txt"

End Sub

Sub reload

ActiveDocument.Reload

End Sub

Frontend image

Have a look at image.

Regards

ASHFAQ

alex_millan
Creator III
Creator III

As Gysbert hinted before, I advise you to check this thread:

How can I get the name of the active bookmark?

Check the last comment (by Rob Wunderlich) and the link in it.

I think it may help you and there's no need to download any file. Hope that help you.

Best regards

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

This blog posting may help:

YA(H)Q Blog: January 2011

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

I have added a link that may help. It is waiting for moderator approval.

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Thanks for that but you'll have to excuse my ignorance here.

Do I have to create a test.txt file and enter my bookmark names ?

How do I create a QVBookmarks/Bookmark table ?

How do I create a macro ? (I've never done this before !)

Do I have to link the macro to an object ?

Help !!

MV

ashfaq_haseeb
Champion III
Champion III

Maureen Vickers wrote:

Do I have to create a test.txt file and enter my bookmark names ?

It will be created automatically when you create call macro.,


Q) How do I create a QVBookmarks/Bookmark table ?

A) After you call macro test file will be created and your application will be reloaded.

Then you need to create table box with ID and name.


Q) How do I create a macro ? (I've never done this before !)

A) have a look at attached image.


Q) Do I have to link the macro to an object ?

A) yes, you need to link it to a button. have a look at attached image