What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
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 126.0.2592.113 (Official build) (64-bit)
SPFx version 1.18.2
Node.js version 18.19.0
Describe the bug / error
If you open the default view, you see an error message.
If you navigate to the list settings, you see an error.
If you the the url to open the second view, you see "Error" on the Browser-Tab and errors in the console.
It may has to do with the new list layout?
The elements.xml:
`<?xml version="1.0" encoding="utf-8"?>
`
And the TestSchema.xml:
`main.xslclienttemplates.js30main.xslclienttemplates.js30`
From my package-solution.json:
`"features": [
{
"title": "views Feature",
"description": "The feature that activates elements of the views solution.",
"id": "5ebe2b32-9764-44e4-80d7-a77dab51ce38",
"version": "1.0.0.0",
"assets": {
"elementManifests": [
"elements.xml"
],
"elementFiles": [
"TestSchema.xml"
]
}
}
]`
Please have a look into it. - Thanks.
### Steps to reproduce
1. Create a new webpart project with react.
2. Add an elements.xml to deploy a custom field (text), a content type and a list.
3. Add a schema.xml for the list and include two views.
4. deploy the solution and add the app
### Expected behavior
Both views should be valid
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
If you open the default view, you see an error message.
If you navigate to the list settings, you see an error.
If you the the url to open the second view, you see "Error" on the Browser-Tab and errors in the console.
It may has to do with the new list layout?
The elements.xml:
`<?xml version="1.0" encoding="utf-8"?>