Questions tagged [sharepoint-list]

Use this tag to identify questions related to the developing against SharePoint Lists including built-in lists like document libraries, event lists, discussion lists etc. as well as custom lists or list templates.

SharePoint is a web application framework and platform developed by Microsoft. SharePoint integrates intranet, content management, and document management; it is mostly used by midsize businesses and large departments.

A SharePoint list is a container element in SharePoint containing data like documents, events, discussions, posts, etc.

384 questions
23
votes
9 answers

Change SharePoint Library URL

How do you change the URI of a SharePoint library? Based on Google searching, most people say that changing the name of a library in Designer (via right click->rename) will result in the URI change, but it is only changing the name for me. I am…
16
votes
3 answers

Using R to connect to a sharepoint list

Has anyone been able to import a SharePoint list in R as a dataframe? I have two separate data sources, one from a SharePoint list and the other from a DB that I wish to run an analysis on. I am able to connect to the DB without any problem but…
John Smith
  • 1,832
  • 4
  • 37
  • 66
10
votes
2 answers

Delete all rows in sharepoint list using Client Context and CAML Query

I am new to SharePoint and want to delete all rows in a SharePoint list using C# ClientContext class and CAML Query. How can i achieve it efficiently?
6
votes
2 answers

Prevent SharePoint list item deletion

How can I prevent users from deleting sharepoint task list item? Should i override the ItemDeleting event or is there any other site level options available to achieve the same?
Shankar
  • 448
  • 3
  • 9
  • 34
6
votes
3 answers

Read a SharePoint List and put the data on a HTML file through JavaScript function

I have a SharePoint URL which is just a SharePoint list with some columns and rows of data. I will like to read that information from that specific URL and put the data on a HTML file through a JavaScript function. I have no experience about…
Codelel
  • 105
  • 1
  • 1
  • 6
5
votes
2 answers

How could I find the fields of a SharePoint list from database in SharePoint 2010?

In SharePoint 2003 and 2007, there was a table called AllLists which had a column called tp_Fields which contained an xml containing all fields for a specific list. an example of the xml stored in the tp_Fields column would be this for a SharePoint…
The Light
  • 24,407
  • 61
  • 164
  • 254
5
votes
2 answers

The proper way to write a SharePoint User to a User Field in a SharePoint list

I'm writing a user to a SharePoint list. I've read that the SharePoint User field has a string like this inside of it: userId;#userLoginName I've tried formatting in the same way when writing to a User field, for example when I write this string it…
Ectropy
  • 1,433
  • 3
  • 18
  • 37
4
votes
1 answer

Get List Item by GUID

I am working on sharepoint-2010 and I am new to sharepoint. I want to access List Item by Guid. So, how can I access. Please provide some reference or some class file to access that. Thanks in advance.
Sahil
  • 63
  • 1
  • 7
4
votes
0 answers

Unable to refresh data in power Bi service while connecting to sharepoint list and document folder of all listed sites

Hi I am currently trying to develop a reporting tool. There is a SharePoint online list which has various SharePoint sites in that list. My objective is to retrieve all SharePoint sites from that list and to connect to the documents folder of all…
4
votes
3 answers

'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property;

How can I save document library lookup field using REST API Post in a SharePoint list? I tried like 'docItem':'1;#test' But, it is throwing an error : { "error": { "code": "-1,Microsoft.SharePoint.Client.InvalidClientQueryException", …
4
votes
4 answers

Use UpdateListItems webbservice on Sharepoint using Infopath form without managed code

I need to create a Infopath form that users can use to create posts and update a Sharepoint list. I have located the list GUID and the Lists.asmx webbservice. I have made sure that I am admin with full rights on the List in question. The list is a…
Plarsen
  • 486
  • 2
  • 10
  • 25
4
votes
1 answer

How to show only the year field in Sharepoint date and time(Today)

I want a field in which only the year of the present date(Today) is shown.I had tried many methods but couldn't find any solutions.Can anyone help me with the problem. I am new to sharepoint, so please explain me step by step.
Vinu V
  • 87
  • 1
  • 3
  • 11
4
votes
0 answers

Modify the XSLT list view for custom field type on Sp2013 in order to customize the totals rendering (Count, Sum, Average etc) - possible SP2013 bug?

Just wondering if there is a way through which I could modify the XSL templates for a list view rendering which includes a custom field type, in order to customize the totals row in the view. Recently, I created such a simple custom field type,…
3
votes
3 answers

Validate a Single line of text column type of list in sharepoint 2010 to accept only numbers?

How to validate a Single line of text column type of list in sharepoint 2010 to enter accept only numbers? Please don't tell me to use calculated column , I tried it and it didn't work for me as i want. Please advice, thanks in advance.
SharePointKID
  • 91
  • 2
  • 8
3
votes
2 answers

access list in sharepoint 2007 using c#

I'm looking to compile data from a few diffrent custome lists in sharepoint 2007 Its a hosted sharepoint site so I don't have access to the machine backend. Is there any example code to access the sharepoint site using c#? here is my code thus far…
Crash893
  • 10,590
  • 20
  • 82
  • 118
1
2 3
25 26