Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [viewfields]

Provides an enumeration of the fields in a view through a listing of the FieldRef elements.

2
votes
0answers
40 views

SPQuery.viewFields does not return specified fields

I have a list that contains multiple views. I am filtering the view data on the basis of date range using CAML Query. But I don't want all the fields to be return so I used viewFields property of ...
1
vote
2answers
51 views

SP Online, can I add my ViewField value to SP.View.viewFields with JSOM?

I need to add dissappeared ViewField to my List view (Calendar). it was before, but was dropped after I switched default view to another, and then returned back (I swutched my view back to 'Default ...
1
vote
0answers
34 views

Library Columns Hidden after Refresh

I have a SharePoint Library with almost 2000 items (each item is a PDF document with some additional standard Fields for metadata). When using the web UI to show additional columns, they appear at ...
1
vote
1answer
411 views

Method to get list headers & filters via jQuery SPServices CAML GetListItems or similar?

Is there a method similar to GetListItems to grab the column headers and/or filters for a list? Or a way to use GetListItems to get that information?
1
vote
1answer
1k views

GetItems Ignores ViewFields in Query

I have created the following method to fetch list items from a list. The method does return the right items, but no matter what I provide in the viewFields parameter, it always returns all fields. ...
0
votes
1answer
326 views

Default View edit column order with Javascript

I have a List which is generated and populated with Javascript. However after that I remove a column and add column 'Id' to the default view with the following code: function ...
0
votes
1answer
527 views

SharePoint 2013 Creating List instance from existing list Template issue

why (in sharepoint 2013 empty project) when we add new list based on existing list template we have the Tabs Views and Fields greyed? what can we do to be able to manipulate them? Any help will be ...
0
votes
2answers
1k views

GetListItems working with ows_metadata and viewfields

This situation is not far out but is a conundrum... I am using GetListItems to query a SharePoint 2010 list. My restrictions on the list are: return back only a few select fields (on top of the the ...
1
vote
0answers
844 views

XsltListViewWebPart: select default view

I'm trying to configure an XsltLisViewWebPart for deployment to a SharePoint site. I'm provisioning the views beforehand using: List oList = clientContext.Web.Lists.GetByTitle(list.Title); ...
0
votes
1answer
79 views

How to Create ViewFields in SharePoint 2013?

I have two different lists: List1 contains 4 Columns. List2 contains 4 Columns. (List1 columns and List2 columns are same) Lets say, List1 has four items stored. Now, I want List2 to have the same ...
0
votes
2answers
160 views

Get all “new” documents from library with query

Is it possible to get all documents that are marked as "new" in sharepoint 2010? How can this be done? I already have a query where I get all latest documents, but I need to find out what ViewFields I ...