Forum Discussion
Alan Trafford
Oct 11, 2017Brass Contributor
SPFx webpart - Custom group name
Hi I've created an SPFx webpart and I'm struggling to add it to a group with a new name. I believe it's the preconfiguredEntries where I configure this. I've read the documentation here: http...
- Nov 14, 2017
Alan Trafford, Yannick Borghmans, Lee Hoffner
Check out this YouTube video (starting time set to the correct moment) published some hours ago where you can confirm that this functionality is not yet available :)
Joel
Yannick Borghmans
Nov 14, 2017Copper Contributor
Unfortunately, I have the same issue over here.
I already tried the following things:
- removing groupID (=> error it is expecting the field/property)
- groupID:null (=> error since it required to have a value)
- groupID : "" (=> error since it seems to be internally parsed to a guid)
- new guid for groupID
All of the above with the group property:
"group": { "default": "<new group name>" },
The 'docs.microsoft.com'-documentation seems to be clear, but it simply doesn't work:
groupId | string | yes | The group id determines which toolbox group will contain the web part. The SharePoint Framework reserves group ids for default groups. The developer can pick one of those groups. If a group id is specified, then the group property will be ignored. Alternatively, the developer can pick a completely unique id and a group name. The toolbox will then show the web part in its own group. | "groupId": "6737645a-4443-4210-a70e-e5e2a219133a" |
group | ILocalizedString | no | The name of the group in the toolbox in which the web part will be displayed. If no value is provided, then the web part will be displayed in the Custom group. | "group": { "default": "Content", "nl-nl": "Inhoud" } |
So it's definitely good to bring this topic under attention.