I need to communicate an important information (picture) on Team Site homepages so I decided to add on the top of every homepages an Image Webpart (to know : homepages already has some webparts). I uploaded the picture in the SP 'Site Assets' folder and then tried to proceed by executing the following Powershell command :

Add-PnPClientSideWebPart -Page ModernPage -Section 1 -Column 1 -Order 1 -DefaultWebPartType Image -WebPartProperties @{imageSource ="https://tenant.sharepoint.com/sites/MySite/SiteAssets/MyImage.jpg"}

The command works fine and add the webpart to the page, BUT AT POSITION 2 !!!

My image on position 2...

Is there a way to force my webpart to be on position 1?

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.