sharepoint2013
asked on
SharePoint XSL Editor
Hi experts!
I have a XSL tag and I added a parameter behind the URL.
I did so and there is an error.
<xsl:when test="@ContentType='Proces s'">
<a href="http://k1.zone1.company.net/sites/sg/k1_sg/Pro/Forms/DispForm.aspx?ID={@ID}&Source=http://k1.zone1.company.net/sites/sg/k1_sg/Pro/Forms/AllItems.aspx">
<xsl:value-of select="@FileLeafRef"/>
</a>
</xsl:when>
I added - &Source=http://k1.zone1.company.net/sites/sg/k1_sg/Pro/Forms/AllItems.aspx
Please advise.
I have a XSL tag and I added a parameter behind the URL.
I did so and there is an error.
<xsl:when test="@ContentType='Proces
<a href="http://k1.zone1.company.net/sites/sg/k1_sg/Pro/Forms/DispForm.aspx?ID={@ID}&Source=http://k1.zone1.company.net/sites/sg/k1_sg/Pro/Forms/AllItems.aspx">
<xsl:value-of select="@FileLeafRef"/>
</a>
</xsl:when>
I added - &Source=http://k1.zone1.company.net/sites/sg/k1_sg/Pro/Forms/AllItems.aspx
Please advise.
ASKER
What I'm saying is, I need to add this source and also need to ensure it is the max size window opened in new.
So it's
&Source=http://k1.zone1.company.net/sites/sg/k1_sg/Pro/Forms/AllItems.aspx"
is this correct?
So it's
&Source=http://k1.zone1.company.net/sites/sg/k1_sg/Pro/Forms/AllItems.aspx"
is this correct?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you have verified that the URL works when you manually type it in, then it is probably the & sign in the address that's the problem. Try replacing the & sign with the text
&
The & sign has special meaning in the XSL and introduces a special character, like
-- non breaking space
" -- a double quote
< -- the lesser than sign <
& -- the ampersand sign.
cheers, teylyn