Skip to content

Re-run of site script creates new list if internal list name differs to list title  #46

@ingrid-schiele-fnt

Description

@ingrid-schiele-fnt

Category

  • Question
  • [ x] Bug
  • Enhancement

Expected or Desired Behavior

As in the docs described: "Once createSPList is applied on a site, runnning the createSPList with the same list name will act as an update to the existing list." https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#create-a-new-sharepoint-list

Observed Behavior

The update works not properly if the list has a different title set (setTitle subaction). Instead of an update a new list will be created.

Steps to Reproduce

Add a setTitle subaction to the createSPList action and run the site design at least twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions