Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

CAML - Referencing the Doc Lib Name

  Asked By: Stevie    Date: Sep 10    Category: Sharepoint    Views: 1041

Is it possible to reference the Document Library Name from a CAML
query?

I have created the following computed column, but in order to meet
the requirement I need to reference the Document Library Name. I
thought maybe <ListProperty> or <Var> but wasn't sure.

The following is my current CAML for the field:

<Field Name="UniqueNumber" Type="Computed">
<FieldRefs>
<FieldRef Name="DocLibNameHere"/>
<FieldRef Name="DocumentCategory"/>
<FieldRef Name="StateIdentifier"/>
<FieldRef Name="ID"/>
<FieldRef Name="Title"/>
</FieldRefs>
<DisplayPattern>
<Column Name="DocLibNameHere"/>
<HTML><![CDATA[-]]></HTML>
<Column Name="DocumentCategory"/>
<HTML><![CDATA[-]]></HTML>
<Column Name="StateIdentifier"/>
<HTML><![CDATA[-]]></HTML>
<Column Name="ID"/>
<HTML><![CDATA[ ]]></HTML>
<Column Name="Title"/>
</DisplayPattern>
</Field>

Share: 

 

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

 
Didn't find what you were looking for? Find more on CAML - Referencing the Doc Lib Name Or get search suggestion and latest updates.




Tagged: