Questions tagged [caml-renderpattern]
method for displaying list data
13 questions
1
vote
1
answer
4k
views
How to specify a CAML Query to return items that have any of two site columns?
I want to define a query to return items that satisfy the following :-
if any item have a CT & login user = site column
so i wrote the following :-
<property name="QueryOverride" type="string" ...
6
votes
1
answer
855
views
Ignore Null Values in OrderBy Asc While creating CAML Query
I have 3 Columns in my List
Id Name SortBy
1 A 1
2 B
3 C 2
4 D 3
and my CAML query is :
Query = @"<OrderBy><FieldRef Name='SortOrder' Ascending='False' /&...
0
votes
2
answers
158
views
CAML : filter items based on FieldType regardless of the Column name
In a CAML query, can you filter items which has values in the column (Not Null), based on the FieldType of the column. regardless of the Column name ?
16
votes
2
answers
32k
views
CAML query to filter items by Content Type, independent of column name
In a SharePoint list I have a column, created using a custom content type. Let's say, the content types is "MyContentType". I used in a column "My Custom Column".
Need to filter out items if the "My ...
1
vote
1
answer
232
views
CAML RenderPattern Get current list Item ID
In a my share point 2007 list i have a custom field. In the custom field i need to get the current Item ID. Later have to pass this to a JavaScript. How to get the current Item ID in RenderPattern ?
...
1
vote
0
answers
180
views
Custom Field RenderPattern Customization - SharePoint 2007
I'm creating a custom field in SP 2007. I need to Get the Custom field value and field properties on Item click, in the list item display view. Also i Need to pass these values to a JavaScript.
So, ...
0
votes
0
answers
310
views
Programmatically updated SPList view filter is showing <!#Render Error--> in the view Moss 2007
Am appending a filter condition to a particular view
alertview.Query = viewQuery.ToString();
alertview.ParentList.ParentWeb.AllowUnsafeUpdates = true;
alertview.Update();
alertview.ParentList.Update(...
3
votes
3
answers
4k
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 ...
1
vote
2
answers
4k
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 ...
1
vote
1
answer
20k
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 am ...
6
votes
1
answer
959
views
Is it possible to add user picture column for task list based on AssignedTo field?
I'm searching for a way to have a task list view where AssignedTo column contains user profile image just as i can in User Info List.
By looking at hows its done in User Info List, i see a ...
1
vote
1
answer
3k
views
Custom field type rendering in XSLT
How can I render a custom field type with XSLT.
I want to render in the same manner like I do with this CAML
<RenderPattern Name="DisplayPattern">
<Switch>
<Expr>
&...
4
votes
1
answer
4k
views
Custom field type XSL in SP2010
Has anybody upgraded an old custom field type to use the new XSL transform in SharePoint 2010? I have a multi-column field type, and want the Display pattern to render the 2nd "column", which contains ...