Is it possible to register CustomAction link to site settings from Element.xml from SPFx package (SPPKG) in SharePoint Online?
I am able to create following using Element xml file using SPPKG;
- Custom Lists with schema
- Content Types
- File provisioning to library
However, when I try adding a link to site settings using following code;
<CustomActionGroup Id="CustomGroup" Location="Microsoft.SharePoint.SiteSettings" Title="Group" Sequence="100" Description="" /> <CustomAction Id="CustomLinkActionId" GroupId="CustomGroup" Location="Microsoft.SharePoint.SiteSettings" Sequence="1" Title="Dashboard" Description="Dashboard"> <UrlAction Url="~appWebUrl/_layouts/15/viewlsts.aspx" /> </CustomAction>
Above code doesn't execute at all. The new app to be added is just stucks at adding state for a long time and finally breaks with error.
my questions above;
- Is it possible to add
- Anything is wrong in above code?