Skip to content

View Updates in Site Designs Do Not Reflect Site Design Order #5053

@sympmarc

Description

@sympmarc

Category

  • Enhancement
  • Bug
  • Question

Version

NA

Expected / Desired Behavior / Question

When we make a change to a view in a Site Design, we expect to see the columns in the view displayed in the order we provide

Observed Behavior

New columns are added to the right of the existing view, not the location specified in the Site Design.

Steps to Reproduce

Create a simple Site Design updating a view, such as this:

        {
          "verb": "addSPView",
          "name": "All Documents",
          "viewFields": [
            "ContentType",
            "DocIcon",
            "LinkFilename",
            "Modified",
            "Editor",
            "DocumentDate"
          ],
          "query": "<OrderBy><FieldRef Name=\"FileLeafRef\" /></OrderBy>",
          "rowLimit": 30,
          "isPaged": true,
          "makeDefault": true,
          "formatterJSON": ""
        }

Add it to a Site Design and apply it to a site. In this example, ContentType and DocumentDate will be added to the right of the existing columns in the All Documents view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:site-designCategory: Site Designs/Site Scriptsstatus:to-be-reviewedIssue needs to be reviewed by Microsoft for additional follow up / review.type:archive-old-issueIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions