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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
lakshmanvepuri
Creator
Creator

Condition in Open URL not Working

Hi Gurus, 

 

Need your advice in the below. Please help.

For the Button:  --> in the Actions : --- >  Open URL :::

 

Scenario:

1. Hostname1/IP Address1  belongs to Australia

2. Hostname2/IP Address2 belongs to Malaysia.

Its not possible to Judge based on the OSUser().... Its only possible through Hostname/IPAddress

If User from Australia Clicks the button --- URL should open as : http://Hostname1.com/QvAJAXZfc/AccessPoint.aspx?open=&DashboardName.qvw&lang=en-US&client=Plugin

If User from Malaysia Clicks the button --- URL should Open as :  http://Hostname2.com/QvAJAXZfc/AccessPoint.aspx?open=&DashboardName.qvw&lang=en-US&client=Plugin

How can we achieve this..?

 

Thanks

Vepuri

 

Labels (1)
1 Solution

Accepted Solutions
Brett_Bleess
Former Employee
Former Employee

What is the logic you put into the expression for the Button Action, you would need to have that in order for things to work, but trying to code this to users is going to be a bit difficult, and I do not know if a security group would work or not in this case.   The only other way I see to do this would be via having the user linked to the Country in the data model such that you could then use the Country as it seems you are to try to direct things, but I think the following paragraph is likely the better approach on this one...

I would think the better option would be to have a network load balancer device doing this check and routing to the correct AccessPoint depending upon from where the user is coming, my two cents for what they are worth, not sure the button and action is the best way to go on this.  If you have an NLB or other intelligent front-end device on the web server, it should be able to do things for you I believe, would check with your network team to see if they have any ideas, as I suspect they will.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.

View solution in original post

1 Reply
Brett_Bleess
Former Employee
Former Employee

What is the logic you put into the expression for the Button Action, you would need to have that in order for things to work, but trying to code this to users is going to be a bit difficult, and I do not know if a security group would work or not in this case.   The only other way I see to do this would be via having the user linked to the Country in the data model such that you could then use the Country as it seems you are to try to direct things, but I think the following paragraph is likely the better approach on this one...

I would think the better option would be to have a network load balancer device doing this check and routing to the correct AccessPoint depending upon from where the user is coming, my two cents for what they are worth, not sure the button and action is the best way to go on this.  If you have an NLB or other intelligent front-end device on the web server, it should be able to do things for you I believe, would check with your network team to see if they have any ideas, as I suspect they will.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.