Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint 2013 High Trust Provider Hosted App Navigation

$
0
0

Hi,

So I am having some difficulties to find the correct way to get my hyperlinks working properly in my HT App. When I run the app from SharePoint, the appredirect.aspx add some parameters in the URL:

https://DOMAIN/Pages/Default.aspx?SPHostUrl=DOMAIN%2Eapp&SPLanguage=en%2DUS&SPClientTag=0&SPProductNumber=15%2E0%2E4569%2E1000

When I click on a hyperlink, it opens the new page but I get an error:



And then when I add the parameters manually, the page loads properly:


My question is, how do I get each hyperlinks to add the parameters? Is it the correct way?

<a runat="server" href="~/SLO/SLOFiles.aspx">Officer</a>

I am using a simple anchor tag for the navigation

Thank you in advance



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>