Tag Info

Hot answers tagged

5

You can use Membership element: <Or> <Membership Type=\"CurrentUserGroups\"> <FieldRef Name=\"AssignedTo\"/> </Membership> <Eq> <FieldRef Name=\"CurrentReviewer\"></FieldRef> <Value Type=\"Integer\"> <UserID/> </Value> </Eq> </Or> ...


2

Try this query, I've fixed FieldRef tag <View Scope="RecursiveAll"> <Query> <Where> <Eq> <FieldRef Name="UniqueId" /> <Value Type="Guid">37cf076c-32f9-4ea4-9ed7-04fea659d0f2</Value> </Eq> </Where> </Query> </View> Also I would recommend to use tools ...


1

I would use SPWeb.GetFile('GUID').Item instead. If you know the ID I see no reason to do the CAML query. Edit For SP Online (Client object model) you can use: Web.GetFileById as described here


1

You could just use SP.CamlQuery.createAllItemsQuery() as the parameter for getItems() although simply setting the scope to 'RecursiveAll' and inserting the filter that wjervis suggests should also do the trick. Example of my proposal: list.getItems(SP.CamlQuery.createAllItemsQuery()); You can inspect exactly what this does in your browser dev tools if ...


1

public static DataTable GetListData() { DataTable returnTable = null; SPSite thisSite = null; SPWeb thisWeb = null; SPList thisList = null; try { thisSite = new SPSite(siteLink); thisWeb = thisSite.OpenWeb(); thisList = thisWeb.Lists["Resources"]; SPQuery ...


1

Sorry, I think it's not possible. All Query Schema here: http://msdn.microsoft.com/en-us/library/office/ms467521(v=office.15).aspx You can dynamically generate big caml query with https://camlex.codeplex.com/ or https://camljs.codeplex.com/


1

I wrote <Value Type=\"DateTime\" IncludeTimeValue=\"True\">Today</Value> instead of <Value Type=\"DateTime\" IncludeTimeValue=\"True\"><Today /></Value>


1

Collabion supports Web Part Connections, so you can filter data based on the query string. You'll need to use the Query String filter web part and connect it to Collabion Charts, it's fairly simple. see their docs for more info. Nevron, has something similar too. Hope this helps.



Only top voted, non community-wiki answers of a minimum length are eligible