question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New command: get list items from the specified list

See original GitHub issue

Get list items from the specified list

  • command: spo listitem list -w|--webUrl <webUrl> -i|--id [id] -t|--title [title] -s|--pageSize [pageSize] -q|--query [query] -f|--field [fields]
  • webUrl: The URL of the site where the list from which to retrieve items is located
  • id: The ID of the list from which to retrieve items
  • title: The title of the list from which to retrieve items
  • pageSize: The number of items to retrieve per page request
  • query: The CAML query to use to retrieve items. Will ignore pageSize if specified
  • fields: Comma-separated list of fields to retrieve. Will retrieve all fields if not specified
  • either id or title must be specified to retrieve the list, but not both
  • if fields are not specified and the output is set to text (default), show only the value of Title and Id fields
  • requires connection to a SharePoint site

For more information see the Get-PnPListItem cmdlet

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
waldekmastykarzcommented, Feb 12, 2018

Woohoo! Awesome! Please, don’t hesitate to reach out if you have any questions or get stuck at any point. You know we’re on gitter, right: https://gitter.im/office365-cli/cli?

1reaction
sebastienlevertcommented, Feb 12, 2018

Hey @waldekmastykarz : I can take care of the list items aspect of O365 CLI! Give me some time, as it will be a first, but I think I can handle this one!

Read more comments on GitHub >

github_iconTop Results From Across the Web

New command: get list items from the specified list · Issue #268
query: The CAML query to use to retrieve items. Will ignore pageSize if specified. Specify query or filter but not both; filter: The...
Read more >
SharePoint Online: Get All List Items using PowerShell Script
This script gets all files and folders as list items from the list “Documents” in the given SharePoint Online site collection. On larger...
Read more >
Use PowerShell to Manage Lists, Views, and Items in ...
This is where the GetItems() method becomes useful. The method returns all list items or a subset of list items as defined by...
Read more >
Learn to Manage a Dynamic Redis List - Adam the Automator
Like RPUSHX, the LPUSHX command adds elements to the head of a list only if the specified list exists. If the specified list...
Read more >
Python List (With Examples) - Programiz
In this article, we'll learn everything about Python lists; how they are created, slicing of a list, adding or removing elements from them...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found