Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Enable batching for SharePoint List Item creation #1203

Open
garrytrinder opened this issue Nov 24, 2019 · 0 comments

Comments

@garrytrinder
Copy link
Collaborator

@garrytrinder garrytrinder commented Nov 24, 2019

The spo listitem add command should allow users to create multiple SharePoint List Items without having to execute the same command multiple times.

If you need to create a couple of items this most likely is not an issue but we should consider scenarios where hundreds or even thousands of items need to be created. At the moment the automation script required to perform this action would run into hundreds and thousands of lines.

To address this issue, it is proposed that a new command be created under 'spo listitem' called 'batch' with a sub commands for add, i.e. spo listitem batch add, that takes a definition file (initially txt or csv) as an input which describes each item to be created when the command is executed.

Example: spo listitem batch add --path listitems.csv

This approach would then allow us to further expand the batch command with more sub commands to cover remove, update and get should the need arise.

Once the approach is validated, we could implement it on other types like file, list, field, file, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.