2

I'm attempting to create a sharepoint page programatically by adding an image gallery web part. How do I access the properties of that web part? I don't see the documentation anywhere for Image Gallery like I do for the Image web part. Custom Properties for Image Web Part

  • Are you trying to add the webpart to a classic webpart page, or a modern page? – PatMill_MSFT Aug 9 '17 at 15:27
  • I am adding it to a modern page. – Shean McManus Aug 9 '17 at 15:29
1

if you go to the hosted workbench (_layouts/15/workbench.aspx) and configure the canvas how you want, select the "Web Part Data" button on the top left. That will pop up a window with the serialization format for both modern and classic. The value in the "Modern Pages" tab is the value that should be stored in the canvas field.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.