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

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