You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a bug or is there something I need to specify when creating or applying a template?
I used Get-PnPSiteTemplate to create the site template xml, then use Invoke-PnPSiteTemplate to apply it to another site. Invoke fails if any library has been renamed (Title is different from the URL).
The library was created as "Meetings" then renamed "Departmental Meetings 2022", the template xml looks correct:
The invoke command fails because it's looking for the form in the right location (meetings/forms/dispform.aspx) but the library was actually re-created using the title Departmental Meetings 2022
The library is successfully recreated, but the URL for the new library is the Title, not the Url from the template
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is this a bug or is there something I need to specify when creating or applying a template?
I used Get-PnPSiteTemplate to create the site template xml, then use Invoke-PnPSiteTemplate to apply it to another site. Invoke fails if any library has been renamed (Title is different from the URL).
The library was created as "Meetings" then renamed "Departmental Meetings 2022", the template xml looks correct:
The invoke command fails because it's looking for the form in the right location (meetings/forms/dispform.aspx) but the library was actually re-created using the title Departmental Meetings 2022
The library is successfully recreated, but the URL for the new library is the Title, not the Url from the template
Beta Was this translation helpful? Give feedback.
All reactions