Forum Discussion
Button/link to create news post based on template
- Sep 30, 2019
This guidance from Daniel Estelius helped me a lot to create a SharePoint webpage via Flow based on a template.
http://www.sites.se/2018/08/sharepoint-modern-pages-microsoft-flow/
For the trigger I decided to use a Microsoft Form embedded in Teams. This also allows to ask you user for some specific information for the creation of the page.
But I will check the creation of a bot for future usage as well.
Thank you for your support.
Best regards
Stefan
Stefan Gille Why not create a bot with a button? https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/bots/bots-create
- Stefan GilleSep 24, 2019Copper Contributor
Thank you for your reply. The bot is a solution for the button, but I still struggle creating a SharePoint page based on a template.
My post was a bit misleading, I believe. I did not create website templates but templates for web pages stored in library website pages.
How can I create a webpage with a dedicated template without user's intervention/choice in between?
Thank you and best regards
Stefan
- SinhaKislaySep 25, 2019Iron Contributor
Stefan Gille you can create if you are using Publishing page https://blogs.msdn.microsoft.com/sridhara/2008/06/21/create-and-publish-web-pages-in-publishing-sharepoint-sites-programmatically/ and also you can set PageLayout
Are you using Modern pages then we have to use PnP I guess?
- Stefan GilleSep 25, 2019Copper ContributorYes, indeed I am using modern pages.