All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
114 views

How to determine if object is loaded or not?

It's very easy. Just share some pieces of advice with me. Example - I need to load a view of a list: var view = _list.Views.GetByTitle("title"); //but returned view always is not null if(view != ...
1
vote
1answer
53 views

How to change a url of the list's view via client model?

I know how to create a view via ViewCreationInformation class using client SP model. But how I can specify a url for this view ? Is it possible ? In other words: var test = _list.Views.GetByTitle("...
0
votes
1answer
94 views

SharePoint 2010: Add GroupBy to existing list view using JSOM?

Is it possible to modify an existing view, more specific adding GroupBy, using JavaScript / JSOM? I am creating the library using JavaScript and I'd like to add a GroupBy in the "all items" default ...
2
votes
1answer
5k views

Client Object Model & CAML -> Getting Items of a specific view

I need some support as I am struggling to understand what is wrong with my code. I try to retrieve the data of a specific view. The line camlQuery.ViewXml = view.ViewQuery; throws an exception The ...
1
vote
3answers
12k views

How to apply CAML in SharePoint view

I'm using SharePoint client object model and trying to query specific view but not getting the correct method to do so. Here is my code, using SP = Microsoft.SharePoint.Client; using (SP....