Web pages created in Solution Studio are not being published to a target site
When I create a web page in the solution studio and complete the publishing within the solution editor, I can confirm its working properly and web page can be viewed and edited from the solution studio or on the dev SharePoint site.
The issue is when I package and publish to a production site the web pages don't seem to publish with the solution. They don't show up on the target site. I've tried making sure I have ticked the "package and publish all content" from the dossier and all other lists. I've tried everything I can think of to test and fix this but to no avail.
Only other thing I haven't tried is to be bring the pages doc library into the solution as an "other list", then make sure I have ticked the "package and publish all content" for that library. But I'd really like someone to weigh in on whether that's a good idea or not before I try it.
Any ideas on what I'm missing??
Solution Studio supports two types of pages: classic page (Wiki Page only) and modern pages. The Site Pages library do not need to be added to the solution, only the pages themselves. After changing the content of the page, make sure, that it has been checked in and published (in the Site Pages itself). When packaging, the package includes all the pages that are in the solution. If you use a list view web part (classic page) or list component (modern page), then the source list must also be included in the solution. After publishing, you can check the history log whether everything has been published successfully.
Is this an answer that you are looking for?
VitaliiSamchynskyi, that worked. Turns out I didn't have the page "checked in" on the source (dev site) before deploying to the target. Once I did that, the page deployed perfectly.
Thank you for the help!
Please sign in to leave a comment.