Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Instance FieldRef for Title Column missing from Site Template #331

Closed
2 tasks done
anthonywhite opened this issue May 18, 2021 · 3 comments
Closed
2 tasks done

Comments

@anthonywhite
Copy link

anthonywhite commented May 18, 2021

Reporting an Issue or Missing Feature

List Instance FieldRef for Title Column missing from Site Template

Expected behavior

ListInstance/FieldRef element should be in template for Title column that is renamed at list level

Actual behavior

No FieldRef for Title in ListInstance definition, so column display name is "Title" in a site provisioned from template, rather than display name from source site

Steps to reproduce behavior

  1. Create Site Content Type that includes a Title site column (from Item content type)
  2. Add Content Type to a List Instance
  3. Rename Title on List Instance Content Type to change Display Name of Title column for that list
  4. Run Get-PnPSiteTemplate and examine FieldRefs for ListInstance

What is the version of the Cmdlet module you are running?

1.5.0

Which operating system/environment are you running PnP PowerShell on?

  • Windows
  • PowerShell Core 7.1.3

Workaround

Manually add a FieldRef for the Title column to the ListInstance in the template file with the required DisplayName attribute

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale Issue has been active for a long time. Stale issues will be closed automatically after 15 days label Jun 20, 2021
@anthonywhite
Copy link
Author

anthonywhite commented Jun 20, 2021

Keeping alive... anyone disagree yet?

@github-actions github-actions bot removed the Stale Issue has been active for a long time. Stale issues will be closed automatically after 15 days label Jun 21, 2021
@anthonywhite
Copy link
Author

Closing as covered by #776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant