| แฟ้มประวัติPaul Galvin's SharePoint...บล็อกรายการSkyDrive | วิธีใช้ |
|
21 ธันวาคม Quick Tip: Content Query Web Part, Lookup Column Value and XSLI have a column name in a content type named "Real Estate Location". That column is of type "lookup". I have modified <CommonViewFields> and ItemStyle.xsl to show the column. A simple <xsl:value-of select=...> returns back an internal value that includes ordinal position data, such as:
To get the human-friendly value, use xsl substring-after, as shown:
Use this technique whenever you are working with lookup values in XSL transforms and need to get the human-friendly value. <end/> ข้อคิดเห็น (3)
Paul Galvin
ปิดข้อคิดเห็นในเพจนี้
การติดตามข้อมูลURL การติดตามข้อมูลสำหรับข้อมูลนี้คือ: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!544.trak เว็บล็อกที่อ้างอิงข้อมูลนี้
|
|
|