SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

Adding multiple list views with feature deployment breaks the list #9827

Open EA12 opened 1 month ago

EA12 commented 1 month ago

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.

image

If you navigate to the list settings, you see an error.

image

If you the the url to open the second view, you see "Error" on the Browser-Tab and errors in the console.

image

It may has to do with the new list layout?

image

The elements.xml:

`<?xml version="1.0" encoding="utf-8"?>

` And the TestSchema.xml: ` main.xsl clienttemplates.js 30 main.xsl clienttemplates.js 30
` 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
EA12 commented 1 month ago

Can you please have a look into it? - Thanks!

EA12 commented 3 weeks ago

Still nobody?

EA12 commented 2 weeks ago

I know, everybody has a lot to do, but this is blocking us... Please help... - Thanks!

EA12 commented 5 days ago

After 5 weeks, still no answer :(