Tagged Questions
1
vote
0answers
63 views
CAML Query on a Calculated Lookup Field
I wrote some CAML Queries to modify the View of a List and all is working fine as long as I do not reference a Lookup Field which points to a calculated Field.
I tried different types in the value ...
0
votes
3answers
414 views
What is the difference between CamlQuery and SPQuery
Maybe a simple question, when to use CamlQuery and when to use SPQuery ?
I think that SPQuery is used inside a WebPart running on the SharePoint server, and that CamlQuery is part of the Client ...
2
votes
3answers
981 views
The <today/> tag not working in my CAML Query?
I am trying to retrieve the 5 most upcoming (with respect to expiry date) announcement list item "Title's".The query partly works but what it fails to do is include and display todays announcements as ...
2
votes
1answer
638 views
Content Query webpart- CommonViewFields vs ViewFieldsOverride
I'm reading up on the Content Query web part and based on this page, I can't understand the difference between the CommonViewFields property vs the ViewFieldsOverride property. How are they different?
...
1
vote
2answers
1k views
Using the Now() function in CAML Query?
i am trying to get the 3 most upcoming events from the current date and time (The current data and time refers the time everytime my web part loads. Basically it is not a fixed date and picks up the ...
0
votes
2answers
1k views
Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part
I have a requirement to build a Event web part that shows the 5 most upcoming events and a see all link (that links to the OOTB calendar view). Here is a graphical representation:
How exaclty do I ...
1
vote
1answer
2k views
CAML Query to filter a list item based on comparing item[“Title”] to ascx label.text control?
"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>'Label1.Text'</Value> </Eq></Where>";
I have not run this and checked yet, simply because I ...
0
votes
3answers
6k views
CAML Query to retrieve announcement items in descending order based on ID # - Not Working
spQuery.Query = "
<OrderBy> <FieldRef Name='ID' Descending='True'/> </OrderBy>
<Where> <Eq> <FieldRef Name='Title' />
<Value ...
1
vote
2answers
525 views
SharePoint 2010 - Find WebPart in WebApplication
I´m searching for an good way to find the ContentQuery WebPart in my WebApplication. My plan is to write a PowerShell script and create a url list.
I found the following possible ways:
SharePoint ...
2
votes
1answer
1k views
How to make a CAML Query union?
I have a webpart with several CAML Querys that look like this:
SPSiteDataQuery qry = new SPSiteDataQuery();
qry.Lists = "<Lists ServerTemplate='104' Hidden='TRUE' />";
qry.Webs = "<Webs ...
7
votes
1answer
1k views
Why is my CAML query working in CAML Builder but not in the application?
I have a CAML query that queries a calendar list and I want it to return all the items in the list with an EventDate of today or later, ordered in ascending order. The CAML query I'm using is this:
...
0
votes
1answer
289 views
caml query help
I'm building a webpart that queries an sp list. my list contains two fields (title, tip).
title = is a single text line and
tip = a yes/no check box
currently in my code, i am calling all items in ...
0
votes
1answer
626 views
Is SharePoint's ListViewXML syntax based on a standard?
Recently I had to change a ListView webpart and noticed the syntax that renders the HTML is not XSLT. Is this syntax documented somewhere?
Example,
<IfEqual>
<Expr1>
...