|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by Jovix in MS SharePoint
Hello everyone, hope you can help me figure this out.
I'm new at all of this and I am trying to use a CAML query in a Contect Editor Web Part. The Web Part will be placed on the site collection's homepage, and the my CAML Query needs to pull from a List that is in one of my subsites. Furthermore I need to only query the items in the list that were created by the current user.
I'm using U2U CAML Query Builder but I don't know what I'm looking at:
1. I don't know how to point the CAML Query to the List in my Sub Site.
2. I don't know how to tell the Query to pull only items for the Current User.
There might be an easier way of doing this but I would really like to learn how to do this stuff using CAML.
Below is my current CAML Query generated by the U2U Query Builder:
1:
2:
3:
4:
5:
6:
7:
8:
|
<Query>
<Where>
<Eq>
<FieldRef Name='Author' />
<Value Type='User'>User</Value>
</Eq>
</Where>
</Query>
|
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625