Navigation to external URL

Hello Community.


I have a very strange behaviour in one of my apps.


I created a page just to redirect to an external page.

I tested in Quality enviroment and everything was fine.

When i deployed in Prodution it didnt' go so well.

Instead of going to the URL i provided it did this


Http:\\Systems.sumething.erz.local\URL


It always kept my domains i am (Http:\\Systems.sumething.erz.local) instead of going straight to my URL Ie (www.google.com).


Might be sumething with the loadbalancer?


Best Regards

Hi Nuno,

Are you using full URL, including the protocol? Without the protocol I think it will assume it is a relative path...

Cheers.

Hi Nuno,


Try to wrap your url in something like this: 

If(Index(Url, "http://") = -1, "http://" + Url, Url)


I tryed with both.

Just a curiosity.

The External URL is where? In the screen or in a Server Action?
Also, how is your ExternalURL element it automatically assign the URL of the app?

Cheers.

Roman Tkachenko wrote:

Hi Nuno,


Try to wrap your url in something like this: 

If(Index(Url, "http://") = -1, "http://" + Url, Url)



It didn't work =/ keeps adding the domain.  The load balancer keeps adding the URL to the domain.

Well.

I can't see any reason to the platform to add the URL as if the destination was a relative (if you don't have it automatically add in the ExternalURL or is using the protocol). 

You will have to check with the Infrastructure team if they have any rule add to the LB.

Cheers.

Just to give feedback.


I've managed to do it this way. I've created a webscreen just to create a user session and then redirect it to a second webscreen where i use a site property  with the URL and concatenate with the UserID from the previous WSreen. After this i add in the ExternalURL and that's that. It Worked, but i think this is a plattaform issue to be honest.

Because i was going from a P9 app to a P10 app i had to create a new session for the users.


Very Strange Behaviour indeed...

Nuno Raposo wrote:

Very Strange Behaviour indeed...

Well, for sure it is :)