Skip to main content
Tweeted twitter.com/#!/StackSharePoint/status/254416364368977920
deleted 420 characters in body
Source Link

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the 'QueryOverride' section.

<property name="QueryOverride" type="string" />

Thus far I have included the CDATA wrap but the webpart isnt importing, and its the only line I have changed so the something is wrong with this line of code.....?

<property name="QueryOverride" type="string" <![CDATA[<Where><And><IsNotNull><FieldRef Name='CheckoutUser' /></IsNotNull><Eq><FieldRef Name='CheckoutUser' /><Value Type='Integer'><UserID Type='Integer' /></Value></Eq></And></Where>]]></property>

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the 'QueryOverride' section.

<property name="QueryOverride" type="string" />

Thus far I have included the CDATA wrap but the webpart isnt importing, and its the only line I have changed so the something is wrong with this line of code.....?

<property name="QueryOverride" type="string" <![CDATA[<Where><And><IsNotNull><FieldRef Name='CheckoutUser' /></IsNotNull><Eq><FieldRef Name='CheckoutUser' /><Value Type='Integer'><UserID Type='Integer' /></Value></Eq></And></Where>]]></property>

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the 'QueryOverride' section.

<property name="QueryOverride" type="string" />

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

added 414 characters in body
Source Link

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the 'QueryOverride' section.

<property name="QueryOverride" type="string" />

Thus far I have included the CDATA wrap but the webpart isnt importing, and its the only line I have changed so the something is wrong with this line of code.....?

<property name="QueryOverride" type="string" <![CDATA[<Where><And><IsNotNull><FieldRef Name='CheckoutUser' /></IsNotNull><Eq><FieldRef Name='CheckoutUser' /><Value Type='Integer'><UserID Type='Integer' /></Value></Eq></And></Where>]]></property>

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the 'QueryOverride' section.

<property name="QueryOverride" type="string" />

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the 'QueryOverride' section.

<property name="QueryOverride" type="string" />

Thus far I have included the CDATA wrap but the webpart isnt importing, and its the only line I have changed so the something is wrong with this line of code.....?

<property name="QueryOverride" type="string" <![CDATA[<Where><And><IsNotNull><FieldRef Name='CheckoutUser' /></IsNotNull><Eq><FieldRef Name='CheckoutUser' /><Value Type='Integer'><UserID Type='Integer' /></Value></Eq></And></Where>]]></property>

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

added 1 characters in body; edited title
Source Link

How do I convert CAML to use in the CQWP 'Content Override'?

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the Query Override'QueryOverride' section.

<property name="QueryOverride" type="string" />

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

How do I convert CAML to use in the CQWP 'Content Override'

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the Query Override section.

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

How do I convert CAML to use in the CQWP?

I have the following CAML query which returns checked out files.

<Query><Where><Eq><FieldRef Name="CheckoutUser" /><Value Type="User">[Me]</Value></Eq></Where></Query>

I want to use this in a Content Query web part, within the 'QueryOverride' section.

<property name="QueryOverride" type="string" />

I'm new to this, but believe it can be done. Can someone convert this for me please or point me in the right direction.

All help appreciated.

Source Link
Loading