Unable to link share point pages/aspx to "Hero" template programmatically (using dot net 6.0). #1321
Unanswered
vasudev-opteamix
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@vasudev-opteamix : here's the documentation for the Pages API support in PnP Core SDK: https://pnp.github.io/pnpcore/using-the-sdk/pages-intro.html. As you'll need to create the correct web part properties JSON it's recommended to first understand what's needed by configuring the needed (custom) web parts in the work bench and then inspect the JSON (see https://pnp.github.io/pnpcore/using-the-sdk/pages-webparts.html#generic-instructions-that-apply-for-all-web-parts to learn more) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @jansenbe ,
We are trying to programmatically add content to SharePoint from old CMS . There are lot of pages that we need to migrate and we came across this PnpCore Sdk. We are unable to find a proper documentation for this. In future we want to add more sharepoint webparts programmatically.
We were able to "Hero" web part programmatically but we are unable to link any articles/aspx pages programmatically. We are using this using Dot Net 6.0. Could you please help us with this ??
Below is the code used for object creation of "Hero" template and binding the same to my custom page.
Beta Was this translation helpful? Give feedback.
All reactions