We are working on a SharePoint Site where we have created lot of webparts. Now so far we have been creating SitePages for these webparts manually and adding webparts to those. It takes lot of time in any environment and its difficult to move from environment to environment.
What is the ideal way of doing it? How can we automate sitePage creation process and hopefully add webpart to it by some scripts?
Appreciate your help!
Well you have lot easier way to what you wanted to achieve, in a single click you can do it.
This is how we need to deploy & create pages:
SO already has lots of questions related to how to provision pages using Feature & how to add web part.You can refer to below links for reference.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.