ACE template does not work with declarative assets provisioning
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
- [ ] 💥 Internet Explorer
- [X] 💥 Microsoft Edge
- [ ] 💥 Google Chrome
- [ ] 💥 FireFox
- [ ] 💥 Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [ ] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- browser version
- SPFx version
- Node.js version
- etc
Issue description
Two issues with ACE template of Yo generator
-
The ACE template from Yo does not provision the sharepoint list / fields via xml files in assets folder. Though a regular spfx template ( eg extension template ) does provision the
-
If uploaded the sppkg file in Site Collection App catalog, the app is not available to be added but if the sppkg is uploaded a tenant level app store , the app is available to be added to the site
cheers akshay
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
@techakki81 - sorry for the late response. I've just tried both scenarios and everything is working as expected.
I'm able to provision custom field using Feature Framework with ACE template. Don't forget you need to add the elements.xml itself and also update feature definition in the package-solution.json file to reference this new file:
"features": [
{
"title": "ace-provision-issues Feature",
"description": "The feature that activates elements of the ace-provision-issues solution.",
"id": "cd3c78e9-3098-45d2-9e3b-6257746b58fe",
"version": "1.0.0.0",
"assets": {
"elementManifests": [
"elements.xml"
]
}
}
]
I was also able to Add an App when it is installed in Site Collection app catalog. Please, check that you don't have tenant wide deployment enabled for the solution. In that case the app will be automatically installed and you don't need to Add an app.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues