Questions tagged [splistitem]
Representation of a list item within the SharePoint API.
521
questions
1
vote
0
answers
21
views
Data mismatch while making a list call to get data from SP list
I'm trying to get Data from SP List through rest API from SPFX, I've checked by running that rest API directly in the browser where it shows correct data but while making a call from SPFX that rest ...
0
votes
1
answer
130
views
Best way to move list Item with version history to another list SharePoint online
I am working on one project, where I want archive list items (old records) to another list with version history. Both list have configuration and belong to same site collection.
We don't want to used ...
0
votes
0
answers
19
views
Document Library with required fields and attached EventReceiver doesn't update item in time for the popup to reflect changes for the user
I have a document library which has some custom values, some of which are required to fill out.
When a user uploads a Document sharepoint asks him to fill out those values and refuses to check the ...
2
votes
0
answers
344
views
Is there any way that I can use Application Customizer extension in whole site and only for one page?
I have created a Application Customizer extension of permission for single page URL. Is there any way that I can use this extension in whole site?. If yes, how to do it?
0
votes
1
answer
168
views
Can a ListItem's DisplayForm be accessed using query parameters on an arbitrary column?
I'll preface this question by saying I am very much a novice when it comes to SharePoint, so apologies in advance if I use incorrect terminology. I am trying to find a way to access the "DispForm....
2
votes
0
answers
209
views
How to use paging SharePoint lists along with sorting and filtering
I am trying to apply paging in a SharePoint list. Everything works fine with the following query:
const queryUrl = `${context.pageContext.web.absoluteUrl}`
+ `/_api/web/lists/GetByTitle('...
1
vote
2
answers
36
views
Associating Specific SP List Items with Specific SP Library Documents/Images
I need to create a SP list of certifications from an Excel spreadsheet.
I need to create a SP library to archive existing and new certification documents/images and upload existing document/image to ...
0
votes
1
answer
206
views
Batch Update for 16K Items failing
We are trying to copy contents from one column to the other , However we get request digest error after 6K Items.
Below is the code
$(document).ready(function () {
$("#btnSubmit").click(...
0
votes
1
answer
1k
views
Triggering Power Automate after 14 days from the date when a specific list field is updated in SharePoint
I have a requirement to trigger a power automate workflow after 14 days from when a specific field gets updated in a SharePoint list.
Please guide me on this.
Thanks
0
votes
1
answer
2k
views
Getting invalid_request - Token type is not allowed. error while accessing Lists and list Items
I am trying to get SharePoint list and its items by REST API. Below is the approach I have done -
Create a App in SharePoint. Got the Client ID, Client Secret. Using the below URL I got the access ...
0
votes
0
answers
20
views
How to find out the ID of the item in the other variation in SharePoint 2013?
In SP2013, I am using target variations having en as source and fr as another variation. In lists I can push to the fr side, which means for items if they get approved they appear in the french side ...
0
votes
1
answer
627
views
Sharepoint list last modified date
I use this code to get the date of the last edit of a certain list.
Now I want to loop through the listitems and identify the item that was changed last, so i.e. that has the same date as the ...
0
votes
1
answer
541
views
Microsoft Graph Change contentType of uploaded file and filter
I have a VBA macro I'm using to interface with the graphAPI to upload a ton of files to SharePoint Online.
That's working fine.
The issue is changing the contentTypes after the fact. I'm using the ...
0
votes
0
answers
137
views
Creating a sequential number on a SP online list
I thought this would a fairly straight forward problem to solve. My client needs a unique identify number for a list item and it has to be seven digits long and sequential. I thought there would be a ...
2
votes
1
answer
134
views
Break inheritance SharePoint list item using JavaScript
below is my script to break inheritance of a list item in SharePoint. I am facing the following issue. I have a form, where users submits request through it. All users are in a group called Site ...
1
vote
0
answers
323
views
Find list item URL from the local file path C#
I have a local folder that is linked with a document collection in SharePoint. When I modify/add/remove files in this folder and its' sub-folders, it all syncs up with SharePoint. I need to determine ...
0
votes
1
answer
285
views
Spview listview item count shows wrong?
We got a list and listview to group our items. But sometimes the total count is showing wrong number. I added sample picture to explain it. In this picture, Type is Form and it says there is one file ...
1
vote
2
answers
303
views
SPfx Show More button with a different approach?
My Approach is
default 6 items, using api query of the $top=6
If a button is pressed, clear screen, get all data using qpi query without $top6
Algorithm:
Define a function to loadNews(boolean=...
0
votes
1
answer
565
views
PNP Apply-ProvisioningTemplate - SharePoint List's field is skipped if of different type
I am currently using Azure Build and Release Pipelines to automate deployment to a testing environment. A PowerShell script is used to re-apply a template.xml file for the sites lists and libraries ...
0
votes
2
answers
212
views
Chrome and IE shows "Date();" differently
I was testing my new SharePoint list. One of my list item entries is based on Date();. When I enter the data into Chrome, it has the "GMT-0500 (Eastern Standard Time)" and in IE, the GMT is not ...
0
votes
0
answers
55
views
Canceling Modal Dialog, not able to open the Dialog box again
I have a modal Dialog Box confirmation and it works fine if I click Ok. However, when I click cancel (lets say a user changes their mind) and decides a couple minutes later to activate the modal, ...
0
votes
1
answer
446
views
How to fix Microsoft Bing API Maps error
I am trying to use the BING Map API but I'm getting stuck.
My longitudes and latitudes are stored in a SharePoint list.
I get the following error but not sure why
Uncaught TypeError: Cannot read ...
0
votes
2
answers
2k
views
Filter out empty 'multiple lines of text' column(s) in list view. SP 2013
I need to filter out items that have empty 'multiple lines of text' columns in my list view. Traditional filter methods do not work. See images below. Please help!
0
votes
2
answers
2k
views
Lookup Column in sharepoint with free text (No dropdown)
I have a free text of employee number in task form (Linked to form), when employee number is entered, I want to auto populate name and employee department. I can have source data in excel or separate ...
2
votes
2
answers
387
views
Column validation for past dates
Looking at implementing column or list validation for a date field to stop them from entering past dates
The validation should do the following
Validate only there is a value in the column
Validate ...
0
votes
1
answer
71
views
Acknowledge email to external users when item submit on SharePoint list(SP 2010)
We are working on an normal SharePoint(20101) list form and when domain users submit any item on the list with external user name(outside domain), an auto email need to send external user saying as ...
0
votes
1
answer
123
views
How can I programatically move an SPListItem from a source list to a destination list (into a specific folder of the list)?
I am pretty new in SharePoint (I am working with SharePoint 2013) and I have the following problem:
I have a source list(an SPList) on a source website and I have to move its items to a destination ...
0
votes
1
answer
780
views
Auto populate column data from one list form to another list form in SharePoint 2013
We had two lists in SharePoint 2013. One list (Report) is for the report and another list (Access) for access.
First list "Report" consist of a different column, one column name as "Request access" ...
0
votes
2
answers
269
views
Auto Populate data from one SP form to another SP form
I've SP 1 form where user's fill Service Area, Secondary Code, Record Series Title fields and when they click Electronic Partial (x) check box another SP 2 form will pop-up and wants the same three ...
0
votes
0
answers
89
views
Multi select List column loses its values
I have a text column with some validation
This column is bound to a list/content type.
One of the other columns in the list is a multi select lookup column. The values for the multi select column ...
1
vote
0
answers
405
views
Large list backup in sharepoint online - suggested way
we need to backup a large list in our sharepoint online environment, the following things needs to be considered
The List has more than 10000 items
The List has a lookup column
Our environment does ...
0
votes
1
answer
79
views
RangeError JSOM set_item update
I tell you that I have been fighting with this bug a few days ago. He is winning ...
On the EditForm I have a grid that points to another sherpoint list. I can add listitems to that other list or edit ...
0
votes
1
answer
84
views
List Selection Options Same form - Show TextField
I have a simple ticket form, One of the dropdowns in a column include access. Below is a sample column, Upon selection of Access. I would like a text box to open up in the same form. How Should I ...
0
votes
1
answer
831
views
From a given Item in a Sharepoint List, create subitems based on multiple choice column
I would like to create a tracker of projects in Sharepoint.
This is for translation projects where each project would need to be translated into 10-30 different languages. I have a list where I can ...
1
vote
2
answers
145
views
Add large sharepoint list to sharepoint 2013 site
I have SharePoint list with big number of items (13879 items).
I saved it with content, download list template and change GUID in manifest.xml file.
after I add it to .cab and renamed to .stp file ...
0
votes
0
answers
157
views
Export SharePoint 2013 list big data to Excel
I have a SharePoint list with 13879 items, so when I am trying to export the list to Excel, data doesn't export.
It is blank sheet and looks like this. (where column1, column2... are SharePoint list ...
1
vote
2
answers
257
views
Setting a list item ID only works when using the field GUID based value setter
Due to some weird concomitance of odd application requirements and legacy code to maintain, I am currently stuck having to programmatically create some list items on a SharePoint 2016 list and assign ...
0
votes
1
answer
102
views
Sharepoint's saved list template doesnt loads all item
I have SharePoint 2013 list with 13897 items in it, I saved it as a template with include contents.
Now I am trying to create a new list but it doesn't load all items.
and if I open this newly ...
3
votes
2
answers
2k
views
REST API Item Versions Endpoint
In this question, it appears there is a "/versions" endpoint for the ListItems REST API.
/_api/lists/getbytitle('ListName')/Items(#)/versions returns a 404 'Not Found' on our SharePoint 2016 On-...
1
vote
0
answers
289
views
Issue with saving attachment to a new list item
I'm having an issue with adding attachements to a newly created SPList Item, the list item is created via a custom submission form built with ASP.NET and C#, I'm using the asp:fileupload control as ...
0
votes
2
answers
389
views
Folder Name not showing with powershell
I have the following powershell:
$list = $ctx.Web.Lists.GetByTitle("Documents")
$ctx.Load($list)
$ctx.ExecuteQuery()
## View XML
$qCommand = @"
<View>
<Query>
<Where><...
1
vote
0
answers
44
views
Sharepoint list column shows no result on "Find an item"
I have a custom SP List that has a few columns consist of Full Name, extension, Job title, Department and so on. When I search using the list "Find an item" box on department there are results ...
1
vote
3
answers
2k
views
SharePoint List - Yes or No Column
I have a requirement with SharePoint List to have to option with Yes or No Column or a choice.
If the Choice is NO (Nothing to be done)
IF the Choice is Yes (then i need 3 options) like -
End of ...
0
votes
0
answers
45
views
Workflow Column renders 'undefined' with attr selector
I'm using SPServices to get list items. I'm having difficulty getting the value for my workflow status column as it keeps coming back undefined. I am using the internal name so not sure why it would ...
0
votes
0
answers
196
views
Error while adding list item in SharePoint 2013
I have timer job which creates new list item in custom list and then add attachment to the list item. It works perfectly fine but it threw one error once and there is no exception message in logging ...
2
votes
1
answer
30k
views
I got this error "An unexpected 'PrimitiveValue' node was found when reading from the JSON reader. " when updating a choice field using REST API
I am working on sharepoint on-premises 2013. and i have a cusotm list which contain 2 columns of type "Choice", as follow:--
Now i am trying to copy one list item and create a new list item,...
0
votes
2
answers
483
views
How do I determine a GenericList type?
I'm working on a site, where a web part I'm building takes the name of a custom list type as a property when editing the web part settings.
The "List" that this visual web-part is designed to display,...
0
votes
1
answer
33
views
Can I enforce only one tick to be selected when adding a new list item
Hi (Sharepoint Virgin here.... [But been programming .NET for years now])
Iv'e just recently had to start doing some Sharepoint based work, and as a result have had to basically throw myself in on a ...
0
votes
1
answer
228
views
How does SPListItem HasUniqueRoleAssignments property is calculated?
Does the value for the property HasUniqueRoleAssignments of SPListItem can be found in the SharePoint DB or is it a calculated property?
And if it is calculated - then how?
0
votes
1
answer
853
views
New option could not be placed in ECB menu using SPFX after project deployed and add-in is installed on the site!
I have created one spfx project to place the new option(custom option) in the Edit Control Block(ECB) menu for modern SharePoint site CustomList and it also works fine when i'm testing it on the ...