Skip to content

Can't change Content Type name in Site Designs #5054

@sympmarc

Description

@sympmarc

Category

  • Enhancement
  • Bug
  • Question

Expected / Desired Behavior / Question

When we make a change to a Content Type name in a Site Design, we expect to see that renaming reflected in the site when we reapply the Site Design.

Observed Behavior

Content Type renaming is not applied with updates to the Site Design.

Steps to Reproduce

Create a simple Site Design such as this:

{
    "$schema": "https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json",
    "actions": [
        {
            "verb": "createSiteColumnXml",
            "schemaXml": "<Field Type=\"DateTime\" DisplayName=\"Document Date\" Required=\"FALSE\" EnforceUniqueValues=\"FALSE\" Indexed=\"FALSE\" Format=\"DateOnly\" Group=\"_Milestone\" FriendlyDisplayFormat=\"Disabled\" ID=\"{c2452c8c-45f9-40a3-9b49-9b69d6a26b16}\" StaticName=\"DocumentDate\" Name=\"DocumentDate\" CustomFormatter=\"\" CalType=\"0\" Customization=\"\" AllowDeletion=\"TRUE\" />",
            "pushChanges": true
        },
        {
            "verb": "createContentType",
            "name": "Custodian - Other",
            "id": "0x0101002F0C592348AD1D4D8714CEF8AD8EC6D50305",
            "description": "",
            "parentId": "0x0101",
            "hidden": false,
            "subactions": []
        }
    ]
}

Add it to a Site Design and apply it to a site. Change the Content Type name (perhaps from Custodian - Other to Other Custodian) and reapply the site Design. The change will not be reflected in the site.

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