Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nihhalmca
Specialist II
Specialist II

Pass Variable value into URL

Hi All,

I am implementing URL in qlik sense app it has to open web page whenever user clicks.

For example: https:\\addresss\user name\@@@@@\

I created variable like vUserName = OsUser(), so i can get it username here.

In this case web page will open based on user names.

Challenge is, passing user name (who accessed application) into URL in application.

This way will work in Qlik like     

'https:\\address\'&vUserName&'\@@@@@\'

If i use this as URL, it will not work due to single quotation.

How could i pass username (vUserName) into URL.

Could you please assist on this.

Thanks,

Nihhal.

5 Replies
Anil_Babu_Samineni

Seems, The URL is not good, I've tested my URL with the extension it's working. Can you check same. I've created widget for that in Qliksense

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
nihhalmca
Specialist II
Specialist II
Author

Hi Anil babu,

Can you share your file please.

Anil_Babu_Samineni

Sorry, I can't share that

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
nihhalmca
Specialist II
Specialist II
Author

Hi Anil,

Just code for widget, is it possible.

Anil_Babu_Samineni

Why not, Here you go and then you need to concatenate QVUSER() over there

<a href="http://1.1.1.0/qlikview/anil.htm" target="_blank">Context</a>

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful