spo applicationcustomizer get
Get an application customizer that is added to a site
Usage
m365 spo applicationcustomizer get [options]
Options
-u, --webUrl <webUrl>
URL of the site.
-t, --title [title]
The title of the Application Customizer. Specify either
title
,id
orclientSideComponentId
.-i, --id [id]
The id of the Application Customizer. Specify either
title
,id
orclientSideComponentId
.-c, --clientSideComponentId [clientSideComponentId]
The Client Side Component Id (GUID) of the application customizer. Specify either
title
,id
orclientSideComponentId
.-s, --scope [scope]
Scope of the application customizer. Allowed values:
Site
,Web
,All
. Defaults toAll
.-p, --clientSideComponentProperties
Only output the client-side component properties.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
This command can be used for retrieving an application customizer from a specific site. To retrieve an application customizer that's installed tenant-wide, view our dedicated spo tenant applicationcustomizer get command.
Examples
Retrieves an application customizer by title.
m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales
Retrieves an application customizer by id.
m365 spo applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales
Retrieves an application customizer by clientSideComponentId.
m365 spo applicationcustomizer get --clientSideComponentId 7096cded-b83d-4eab-96f0-df477ed7c0bc --webUrl https://contoso.sharepoint.com/sites/sales
Retrieves an application customizer by title available at the site scope.
m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales --scope site
Retrieves the client-side component properties of a application customizer.
m365 spo applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales --clientSideComponentProperties
Response
Standard response
- JSON
- Text
- CSV
- Markdown
{
"ClientSideComponentId": "9a8b100c-246b-4592-9454-67826523e159",
"ClientSideComponentProperties": "{\"testMessage\":\"Test message\"}",
"CommandUIExtension": null,
"Description": null,
"Group": null,
"HostProperties": "",
"Id": "4a428b32-08cf-45c7-9986-17585af38806",
"ImageUrl": null,
"Location": "ClientSideExtension.ApplicationCustomizer",
"Name": "{4a428b32-08cf-45c7-9986-17585af38806}",
"RegistrationId": null,
"RegistrationType": 0,
"Rights": {
"High": 0,
"Low": 0
},
"Scope": "Web",
"ScriptBlock": null,
"ScriptSrc": null,
"Sequence": 65536,
"Title": "HelloWorld",
"Url": null,
"VersionOfUserCustomAction": "1.0.1.0"
}
ClientSideComponentId : 9a8b100c-246b-4592-9454-67826523e159
ClientSideComponentProperties: {"testMessage":"Test message"}
CommandUIExtension : null
Description : null
Group : null
HostProperties :
Id : 4a428b32-08cf-45c7-9986-17585af38806
ImageUrl : null
Location : ClientSideExtension.ApplicationCustomizer
Name : {4a428b32-08cf-45c7-9986-17585af38806}
RegistrationId : null
RegistrationType : 0
Scope : Web
ScriptBlock : null
ScriptSrc : null
Sequence : 65536
Title : HelloWorld
Url : null
VersionOfUserCustomAction : 1.0.1.0
ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
9a8b100c-246b-4592-9454-67826523e159,"{""testMessage"":""Test message""}",,,,4a428b32-08cf-45c7-9986-17585af38806,,ClientSideExtension.ApplicationCustomizer,Some customizer,,0,Web,,,0,Some customizer,,16.0.1.0
# spo applicationcustomizer get --webUrl "https://contoso.sharepoint.com/sites/Marketing" --id "4a428b32-08cf-45c7-9986-17585af38806"
Date: 16/05/2024
## HelloWorld (4a428b32-08cf-45c7-9986-17585af38806)
Property | Value
---------|-------
ClientSideComponentId | 9a8b100c-246b-4592-9454-67826523e159
ClientSideComponentProperties | {"testMessage":"Test message"}
HostProperties |
Id | 4a428b32-08cf-45c7-9986-17585af38806
Location | ClientSideExtension.ApplicationCustomizer
Name | {4a428b32-08cf-45c7-9986-17585af38806}
RegistrationType | 0
Scope | Web
Sequence | 65536
Title | HelloWorld
VersionOfUserCustomAction | 1.0.1.0
clientSideComponentProperties
response
- JSON
- Text
- CSV
- Markdown
{
"testMessage": "Test message"
}
testMessage: Test message
testMessage
Test message
# spo applicationcustomizer get --title "Some customizer" --webUrl "https://contoso.sharepoint.com/sites/sales" --scope "Web" --clientSideComponentProperties "true"
Date: 15/05/2024
Property | Value
---------|-------
testMessage | Test message