Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [batch]

Questions related to batch activities

2
votes
1answer
18 views

How can we get the list items from multiple lists using Batch REST API?

I need to load all master data from multiple lists and bind it to from in form dropdown. For that I need to call every list separately. Is there any option to call all the list in one query using ...
7
votes
1answer
152 views

Given a set of file URLs from sharepoint, what is the fastest way to download them all?

I have a list of SharePoint list item URLs and list item attachment urls. I need to download all the files from each one. Overall: I have over 50 000 000 files to download over 200 farms. ...
1
vote
2answers
81 views

how to loop through item id and update items via JSOM - SharePoint Online

Here is my snippet code below.My aim is to simply loop through item ids and update the list in batches. I need help with using CSOM to do this I need this as currently when i send a batch of over 800 ...
1
vote
0answers
38 views

batch updating processing with csom (Timeout issue)

I have just over 800 records i'm trying to update but I keep getting timeout error despite the fact i'm setting the timeout to indefinite like below:- clientContext.RequestTimeout = -1 see my snippet ...
0
votes
0answers
35 views

Error while using `inBatch` in SP PnP JS

We are using SP PnP JS inBatch method to batch requests but are getting error. Below is the sample code snippet. sp.web.lists.getByTitle('ListName') .items .filter("Filter condition") .inBatch(...
1
vote
2answers
81 views

Using Javascript REST API to do asynchronous batch POST to multiple SharePoint lists

I'm in a bit of a quandry as I'm just learning how to do development in SharePoint 2016 / SharePoint Online and using Javascript to perform REST calls. I have a form that is using REST to successfully ...
0
votes
1answer
252 views

Batch update In SharePoint List Using JSOM/CSOM

I'm trying to update a field using CSOM. It works for few items but when i try t on items over 700 items i'm getting the error below:- "The request message is too big. The server does not allow ...
0
votes
0answers
64 views

Calling SharePoint /_api/$batch and passing in complex object type to POST request

Looking at how SharePoint move items using the Network tab in chrome, the items get moved using _api/site/CreateCopyJobs. This returns result in type=Collection(SP.CopyMigrationInfo) This contains ...
1
vote
0answers
183 views

Cannot add multiple items in list where using pnp batching

I use "sp-pnp-js": "^3.0.4" Where i trying to create batch for - add multiple items into a list for SharePoint On-Premise . This is my code: let list = pnp.sp.web.lists.getByTitle("MyWayBills"); let ...
1
vote
1answer
166 views

Is there a way to create a large number of columns quickly?

I am about to create 84 choice fields for a timesheet solution I am creating in Sharepoint. Clearly I am procrastinating on this task and here I am. Is there a trick I don't know about that might ...
1
vote
1answer
1k views

Batch update/create list items using REST API in Sharepoint 2013

I know the OData batch process built into SharePoint Online 2016 and O365 has not made it to SharePoint 2013 Online, but I have read a few places that say using a batch create/update IS possible in ...
1
vote
0answers
34 views

Planning for a BATCH Delete operation in SharePoint Hosted APP

I'm planning to use SOAP Services to do a batch DELETE operation in SharePoint Hosted APP. I'm searching for "How to pass Site Url to SOAP services" since the normal way won't work. I found no post ...
2
votes
1answer
600 views

CSOM to create huge amount of items in SharePoint List

I have to create more than 20000 data in a SharePoint list using CSOM. I have written program and it is working fine adding items to list but as the number of items is huge, it takes time to create ...
5
votes
1answer
2k views

SharePoint 2013 Batch update list items C# SSOM

I am trying to use batch update for one of the list in SP2013 site. I am trying to run a simple batch request as follows. using (var spSite = new SPSite(siteName)) using (var spWeb = ...
5
votes
0answers
224 views

SPOnline, How to Batch RELATED REST calls (and increase performance)

Doing nothing fancy, just your normal Intranet Front-Page Got two WebComponents that display a News Carousel and Summary List <news extract="newsheadlines" display="carousel"> <news ...
2
votes
1answer
112 views

Deleting more than 300.000 document versions

My customer has a Page Library with versioning enabled and no versions limit. There is pages with more than 300.000 versions. I need to delete all old versions, but keep safe the 5 newer versions. ...
4
votes
1answer
221 views

Batch GET in sharepoint server 2013 to implement paging

I would like to implement paging in sharepoint 2013, so I would like to get current list item count first, then do the paging so I can tell users: 1-30 of 400 items, in my paging. Can I do this in ...
4
votes
3answers
1k views

$batch operations on SharePoint 2013 on-premise not working

I need to do bulk inserts and learned that there is the $batch operation in the REST API. https://msdn.microsoft.com/en-us/library/office/dn903506.aspx I read through this and following and explored ...
1
vote
0answers
51 views

Uploading Data to an Existing List in Batch Process

I have 252 items to add to an existing list and wanted to paste in batch of 20 but SP 2013 complains about the format of my data which I thought was correct (e.g Text in text columns, dates in date ...
1
vote
1answer
31 views

Taxonomy Column Values not fetching from Code after batch deleting and adding them again

I have a SharePoint 2013 site with custom lists containing taxonomy columns. It had data initially. But for some requirement, I had to do a batch delete of those list items and repopulate them through ...
2
votes
0answers
210 views

Batch or Bulk delete of groups under a single SPWeb

Can someone help me with a powershell or C# code to do a Bulk delete of groups on a SharePoint site? I already know about this code: $site = Get-SPweb "http://root/locations/site" foreach($group in $...
2
votes
0answers
411 views

batch command to update SharePoint list item using updatelistitems

I am new to SharePoint and i need help to update lookup field, multi line of text field and date field from one list to another list using SharePoint web services updatelistitems. Is there any way to ...
2
votes
0answers
126 views

Why does starting timer service sometimes start search service?

In my SP2010 environment app server, I have a scheduled task that restarts timer and search service using a batch file. net stop SPTimerV4 >> %logfilename_sp_fix% 2>&1 if ERRORLEVEL 0 ( ...
2
votes
1answer
694 views

RESTful Services Upload Boundaries SharePoint

What are the limitations/boundaries for the SharePoint RESTful services end points for document upload in SharePoint 2013? i.e. how many files can be uploaded via the RESTful service end point per ...
1
vote
0answers
364 views

How to create folder in document library using batch processing

I need to create bulk folder(~200) in document library. I have tried using console application but it required more time to create then i have decided to create using batch processing as suggested in ...
1
vote
1answer
318 views

ThreadAbortException on SPWeb.ProcessBatchData

I am trying to update ~2000 list items with SPWeb.ProcessBatchData. After exception on all items at a time, I tried them in small batches like 100 and 200 but after executing first 1 or 2 batches i.e. ...
4
votes
3answers
6k views

how can I batch approve

I have many documents which need to be published to a major version than approved. Is there a way I can batch select multiple documents and approve simultaneously?
0
votes
1answer
105 views

Unattended execution of C# scripts

I'm a beginner designing automatizing tasks. I have 2 scripts in C# .These scripts generate two XML docs which are connected and synchronized with two native lists in a SharePoint Portal through ...
2
votes
2answers
1k views

“nativehr” error while trying to delete list items through ProcessBatchData

Plain and simple, I'm trying to delete a massive amount of items from a list as quickly as possible using a c# app, and have seen references to batch processes being the best way to do this. Not ...
1
vote
1answer
417 views

SP ProcessBatchData inside the Event Receiver, slow performance issue

I am writing an Event Receiver on a Document Library to create a new list from the uploaded excel file. it runs on ItemAdded() and ItemUpdated() event. Before calling a method to add new Items to ...
0
votes
1answer
2k views

Search excel spreadsheet or Microsoft access within sharepoint

I have a spreadsheet with a list of batch jobs. I was wondering if it's possible to create some type of search into a sharepoint to search this spreadsheet. We are using sharepoint and if I could have ...
1
vote
1answer
713 views

ProcessBatchData returns ErrorText:Invalid text value

ProcessBatchData returns error: Id:1 Code:-2130575336 ItemId:0 ErrorText:Invalid text value. A text field contains invalid data. Please check the value and try again.Id:2 Code:-2147023673 ItemId:0 ...
2
votes
1answer
666 views

CAML batch query - valid XML?

The standard format of a CAML batch query is as follows: <?xml version="1.0" encoding="UTF-8"?> <ows:Batch OnError="Continue"> <Method ID=""> <SetList>288a3dfc-ec52-45aa-...
0
votes
1answer
178 views

How can I create web application, site collection, and sites automatically with batch file and power shell

Is there any way that I can create a web application, site collection and sites using poweshell and batch file automatically? So, User has to click on executable batch file which will create the web ...
1
vote
1answer
1k views

How to use Power Shell cmdlets with batch file?

I have bit interesting requirements. My client want to develop the Sharepoint 2010 administration UI from Java application. So I suggest him to user Sharepoint web services. As we all know its good to ...
4
votes
2answers
4k views

Client Object Model : “Microsoft.SharePoint.Client.ServerException: The request uses too many resources”

When deleting 1000+ (link) items from a list in one batch using the COM, I encountered this exception : Microsoft.SharePoint.Client.ServerException: The request uses too many resources It seems that ...