web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating list template...
Power Automate
Unanswered

Creating list template that includes content

(0) ShareShare
ReportReport
Posted on by 447
Hi All,
 
Hope you're doing good!
 
I'm trying to generate sites and libraries template but can't get the library content (folders structure and links) to be part of this template.
 
I'm using an HTTP Request that correctly picks up all my library's configuration. ... metadata, default values, JSON button, etc...
 
 
I make it a SiteScript and then a SiteDesign, i see my template showing up in the "from your organisation" of my site and can create the library on any site after this. so everything good.
 
The problem is i have a structure of folders with a few links. 
While the old way of creating lists templates was simple but very effective, i can't find a way to include my folder structure and links into the created template.
 
Would someone have an idea how to do this ?
 
Thanks a lot and regards !!
  
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at
    Hi @Kadd,
     
    Unfortunately, the Site Script/Site Design json schema doesn't support creating content/doesn't have any verbs for that:
     
    In other words, you would have to provision that in additional steps in your flow. You can for example apply your site design via a second HTTP request and use a create folder action (in a loop) to create your structure. The method to apply your site design:
     
    Alternatively, you can also user PowerShell, xml and the PnP provisioning engine
     
     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
  • Kadd Profile Picture
    447 on at
     
    Thanks a lot for your answer.
     
    In fact i managed to do all this following your blog which was really well done and really interesting (difference is instead of puting the schema in my HTTP Request, i extract it from a Parse JSON action right after it). So thank you for that.
    I wasn't sure if this was possible and don't remember about it on your posts, reason why i decided to ask the question here.
     
    The point is i thought of doing it in additional steps but i need the users to be able to request the creation easily, meaning having the libraries in the "from your organization" section of the new library request on the sites... cause if i just add the library template, it remains without the internal folder structure that i need. and i will not be able to provision it afterwards.
     
    I have to understand how to do it with Powershell and XML but not sure i can have the structure inside the template either.
    But my client then says the problem is those templates in the "from your organization" section are visible to everyone...and they don't want that...
     
    So i'm thinking, as another option, to put a link to a PowerApp in the menu. This PowerApp would pick the url of the site, ask the user to fill the name of the new library and select the template to apply then it would create everything from their but it's external and maybe less user friendly ...hmm..
      

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard