@pnp/cli-microsoft365 6.6.0 → 6.7.0-beta.54db310
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/csom.json +2 -0
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +144 -0
- package/dist/m365/spo/commands/list/list-add.js +7 -0
- package/dist/m365/spo/commands/list/list-set.js +7 -0
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/team/team-add.js +2 -2
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +25 -9
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.md +145 -0
- package/docs/docs/cmd/spo/list/list-add.md +3 -0
- package/docs/docs/cmd/spo/list/list-set.md +3 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/csom.json
CHANGED
|
@@ -176,6 +176,7 @@
|
|
|
176
176
|
"Description": "String",
|
|
177
177
|
"DescriptionResource": "UserResource",
|
|
178
178
|
"Direction": "String",
|
|
179
|
+
"DisableCommenting": "Boolean",
|
|
179
180
|
"DisableGridEditing": "Boolean",
|
|
180
181
|
"DocumentTemplateUrl": "String",
|
|
181
182
|
"DraftVersionVisibility": "DraftVisibilityType",
|
|
@@ -254,6 +255,7 @@
|
|
|
254
255
|
"DefaultNewFormUrl": "String",
|
|
255
256
|
"Description": "String",
|
|
256
257
|
"Direction": "String",
|
|
258
|
+
"DisableCommenting": "Boolean",
|
|
257
259
|
"DisableGridEditing": "Boolean",
|
|
258
260
|
"DocumentTemplateUrl": "String",
|
|
259
261
|
"DraftVersionVisibility": "DraftVisibilityType",
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
13
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
14
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
15
|
+
};
|
|
16
|
+
var _SpoApplicationCustomizerGetCommand_instances, _SpoApplicationCustomizerGetCommand_initTelemetry, _SpoApplicationCustomizerGetCommand_initOptions, _SpoApplicationCustomizerGetCommand_initValidators, _SpoApplicationCustomizerGetCommand_initOptionSets;
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const formatting_1 = require("../../../../utils/formatting");
|
|
19
|
+
const spo_1 = require("../../../../utils/spo");
|
|
20
|
+
const validation_1 = require("../../../../utils/validation");
|
|
21
|
+
const SpoCommand_1 = require("../../../base/SpoCommand");
|
|
22
|
+
const commands_1 = require("../../commands");
|
|
23
|
+
class SpoApplicationCustomizerGetCommand extends SpoCommand_1.default {
|
|
24
|
+
get name() {
|
|
25
|
+
return commands_1.default.APPLICATIONCUSTOMIZER_GET;
|
|
26
|
+
}
|
|
27
|
+
get description() {
|
|
28
|
+
return 'Get an application customizer that is added to a site.';
|
|
29
|
+
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
_SpoApplicationCustomizerGetCommand_instances.add(this);
|
|
33
|
+
this.allowedScopes = ['All', 'Site', 'Web'];
|
|
34
|
+
__classPrivateFieldGet(this, _SpoApplicationCustomizerGetCommand_instances, "m", _SpoApplicationCustomizerGetCommand_initTelemetry).call(this);
|
|
35
|
+
__classPrivateFieldGet(this, _SpoApplicationCustomizerGetCommand_instances, "m", _SpoApplicationCustomizerGetCommand_initOptions).call(this);
|
|
36
|
+
__classPrivateFieldGet(this, _SpoApplicationCustomizerGetCommand_instances, "m", _SpoApplicationCustomizerGetCommand_initValidators).call(this);
|
|
37
|
+
__classPrivateFieldGet(this, _SpoApplicationCustomizerGetCommand_instances, "m", _SpoApplicationCustomizerGetCommand_initOptionSets).call(this);
|
|
38
|
+
}
|
|
39
|
+
commandAction(logger, args) {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
try {
|
|
42
|
+
const customAction = yield this.getCustomAction(args.options);
|
|
43
|
+
if (customAction) {
|
|
44
|
+
logger.log({
|
|
45
|
+
ClientSideComponentId: customAction.ClientSideComponentId,
|
|
46
|
+
ClientSideComponentProperties: customAction.ClientSideComponentProperties,
|
|
47
|
+
CommandUIExtension: customAction.CommandUIExtension,
|
|
48
|
+
Description: customAction.Description,
|
|
49
|
+
Group: customAction.Group,
|
|
50
|
+
Id: customAction.Id,
|
|
51
|
+
ImageUrl: customAction.ImageUrl,
|
|
52
|
+
Location: customAction.Location,
|
|
53
|
+
Name: customAction.Name,
|
|
54
|
+
RegistrationId: customAction.RegistrationId,
|
|
55
|
+
RegistrationType: customAction.RegistrationType,
|
|
56
|
+
Rights: JSON.stringify(customAction.Rights),
|
|
57
|
+
Scope: this.humanizeScope(customAction.Scope),
|
|
58
|
+
ScriptBlock: customAction.ScriptBlock,
|
|
59
|
+
ScriptSrc: customAction.ScriptSrc,
|
|
60
|
+
Sequence: customAction.Sequence,
|
|
61
|
+
Title: customAction.Title,
|
|
62
|
+
Url: customAction.Url,
|
|
63
|
+
VersionOfUserCustomAction: customAction.VersionOfUserCustomAction
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
catch (err) {
|
|
68
|
+
this.handleRejectedPromise(err);
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
getCustomAction(options) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
if (options.id) {
|
|
75
|
+
const customAction = yield spo_1.spo.getCustomActionById(options.webUrl, options.id, options.scope);
|
|
76
|
+
if (!customAction || (customAction && customAction.Location !== 'ClientSideExtension.ApplicationCustomizer')) {
|
|
77
|
+
throw `No application customizer with id '${options.id}' found`;
|
|
78
|
+
}
|
|
79
|
+
return customAction;
|
|
80
|
+
}
|
|
81
|
+
const filter = options.title ? `Title eq '${formatting_1.formatting.encodeQueryParameter(options.title)}'` : `ClientSideComponentId eq guid'${formatting_1.formatting.encodeQueryParameter(options.clientSideComponentId)}'`;
|
|
82
|
+
const customActions = yield spo_1.spo.getCustomActions(options.webUrl, options.scope, `${filter} and Location eq 'ClientSideExtension.ApplicationCustomizer'`);
|
|
83
|
+
if (customActions.length === 1) {
|
|
84
|
+
return customActions[0];
|
|
85
|
+
}
|
|
86
|
+
const errorMessage = options.title ? `title '${options.title}'` : `Client Side Component Id '${options.clientSideComponentId}'`;
|
|
87
|
+
if (customActions.length === 0) {
|
|
88
|
+
throw `No application customizer with ${errorMessage} found`;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
throw `Multiple application customizers with ${errorMessage} found. Please disambiguate using IDs: ${customActions.map(a => a.Id).join(', ')}`;
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
humanizeScope(scope) {
|
|
96
|
+
switch (scope) {
|
|
97
|
+
case 2:
|
|
98
|
+
return "Site";
|
|
99
|
+
case 3:
|
|
100
|
+
return "Web";
|
|
101
|
+
}
|
|
102
|
+
return `${scope}`;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
_SpoApplicationCustomizerGetCommand_instances = new WeakSet(), _SpoApplicationCustomizerGetCommand_initTelemetry = function _SpoApplicationCustomizerGetCommand_initTelemetry() {
|
|
106
|
+
this.telemetry.push((args) => {
|
|
107
|
+
Object.assign(this.telemetryProperties, {
|
|
108
|
+
title: typeof args.options.title !== 'undefined',
|
|
109
|
+
id: typeof args.options.id !== 'undefined',
|
|
110
|
+
clientSideComponentId: typeof args.options.clientSideComponentId !== 'undefined',
|
|
111
|
+
scope: typeof args.options.scope !== 'undefined'
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
}, _SpoApplicationCustomizerGetCommand_initOptions = function _SpoApplicationCustomizerGetCommand_initOptions() {
|
|
115
|
+
this.options.unshift({
|
|
116
|
+
option: '-u, --webUrl <webUrl>'
|
|
117
|
+
}, {
|
|
118
|
+
option: '-t, --title [title]'
|
|
119
|
+
}, {
|
|
120
|
+
option: '-i, --id [id]'
|
|
121
|
+
}, {
|
|
122
|
+
option: '-c, --clientSideComponentId [clientSideComponentId]'
|
|
123
|
+
}, {
|
|
124
|
+
option: '-s, --scope [scope]',
|
|
125
|
+
autocomplete: this.allowedScopes
|
|
126
|
+
});
|
|
127
|
+
}, _SpoApplicationCustomizerGetCommand_initValidators = function _SpoApplicationCustomizerGetCommand_initValidators() {
|
|
128
|
+
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
if (args.options.id && !validation_1.validation.isValidGuid(args.options.id)) {
|
|
130
|
+
return `${args.options.id} is not a valid GUID`;
|
|
131
|
+
}
|
|
132
|
+
if (args.options.clientSideComponentId && !validation_1.validation.isValidGuid(args.options.clientSideComponentId)) {
|
|
133
|
+
return `${args.options.clientSideComponentId} is not a valid GUID`;
|
|
134
|
+
}
|
|
135
|
+
if (args.options.scope && this.allowedScopes.indexOf(args.options.scope) === -1) {
|
|
136
|
+
return `'${args.options.scope}' is not a valid application customizer scope. Allowed values are: ${this.allowedScopes.join(',')}`;
|
|
137
|
+
}
|
|
138
|
+
return validation_1.validation.isValidSharePointUrl(args.options.webUrl);
|
|
139
|
+
}));
|
|
140
|
+
}, _SpoApplicationCustomizerGetCommand_initOptionSets = function _SpoApplicationCustomizerGetCommand_initOptionSets() {
|
|
141
|
+
this.optionSets.push({ options: ['title', 'id', 'clientSideComponentId'] });
|
|
142
|
+
};
|
|
143
|
+
module.exports = new SpoApplicationCustomizerGetCommand();
|
|
144
|
+
//# sourceMappingURL=applicationcustomizer-get.js.map
|
|
@@ -144,6 +144,9 @@ class SpoListAddCommand extends SpoCommand_1.default {
|
|
|
144
144
|
if (options.direction) {
|
|
145
145
|
requestBody.Direction = options.direction;
|
|
146
146
|
}
|
|
147
|
+
if (options.disableCommenting !== undefined) {
|
|
148
|
+
requestBody.DisableCommenting = options.disableCommenting;
|
|
149
|
+
}
|
|
147
150
|
if (options.disableGridEditing !== undefined) {
|
|
148
151
|
requestBody.DisableGridEditing = options.disableGridEditing;
|
|
149
152
|
}
|
|
@@ -377,6 +380,9 @@ _SpoListAddCommand_instances = new WeakSet(), _SpoListAddCommand_initTelemetry =
|
|
|
377
380
|
}, {
|
|
378
381
|
option: '--direction [direction]',
|
|
379
382
|
autocomplete: ['NONE', 'LTR', 'RTL']
|
|
383
|
+
}, {
|
|
384
|
+
option: '--disableCommenting [disableCommenting]',
|
|
385
|
+
autocomplete: ['true', 'false']
|
|
380
386
|
}, {
|
|
381
387
|
option: '--disableGridEditing [disableGridEditing]',
|
|
382
388
|
autocomplete: ['true', 'false']
|
|
@@ -585,6 +591,7 @@ SpoListAddCommand.booleanOptions = [
|
|
|
585
591
|
'allowMultiResponses',
|
|
586
592
|
'contentTypesEnabled',
|
|
587
593
|
'crawlNonDefaultViews',
|
|
594
|
+
'disableCommenting',
|
|
588
595
|
'disableGridEditing',
|
|
589
596
|
'enableAssignToEmail',
|
|
590
597
|
'enableAttachments',
|
|
@@ -146,6 +146,9 @@ class SpoListSetCommand extends SpoCommand_1.default {
|
|
|
146
146
|
if (options.direction) {
|
|
147
147
|
requestBody.Direction = options.direction;
|
|
148
148
|
}
|
|
149
|
+
if (options.disableCommenting !== undefined) {
|
|
150
|
+
requestBody.DisableCommenting = options.disableCommenting;
|
|
151
|
+
}
|
|
149
152
|
if (options.disableGridEditing !== undefined) {
|
|
150
153
|
requestBody.DisableGridEditing = options.disableGridEditing;
|
|
151
154
|
}
|
|
@@ -380,6 +383,9 @@ _SpoListSetCommand_instances = new WeakSet(), _SpoListSetCommand_initTelemetry =
|
|
|
380
383
|
}, {
|
|
381
384
|
option: '--direction [direction]',
|
|
382
385
|
autocomplete: ['NONE', 'LTR', 'RTL']
|
|
386
|
+
}, {
|
|
387
|
+
option: '--disableCommenting [disableCommenting]',
|
|
388
|
+
autocomplete: ['true', 'false']
|
|
383
389
|
}, {
|
|
384
390
|
option: '--disableGridEditing [disableGridEditing]',
|
|
385
391
|
autocomplete: ['true', 'false']
|
|
@@ -591,6 +597,7 @@ SpoListSetCommand.booleanOptions = [
|
|
|
591
597
|
'allowMultiResponses',
|
|
592
598
|
'contentTypesEnabled',
|
|
593
599
|
'crawlNonDefaultViews',
|
|
600
|
+
'disableCommenting',
|
|
594
601
|
'disableGridEditing',
|
|
595
602
|
'enableAssignToEmail',
|
|
596
603
|
'enableAttachments',
|
|
@@ -14,6 +14,7 @@ exports.default = {
|
|
|
14
14
|
APP_UNINSTALL: `${prefix} app uninstall`,
|
|
15
15
|
APP_UPGRADE: `${prefix} app upgrade`,
|
|
16
16
|
APPLICATIONCUSTOMIZER_ADD: `${prefix} applicationcustomizer add`,
|
|
17
|
+
APPLICATIONCUSTOMIZER_GET: `${prefix} applicationcustomizer get`,
|
|
17
18
|
APPLICATIONCUSTOMIZER_LIST: `${prefix} applicationcustomizer list`,
|
|
18
19
|
APPPAGE_ADD: `${prefix} apppage add`,
|
|
19
20
|
APPPAGE_SET: `${prefix} apppage set`,
|
|
@@ -99,7 +99,7 @@ class TeamsTeamAddCommand extends GraphCommand_1.default {
|
|
|
99
99
|
}
|
|
100
100
|
}));
|
|
101
101
|
let output;
|
|
102
|
-
if (
|
|
102
|
+
if (!args.options.wait) {
|
|
103
103
|
output = teamsAsyncOperation;
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
@@ -139,7 +139,7 @@ _TeamsTeamAddCommand_instances = new WeakSet(), _TeamsTeamAddCommand_initTelemet
|
|
|
139
139
|
name: typeof args.options.name !== 'undefined',
|
|
140
140
|
description: typeof args.options.description !== 'undefined',
|
|
141
141
|
template: typeof args.options.template !== 'undefined',
|
|
142
|
-
wait: args.options.wait
|
|
142
|
+
wait: !!args.options.wait
|
|
143
143
|
});
|
|
144
144
|
});
|
|
145
145
|
}, _TeamsTeamAddCommand_initOptions = function _TeamsTeamAddCommand_initOptions() {
|
|
@@ -52,17 +52,34 @@ m365 pp tenant settings list
|
|
|
52
52
|
"powerApps": {
|
|
53
53
|
"disableShareWithEveryone": false,
|
|
54
54
|
"enableGuestsToMake": false,
|
|
55
|
-
"disableMembersIndicator": false
|
|
55
|
+
"disableMembersIndicator": false,
|
|
56
|
+
"disableMakerMatch": false,
|
|
57
|
+
"disableUnusedLicenseAssignment": false
|
|
58
|
+
},
|
|
59
|
+
"environments": {
|
|
60
|
+
"disablePreferredDataLocationForTeamsEnvironment": false
|
|
56
61
|
},
|
|
57
|
-
"environments": {},
|
|
58
62
|
"governance": {
|
|
59
|
-
"disableAdminDigest":
|
|
60
|
-
"
|
|
63
|
+
"disableAdminDigest": true,
|
|
64
|
+
"disableDeveloperEnvironmentCreationByNonAdminUsers": false,
|
|
65
|
+
"enableDefaultEnvironmentRouting": false
|
|
61
66
|
},
|
|
62
67
|
"licensing": {
|
|
63
|
-
"disableBillingPolicyCreationByNonAdminUsers": false
|
|
68
|
+
"disableBillingPolicyCreationByNonAdminUsers": false,
|
|
69
|
+
"storageCapacityConsumptionWarningThreshold": 85
|
|
70
|
+
},
|
|
71
|
+
"powerPages": {},
|
|
72
|
+
"champions": {
|
|
73
|
+
"disableChampionsInvitationReachout": false,
|
|
74
|
+
"disableSkillsMatchInvitationReachout": false
|
|
75
|
+
},
|
|
76
|
+
"intelligence": {
|
|
77
|
+
"disableCopilot": false,
|
|
78
|
+
"enableOpenAiBotPublishing": false
|
|
64
79
|
},
|
|
65
|
-
"
|
|
80
|
+
"modelExperimentation": {
|
|
81
|
+
"enableModelDataSharing": false
|
|
82
|
+
}
|
|
66
83
|
}
|
|
67
84
|
}
|
|
68
85
|
```
|
|
@@ -83,8 +100,8 @@ m365 pp tenant settings list
|
|
|
83
100
|
=== "CSV"
|
|
84
101
|
|
|
85
102
|
```csv
|
|
86
|
-
|
|
87
|
-
|
|
103
|
+
walkMeOptOut,disableNPSCommentsReachout,disableNewsletterSendout,disableEnvironmentCreationByNonAdminUsers,disablePortalsCreationByNonAdminUsers,disableSurveyFeedback,disableTrialEnvironmentCreationByNonAdminUsers,disableCapacityAllocationByEnvironmentAdmins,disableSupportTicketsVisibleByAllUsers
|
|
104
|
+
,,,,,,,,
|
|
88
105
|
```
|
|
89
106
|
|
|
90
107
|
=== "Markdown"
|
|
@@ -105,5 +122,4 @@ m365 pp tenant settings list
|
|
|
105
122
|
disableTrialEnvironmentCreationByNonAdminUsers | false
|
|
106
123
|
disableCapacityAllocationByEnvironmentAdmins | false
|
|
107
124
|
disableSupportTicketsVisibleByAllUsers | false
|
|
108
|
-
powerPlatform | {"search":{"disableDocsSearch":false,"disableCommunitySearch":false,"disableBingVideoSearch":false},"teamsIntegration":{"shareWithColleaguesUserLimit":10000},"powerApps":{"disableShareWithEveryone":false,"enableGuestsToMake":false,"disableMembersIndicator":false},"environments":{},"governance":{"disableAdminDigest":false,"disableDeveloperEnvironmentCreationByNonAdminUsers":false},"licensing":{"disableBillingPolicyCreationByNonAdminUsers":false},"powerPages":{}}
|
|
109
125
|
```
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# spo applicationcustomizer get
|
|
2
|
+
|
|
3
|
+
Get an application customizer that is added to a site.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo applicationcustomizer get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site.
|
|
15
|
+
|
|
16
|
+
`-t, --title [title]`
|
|
17
|
+
: The title of the Application Customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
18
|
+
|
|
19
|
+
`-i, --id [id]`
|
|
20
|
+
: The id of the Application Customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
21
|
+
|
|
22
|
+
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
23
|
+
: The Client Side Component Id (GUID) of the application customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
24
|
+
|
|
25
|
+
`-s, --scope [scope]`
|
|
26
|
+
: Scope of the application customizer. Allowed values: `Site`, `Web`, `All`. Defaults to `All`.
|
|
27
|
+
|
|
28
|
+
--8<-- "docs/cmd/_global.md"
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
Retrieves an application customizer by title.
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Retrieves an application customizer by id.
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Retrieves an application customizer by clientSideComponentId.
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo applicationcustomizer get --clientSideComponentId 7096cded-b83d-4eab-96f0-df477ed7c0bc --webUrl https://contoso.sharepoint.com/sites/sales
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Retrieves an application customizer by title available at the site scope.
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales --scope site
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
=== "JSON"
|
|
59
|
+
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"ClientSideComponentId": "7096cded-b83d-4eab-96f0-df477ed7c0bc",
|
|
63
|
+
"ClientSideComponentProperties": "",
|
|
64
|
+
"CommandUIExtension": null,
|
|
65
|
+
"Description": null,
|
|
66
|
+
"Group": null,
|
|
67
|
+
"Id": "14125658-a9bc-4ddf-9c75-1b5767c9a337",
|
|
68
|
+
"ImageUrl": null,
|
|
69
|
+
"Location": "ClientSideExtension.ApplicationCustomizer",
|
|
70
|
+
"Name": "Some customizer",
|
|
71
|
+
"RegistrationId": null,
|
|
72
|
+
"RegistrationType": 0,
|
|
73
|
+
"Rights": "{\"High\":0,\"Low\":0}",
|
|
74
|
+
"Scope": "Web",
|
|
75
|
+
"ScriptBlock": null,
|
|
76
|
+
"ScriptSrc": null,
|
|
77
|
+
"Sequence": 0,
|
|
78
|
+
"Title": "Some customizer",
|
|
79
|
+
"Url": null,
|
|
80
|
+
"VersionOfUserCustomAction": "16.0.1.0"
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
=== "Text"
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
ClientSideComponentId : 7096cded-b83d-4eab-96f0-df477ed7c0bc
|
|
88
|
+
ClientSideComponentProperties:
|
|
89
|
+
CommandUIExtension : null
|
|
90
|
+
Description : null
|
|
91
|
+
Group : null
|
|
92
|
+
Id : 14125658-a9bc-4ddf-9c75-1b5767c9a337
|
|
93
|
+
ImageUrl : null
|
|
94
|
+
Location : ClientSideExtension.ApplicationCustomizer
|
|
95
|
+
Name : Some customizer
|
|
96
|
+
RegistrationId : null
|
|
97
|
+
RegistrationType : 0
|
|
98
|
+
Rights : {"High":0,"Low":0}
|
|
99
|
+
Scope : Web
|
|
100
|
+
ScriptBlock : null
|
|
101
|
+
ScriptSrc : null
|
|
102
|
+
Sequence : 0
|
|
103
|
+
Title : Some customizer
|
|
104
|
+
Url : null
|
|
105
|
+
VersionOfUserCustomAction : 16.0.1.0
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
=== "CSV"
|
|
109
|
+
|
|
110
|
+
```csv
|
|
111
|
+
ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Rights,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
|
|
112
|
+
7096cded-b83d-4eab-96f0-df477ed7c0bc,,,,,14125658-a9bc-4ddf-9c75-1b5767c9a337,,ClientSideExtension.ApplicationCustomizer,Some customizer,,0,"{""High"":0,""Low"":0}",Web,,,0,Some customizer,,16.0.1.0
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
=== "Markdown"
|
|
116
|
+
|
|
117
|
+
```md
|
|
118
|
+
# spo applicationcustomizer get --title "Some customizer" --webUrl "https://nachan365.sharepoint.com/sites/spdemo" --scope "Web"
|
|
119
|
+
|
|
120
|
+
Date: 3/6/2023
|
|
121
|
+
|
|
122
|
+
## Some customizer (14125658-a9bc-4ddf-9c75-1b5767c9a337)
|
|
123
|
+
|
|
124
|
+
Property | Value
|
|
125
|
+
---------|-------
|
|
126
|
+
ClientSideComponentId | 7096cded-b83d-4eab-96f0-df477ed7c0bc
|
|
127
|
+
ClientSideComponentProperties |
|
|
128
|
+
CommandUIExtension | null
|
|
129
|
+
Description | null
|
|
130
|
+
Group | null
|
|
131
|
+
Id | 14125658-a9bc-4ddf-9c75-1b5767c9a337
|
|
132
|
+
ImageUrl | null
|
|
133
|
+
Location | ClientSideExtension.ApplicationCustomizer
|
|
134
|
+
Name | Some customizer
|
|
135
|
+
RegistrationId | null
|
|
136
|
+
RegistrationType | 0
|
|
137
|
+
Rights | {"High":0,"Low":0}
|
|
138
|
+
Scope | Web
|
|
139
|
+
ScriptBlock | null
|
|
140
|
+
ScriptSrc | null
|
|
141
|
+
Sequence | 0
|
|
142
|
+
Title | Some customizer
|
|
143
|
+
Url | null
|
|
144
|
+
VersionOfUserCustomAction | 16.0.1.0
|
|
145
|
+
```
|
|
@@ -52,6 +52,9 @@ m365 spo list add [options]
|
|
|
52
52
|
`--direction [direction]`
|
|
53
53
|
: Value that specifies the reading order of the list. Valid values are `NONE`, `LTR`, `RTL`.
|
|
54
54
|
|
|
55
|
+
`--disableCommenting [disableCommenting]`
|
|
56
|
+
: Property for enabling or disabling commenting on the list. Valid values are `true`, `false`.
|
|
57
|
+
|
|
55
58
|
`--disableGridEditing [disableGridEditing]`
|
|
56
59
|
: Property for assigning or retrieving grid editing on the list. Valid values are `true`, `false`.
|
|
57
60
|
|
|
@@ -55,6 +55,9 @@ m365 spo list set [options]
|
|
|
55
55
|
`--direction [direction]`
|
|
56
56
|
: Value that specifies the reading order of the list. Valid values are `NONE`, `LTR`, `RTL`.
|
|
57
57
|
|
|
58
|
+
`--disableCommenting [disableCommenting]`
|
|
59
|
+
: Property for enabling or disabling commenting on the list. Valid values are `true`, `false`.
|
|
60
|
+
|
|
58
61
|
`--disableGridEditing [disableGridEditing]`
|
|
59
62
|
: Property for assigning or retrieving grid editing on the list. Valid values are `true`, `false`.
|
|
60
63
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.7.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pnp/cli-microsoft365",
|
|
9
|
-
"version": "6.
|
|
9
|
+
"version": "6.7.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-node": "^1.16.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.7.0-beta.54db310",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -277,4 +277,4 @@
|
|
|
277
277
|
"sinon": "^15.0.3",
|
|
278
278
|
"source-map-support": "^0.5.21"
|
|
279
279
|
}
|
|
280
|
-
}
|
|
280
|
+
}
|