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 [list-item]

Represents an item or row in a list.

0
votes
0answers
19 views

Edit Item List Button Error

I have a list with the "Edit (link to edit item)" in the first field. When clicked, it should open a form but instead, I get the error below I know there isn't anything wrong with the form because I ...
0
votes
0answers
19 views

Restore List item to the older version using CSOM C# approach

we need to restore list items from a particular list (not document library) to the older version but what i can understand is for document libraries we do have that provision like Item.File.Versions....
0
votes
1answer
44 views

HasPublishedVersion property using CSOM C#

I am using SharePoint C# CSOM to get items from the SharePoint 2010 site Document Library. I need to check if the item has any published version. In SSOM we have to Property called ...
0
votes
0answers
16 views

who has viewed pages and list items on sharepoint 2016 on-premises

I need audit report of who has seen sitecollection pages (.aspx), list items on sharepoint 2016 on-premises. OOTB audit reports (Sitecollection administration -> audit log reports) show modification ...
0
votes
0answers
39 views

Creating multiple sub items in an item?

Using a SharePoint 2013 environment. Here's the example. A party request form. You have all the standard fields. Name, location, date, contact, guest count, etc. My question is when in this ...
1
vote
0answers
49 views

Cannot upload attachment to SharePoint list item using JavaScript

I am trying to upload the email attachment to SharePoint list item using JavaScript. But I landed up on the following error on the console. Cannot rename "_120" to "120": destination already exists....
0
votes
1answer
27 views

add listitem to custom list

when i try to add listitem to custom list by CSOM there is a problem in getting the name of fields field name in the list is"Pieces Unaccompanied Hold Baggage(Rush)" ,but when i try to add item ,error ...
0
votes
1answer
174 views

link task to list item

how can I link task to list item. I need to link between the related content field from task list and Name (linked to document with edit menu) field from the list itself. I need to email the ...
1
vote
2answers
431 views

Deleting sharepoint list items with pnp results in bad request

Running pnp in modern script editor spfx web part, can add items, get items from a list, but cannot delete items from a list: $pnp.sp.web.lists.getByTitle('List Name').items .filter('Title eq ...
0
votes
3answers
40 views

CAML Filter between two dates and sort Modified column

I am creating a Console App that is retrieving all the documents under a specific document library. I want to add a filter to only retrieve the documents between a date range and I also want to sort ...
3
votes
1answer
217 views

How to get related items from task?

I need to get filenames and their URL's from related items of list item (it is the Tasks list in PWA). How can i do that using REST API? The AttachmentFiles field is empty. On the XHR tab of Chrome ...
0
votes
1answer
49 views

How can I hide unselected (web part connection) list items?

Team, Scenario: I have two web parts that are connected with a connection filter. When I select an item in list A, related items in list B are filtered. Hooray! But list A is really long, so when ...
0
votes
1answer
140 views

New content type not showing in the List ribbon>New Item

I created a new content type (Gav). But only 3 content types are available via the ribbon Where is the 4th one? Do I need to wait for the system to refresh perhaps? Of the 4 content types, one is ...
0
votes
2answers
41 views

How can I use search query for my List to find ListItems?

From this documentation I just use select and expand fields https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/listitem_get Like this: GET /sites/{site-id}/lists/{list-id}/items/{item-...
1
vote
0answers
17 views

PS Command to get item count in a document library group by year?

I'm able to get the total item count, but I am trying to get the document count in a document library grouped by year. Something like Year TotalCount 2018 240 2017 500 2016 1000 Any knowns ways ...
1
vote
0answers
17 views

SharePoint online Column Empty Item Count

I have a rather large list and I need to count items in a couple of the columns. For example: column1 is [open date] column2 is [closed date]. Both of these are date columns. Column1 has all the ...
0
votes
1answer
285 views

Update List Item very slow

I have a list with ~6200 items. I can query these items without any performance issues, but if I try to update them or create new items, it's going very slow. When I try to update them via ...
0
votes
1answer
450 views

Retrieve & Display 'Person or Group' type column in a List using SPFX

I am trying to Get data from a Custom List & show it as a table using SPFX. By Refering this Link, displayed Single line of text type columns. But when trying to display Person or Group, ...
1
vote
0answers
697 views

Flow: how to get deleted item values?

I need to make some updates to a list based on the data deleted in another list. I tried using 'When an item is deleted' trigger but when I try to get the data in the column which was just deleted I ...
0
votes
1answer
600 views

Autocomplete has stopped working on list item forms

Just this week one of my users noticed that the autocomplete capability has stopped working on inputs for list item forms. All of the previous values that she'd been able to use to quickly enter in ...
1
vote
2answers
235 views

Delete ListItem after 7 days

I would like to build a workflow that deletes an listitem after 7 days. Unfortunately I am not not sure if this will work? Could perhaps someone clarify?
0
votes
1answer
116 views

Delete listitem after 30 days

I would like to create a workflow that deletes an listitem after some time automaticly after for example 30 days or 10 days. Will a workflow be best för this? Or what is the best solution for ...
0
votes
2answers
415 views

List item permissions and Sharing not working

Requirement Only the creators of list items should be able to see the list items, till they do not share it with other users. Once the creator shares the list items with other users (View/Edit), now ...
0
votes
1answer
389 views

Get all list items in provided-hosted add-in (SharePoint Online)

I am trying to get all items of a list and show the Title. Although i can get a list and show its Title i cannot get its items. It seems i use the suggested code but the ListItemCollection object has ...
0
votes
1answer
104 views

Why sharepoint adds automaticaly one hour

I have Date and time field, where I set default date and time, f.e. 1.1.2018 10:00 AM. When I add item due to new item button, date and time is set right and I can save it. But when I use quick edit ...
1
vote
1answer
381 views

Create SP Online list item using email data

I want to create SharePoint list item using email data sent to me? I get service requests through email in a specific template. Emails contents will be like below: Name: George Thomas Email: ...
0
votes
1answer
33 views

Can't create list item on host web list with remote event receiver

I'm using this code to create a calendar item. Please note that this used to work, but today, it doesn't. I don't know why and I can't debug it because I'm using app only permissions. Any ideas why ...
1
vote
1answer
1k views

How to edit a Sharepoint list from an AngularJS list?

I am pretty new with AngularJS, and I need to be able to edit some entries of a Sharepoint list but from an AngularJS list that I made. This is my code right now: <!DOCTYPE html> <html> &...
1
vote
1answer
90 views

How to download a file attached to a list Item (Content Type is “Item”)

Scenario: Create List Item using form. Attache a file to said form. (Example temp.xls) Right-Click save-as Expected Result: A copy of the original file (temp.xls) is save to the file system. ...
0
votes
1answer
614 views

Email link to item created in another list by a workflow

We have an access request list and when someone submits a new item , it creates an item in a calendar. If the date of the access needed is the same date as the date entered, I want the link to the ...
1
vote
3answers
5k views

How to get listitem counts via rest api

I tried the below to get all item count of a list but it doesn't work /_api/Web/Lists/getByTitle('<list title>')?$select=ItemCount,Items&$expand=Items Any ideas how i can get an itemcount ...
0
votes
2answers
415 views

Query list having more than 5K items in it

I need to fetch items from a list which has around 20000 items in it. Using caml query i can only fetch 5000 items. What approach should i follow using a server side code.
1
vote
2answers
270 views

Console app not triggering ItemUpdated event in list

I have created a console app in C# .Net. The app is updating two fields in an item in a list. The list has an eventreceiver and when the item is updated it copy every value from all fields to another ...
0
votes
0answers
59 views

On item creation in Discussion List send email with JavaScript

I am working on discussion list, i am trying to send the item link to the users with JavaScript, as soon as the item is created. But i can find something like, Post Save Action. Any suggestion on ...
0
votes
1answer
427 views

JsLink Sharepoint Change standard item view list to side by side

I want to change the Standard Sharepoint view List from standard view : Item1 Item2 Item3 To Side By Side Items : Item1 Item2 Item3 My JS : (function () { var priorityFiledContext = ...
1
vote
1answer
50 views

Open a singe list item with any other column than the ID?

Is it possible by any means to open a single list item in a form using anything else than the list items unique ID? I'm trying to open a dialog using a custom column which holds a unique 20 digit ...
0
votes
1answer
25 views

I need to associate multiple docs to list items when item is created. Need to function similar to attachments

I need my users to be able to associate multiple documents to list items they create. I don't think I can use attachments though since each document needs to have a 'type' (eg. they need to upload a ...
0
votes
1answer
30 views

Sp list item access via c# - clarification

This may be a stupid question but I'm trying to understand what this line of code does. I get that it accesses a list item - but for what List? SPContext.Current.ListItem.Properties["TwitterUsernames"...
2
votes
1answer
268 views

How to check adding all attachments in list item

I know that in SharePoint Designer workflow it can be checked when attachments are added, but this isn't so super, because when there is some attachment in the list item and someone forgot to add ...
2
votes
1answer
50 views

SP13 - How can i see/edit the settings(Target Label Behavior) [closed]

My issue is: Where i approve changed data on listitem in source List, data in target listItem has been changed. -References- I can to see the setting on source in existing variation site:
3
votes
1answer
2k views

'items(ID)' vs 'getitembyid(ID)' in SharePoint REST API

I am trying to get the last modified details and it seems to me SharePoint REST APIs behaves different for query items(ID) vs getitembyid(ID). The below query with items(ID) works. http://server/...
3
votes
1answer
93 views

Override rejected item to approved

An item list was accidentally rejected instead of approved. Is it possible to override a rejected list item to approved? If so, how?
2
votes
1answer
677 views

Format multi choice field in SPD 2013 workflow email

I have a choice field (allow multiple selection) in one of the list forms. I have a workflow that sends out an email when an item is added. My code for the field in my workflow email is just a ...
1
vote
2answers
594 views

Find the last updated date time of SharePoint Column

I am using the default new list form for adding and editing the item. Now i have a requirement where i need to get the last modified date/time of a particular column(Not item) based on which the timer ...
0
votes
1answer
93 views

In AngularJS after patch list item, server does not return data

I met a very strange problem. Short description: I have aspx page with AngularJS and have a List. Implemented 3 types of requests in AngularJS: 1. Get 2. POST 3. PATCH Everything works great ...
2
votes
1answer
55 views

Create a List Item action is creating two of the same item

Does anyone see any reason in this workflow why the "create a list item" action highlighted is being duplicated in the assigned list? It creates two of the same item in the assigned list. I'm clueless ...
0
votes
1answer
674 views

How to get ID of current element selected by javascript [duplicate]

How to get current element of list by javascript. The element clicked by three dots. Please help. From the Sharepoint list called "Stuff". And after click on three dots i want to get a ID of element. ...
5
votes
1answer
188 views

SP13 - How to sync 4000 items in list to target list

I have a list with 4000 items. The default view in my list has 100 pages... I must have to go to every page to select the items and update them in another language version. This will take a long time. ...
1
vote
0answers
22 views

return ListItemAllFields on a previous file version [duplicate]

I am trying to retrieve ListItemAllFields for a previous version of a file in a Document Library foreach (FileVersion version in listItem.File.Versions) { string versionItemUrl = listItem....
1
vote
1answer
47 views

List items arrange [duplicate]

I have a list where when I Arrange List Ascending, it uses the first number instead of the whole number?