Open JP-SPEYK opened 1 year ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Hello, I've also noticed that there is no "Submit for approval" button available to be customized through the command bar customization.
In the file -> https://res-1.cdn.office.net/files/odsp-web-prod_2023-04-07.009/splistwebpack/669.js
The key _Publish1286 of item
{ "key": "Publish_1286", "iconProps": { "iconName": "ReadingMode" }, "name": "Submit for approval", "data-automationid": "PublishCommand", "actionState": { "isAvailable": true, "executingCount": 0 } }
Cannot be found in the object R which contains these values:
{ "newCommand_623": "new", "createWord_616": "newWordDocument", "createExcel_617": "newExcelWorkbook", "createPowerPoint_618": "newPowerPointPresentation", "createOneNote_619": "newOneNoteNotebook", "createFormForExcel_620": "newFormsForExcel", "createVisio_622": "newVisioDrawing", "createFolderCommand_614": "newFolder", "upload_628": "upload", "uploadFile_626": "uploadFile", "uploadFolder_627": "uploadFolder", "open_625": "open", "share_632": "share", "copyLink_633": "copyLink", "download_639": "download", "rename_641": "rename", "launchCopyPickerCommand_1752": "copyTo", "launchMovePickerCommand_1751": "moveTo", "delete_644": "delete" }
I guess that the issue can be quickly resolved by adding inputs to the object for missing command buttons.
We have a requirement to hide the 'Submit for approval' button and have hit this. Is there a known workaround or are we just stuck waiting?
Hi @JakeStanger , As far as I can see, there is still no option to hide it through view formatting (as described here https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-commandbar-formatting). As a workaround, in my case, I added an application extension with custom CSS to hide this button.
In de provided list with command keys, there are several missing. Could it be updated with keys for the buttons 'submit for approval', 'manage access', 'approve/reject'?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.