Internal / relative url not working in html

M_iA
Kilo Sage

Hi, I have a portal widget that I am using. In the HTML, I have a URL to direct a user from the /sp portal to our /it portal.

 

The HTML is:

 

 

      <div  class="text-center h4 m-b-lg sp-tagline-color"> If you require internal IT support, please use the <a class="tag-link" href='/it'>IT portal</a>

 

 

However, since upgrading to Utah, this no longer works as expecting when clicking on the hyperlink on the portal.

You can see that URL in the address bar changes, but the page doesnt refresh and load.

You can CTRL and left click and it will load the page, just not in current window.

 

Does anyone have any suggestions?

4 REPLIES 4

Upsilon
Giga Guru

Hi, 

Try with ng-href rather than href

     <div  class="text-center h4 m-b-lg sp-tagline-color"> If you require internal IT support, please use the <a class="tag-link" ng-href='/sp'>IT portal</a>
       
       
</div>

 

Regards

@Upsilon- unfortunately, this has the same affect and im seeing the same behaviour

M_iA
Kilo Sage

Ive managed to rectify the widget by forcing to open in _self:

<div  class="text-center h4 m-b-lg sp-tagline-color"> If you require internal IT support, please use the <a class="tag-link" href="/it" target="_self">IT portal</a>

But ive now noticed that we also have the links in the header menu and these dont work and experiencing the same issue.

As they are menu items, I cant use the attribute?

Obviously something has changed in the portal in the utah release??

jennysmith
Giga Contributor

HI -- Did you have to make any additional updates to make routes / urls / uri's work in Utah?

We are also investigating to see what might have changed in Utah release that impacted a route within our scoped application... a route that used to work doesn't "stick"
EX: .../our_scoped_app/our_route gets immediately automatically re-routed to .../our_scoped_app