Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

CAML - Referencing the Doc Lib Name

  Asked By: Stevie Petty         Date: Sep 10, 2005      Category: Sharepoint      Views: 273
 

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>


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:            

 

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.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].