Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Image & Link in listbox

Hi all,

I'm displaying the images in listbox , can we provide link like URL and open the link  when we click on any image in the listbox ?

Please let me know is it possible ?

Thanks in advance

Capture.PNG.png

9 Replies
bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

I think when you click on a value in the listbox you can only select the value.

To open a link you could use a button (changing the link in according to the selection)

qv_jagan
Partner - Creator
Partner - Creator

Hi Venkat,

Right click on Qlikview select "New Sheet Object" and then select "Text Object"

Select Background as Image and click the change button browse and select one image and press the open button

Go to Actions tab in the properties, click the Add button.

You will Add Action Dialog box, select external on the Action type (Left Side), then select Open URL in the Action (Right Side) and press OK button.

In the URL Dialog box type the URL, Press Apply and OK.

Follow the steps mentioned above for each picture and update the URL.

Once you select the image it will the launch the URL stored.

Regards,

Jagan. V

Not applicable
Author

Hi,

As per requirement i shouldn't use any other objects to open the link (i.e. When selecting any image in the listbox then particular link should open)

In my app contains the Fieldnames are "ImagesNames", "URL". Where ImageNames displays the images in listbox and URL contains the url path for each image.

I tried FieldEventTrigger for "ImageNames" field, provided trigger for "On Select" --> Open URL--> URL ,but i don't know why it is not opening the link. When i tried using the same approach in button it works fine.

Please can you assist me how can i work this on field selection.

Thanks in advance.

Not applicable
Author

Hi,

No it should be dynamic and based on data load the images will be fetched. We can't make to static it should be dynamic procedure.

Thanks in advance

Not applicable
Author

Can you post a sample app?

Not applicable
Author

Hi,

Please find the attached sample app and let me know if any concern.

Thanks in advance.

Not applicable
Author

Hi Venkat,

The Open URL action is not available as document and sheet trigger.

From Qlikview Help:

Open URL : Opens the URL in the default web browser. (not available as document and sheet trigger)

So, when yo are trying to give a field event trigger, it won't work.

You can use the option suggested by Jagan Vijayakumar and in that you can customize the transparency of text object to get the desired feel of list box.

Hope this helps!

EDIT : Or you can also use a button always.

Not applicable
Author

Hi,

John has posted the solution earlier which i was looking for. We can find in the below link

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

sub OpenURL

if ActiveDocument.Fields("Link").getSelectedValues.Count = 1 then

ActiveDocument.GetApplication.Launch ActiveDocument.Evaluate("URL"),""

ActiveDocument.Back 'Go back so we don't do the selection

end if

end sub

Not applicable
Author

Thanks Shyamal and to all for sharing your ideas on this post.

Regards,

Venkat