Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How to read the value of a new field?

  Asked By: Jackson    Date: Apr 14    Category: Sharepoint    Views: 672

I am in the process of evaluating SPS for use in our
company.
I added a field to the Quick Links document profile. I
want to use the value of the field to determine if a
link should open in a new window. The field is called
Target. How do I read the value of Target in the XSL
document?

Here's what I added to the XSL code:

<xsl:attribute name="target">
<xsl:value-of
select="dav:propstat/dav:prop/office:Target"/>
</xsl:attribute>

I added this in two places after each of the href
attributes. Other variations of it didn't work either.
If I replace the value-of line with "new", then
everything works fine, but all the links will open in
a new window. I'd like to make the determination based
on the value of Target.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on How to read the value of a new field? Or get search suggestion and latest updates.




Tagged: