So via SharePoint Designer:
<meta http-equiv="refresh" content="0;url=http://your-url-goes-here" />
That’s it. Onto the next one!
If you have SharePoint configued to use NTLM with Integrated Windows Authentication (IWA) then it can be tricky to come into your portal as someone other than yourself. There is a cool way to force SharePoint to present a login prompt to check your credentials again. This is very useful especially when you are trying to test with other accounts.
The trick is to append:
to your site collection URL. So if our URL was “http://yoursharepointsite” then the example would be:
Hope this helps, questions are welcome.
So for this example I have a SQL database that I am pulling into an external content type called OfficeLocations. From this external content type I have created a SharePoint list that is referencing it. The issue I ran into is that the GoogleMapLink text coming from SQL was in a NVARCHAR format (which was System.String on the external content type and Single line of text for the column) and you cannot modify those columns.
This left me with a list that had a link but it was not clickable:
Annoying right? So what do we do? Let’s mess with the XSL template of the item and see what happens…so I popped into SharePoint designer and created a view off of the SharePoint list and modified the XSL template of the GoogleMapLink column to use the string field as the href of the <a> tag and supplied my own text to give the link a more user friendly readable URL.
To the code (the bolded elements are the only additions I made):
<xsl:template name="FieldRef_Text_body.GoogleMapLink" ddwrt:dvt_mode="body" match ="FieldRef[@Name='GoogleMapLink']" mode="Text_body" ddwrt:ghost="hide">
<xsl:param name="thisNode" select="."/>
<xsl:variable name="currentValue" select="$thisNode/@*[name()=current()/@Name]" />
<xsl:value-of select="$thisNode/@*[name()=current()/@Name]" disable-output-escaping ="yes"/>
<strong> <xsl:attribute name="href"></strong>
This created clickable links titled “Link” on the list itself. You can see the results below:
Much cleaner, right? If you wanted the full link you could do that too. Hope that helps.