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
New command: spo applicationcustomizer get
#4244
Comments
We should extend the spec with the logic to determine that the retrieved custom action actually represents an app customizer rather than something else. |
spo web applicationcustomizer get
spo applicationcustomizer get
Can I work on this? |
Yes please! |
Hi @martinlingstuyl For e.g. below request does not return the expected result. Please correct, if I misunderstood the spec. |
Hi @nanddeepn, because the value is a guid, you need to compare with a guid value. Try prefixing the word 'guid':
|
Thanks @martinlingstuyl |
It's easy to miss :) |
Usage
spo applicationcustomizer get
Description
Get an application customizer that is added to a site.
Options
-u, --webUrl <webUrl>
-t, --title [title]
title
,id
orclientSideComponentId
.-i, --id [id]
title
,id
orclientSideComponentId
.-c, --clientSideComponentId [clientSideComponentId]
title
,id
orclientSideComponentId
.-s, --scope [scope]
Site
,Web
,All
. Defaults toAll
.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.
Retrieves an application customizer by clientSideComponentId.
Additional Info
While developing we want to reuse the
getCustomActions
andgetCustomActionById
functions of the spo util class.We can use the shared code to only query the right type of customaction with a location value of
ClientSideExtension.ApplicationCustomizer
.The text was updated successfully, but these errors were encountered: