include site assets library files and display templates when exporting team sites pnp

Vijay Rajagopolan
New Contributor

I am trying to include the files in SiteAssets folder which contains some HTML and CSS (custom) that is used in the solution. I am not able to include and does not show in the XML template file.


ptci.PersistBrandingFiles = true;
ptci.IncludeSiteCollectionTermGroup = true;
ptci.IncludeSearchConfiguration = true;


I don't see an option that i can set include contents. we would this so we can easily port the base templates custom look that we have in site assets.



1 Reply
My gues is that this does not export the files from site assets but only a theme and custom css if used. you need to manually download them and add them to your template
Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies