Skip to content

Latest commit

 

History

History
158 lines (127 loc) · 5.32 KB

tenant-commandset-get.mdx

File metadata and controls

158 lines (127 loc) · 5.32 KB

import Global from '/docs/cmd/_global.mdx'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

spo tenant commandset get

Get a ListView Command Set that is installed tenant-wide

Usage

m365 spo tenant commandset get [options]

Options

`-t, --title [title]`
: The title of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.

`-i, --id [id]`
: The id of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.

`-c, --clientSideComponentId  [clientSideComponentId]`
: The Client Side Component Id (GUID) of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.

Remarks

This command can be used for retrieving a ListView Command Set that's installed tenant-wide. To retrieve a ListView Command Set from a specific site, view our dedicated spo commandset get command.

Examples

Retrieves a ListView Command Set by title.

m365 spo tenant commandset get --title "Some customizer"

Retrieves a ListView Command Set by id.

m365 spo tenant commandset get --id 3

Retrieves a ListView Command Set by clientSideComponentId.

m365 spo tenant commandset get --clientSideComponentId 7096cded-b83d-4eab-96f0-df477ed7c0bc

Response

{
  "FileSystemObjectType": 0,
  "Id": 4,
  "ServerRedirectedEmbedUri": null,
  "ServerRedirectedEmbedUrl": "",
  "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
  "Title": "Some ListView Command Set",
  "Modified": "2023-01-11T15:47:38Z",
  "Created": "2023-01-11T15:47:38Z",
  "AuthorId": 9,
  "EditorId": 9,
  "OData__UIVersionString": "1.0",
  "Attachments": false,
  "GUID": "14125658-a9bc-4ddf-9c75-1b5767c9a337",
  "ComplianceAssetId": null,
  "TenantWideExtensionComponentId": "7096cded-b83d-4eab-96f0-df477ed7c0bc",
  "TenantWideExtensionComponentProperties": "{\"testMessage\":\"Test message\"}",
  "TenantWideExtensionWebTemplate": null,
  "TenantWideExtensionListTemplate": 101,
  "TenantWideExtensionLocation": "ClientSideExtension.ListViewCommandSet.ContextMenu",
  "TenantWideExtensionSequence": 0,
  "TenantWideExtensionHostProperties": null,
  "TenantWideExtensionDisabled": false
}
Attachments                           : false
AuthorId                              : 9
ComplianceAssetId                     : null
ContentTypeId                         : 0x00693E2C487575B448BD420C12CEAE7EFE
Created                               : 2023-01-11T15:47:38Z
EditorId                              : 9
FileSystemObjectType                  : 0
GUID                                  : 14125658-a9bc-4ddf-9c75-1b5767c9a337
Id                                    : 4
Modified                              : 2023-01-11T15:47:38Z
OData__UIVersionString                : 1.0
ServerRedirectedEmbedUri              : null
ServerRedirectedEmbedUrl              :
TenantWideExtensionComponentId        : 7096cded-b83d-4eab-96f0-df477ed7c0bc
TenantWideExtensionComponentProperties: {"testMessage":"Test message"}
TenantWideExtensionDisabled           : false
TenantWideExtensionHostProperties     : null
TenantWideExtensionListTemplate       : 101
TenantWideExtensionLocation           : ClientSideExtension.ListViewCommandSet.ContextMenu
TenantWideExtensionSequence           : 0
TenantWideExtensionWebTemplate        : null
Title                                 : Some ListView Command Set
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
0,4,,,0x00693E2C487575B448BD420C12CEAE7EFE,Some ListView Command Set,2023-01-11T15:47:38Z,2023-01-11T15:47:38Z,9,9,1.0,,14125658-a9bc-4ddf-9c75-1b5767c9a337,,7096cded-b83d-4eab-96f0-df477ed7c0bc,"{""testMessage"":""Test message""}",,101,ClientSideExtension.ListViewCommandSet.ContextMenu,0,,
# spo tenant commandset get --title "Some ListView Command Set"

Date: 1/13/2023

## Some ListView Command Set (4)

Property | Value
---------|-------
FileSystemObjectType | 0
Id | 4
ServerRedirectedEmbedUri | null
ServerRedirectedEmbedUrl |
ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
Title | Some customizer
Modified | 2023-01-11T15:47:38Z
Created | 2023-01-11T15:47:38Z
AuthorId | 9
EditorId | 9
OData\_\_UIVersionString | 1.0
Attachments | false
GUID | 14125658-a9bc-4ddf-9c75-1b5767c9a337
ComplianceAssetId | null
TenantWideExtensionComponentId | 7096cded-b83d-4eab-96f0-df477ed7c0bc
TenantWideExtensionWebTemplate | null
TenantWideExtensionListTemplate | 101
TenantWideExtensionLocation | ClientSideExtension.ListViewCommandSet.ContextMenu
TenantWideExtensionSequence | 0
TenantWideExtensionHostProperties | null
TenantWideExtensionDisabled | false