Replies: 2 comments
-
Some guidance would be appreciated, I am struggling with these kind of issues too. Content was written in the web part, page saved, published and visible. However content disappears from the web part when i edit the page. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Moving to discussion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Using
Add-PnPPageWebPart -Page $page -Section 2 -Column 1 -DefaultWebPartType CodeSnippet -WebPartProperties $webPartProps
I added a codesnippet webpart.
Using jsonproperties i am able to add the html property. The code is shown in the webpart in the sharepoint page.
However upon editing, in sharepoint, the codesnippets are empty.
How can I add contents to this webpart? I.e. the code to display in the webpart.
Thanks,
Jeroen
Beta Was this translation helpful? Give feedback.
All reactions