-
I am trying to add my own SpfX web part to a page usng Add-PnPPageWebPart I already have a current connection set up then I use; Add-PnPPageWebPart -Page "MyPage" -Component ??? -Order 1 What goes in the ??? I have tried the following as ??? The name of the App as shown in Site Contents of the site None work for me Add-PnPPageWebPart : Value cannot be null. I'm sure I am missing something really basic Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK if anyone else struggles with this the answer is that you need the TEXT of the Custom Web Part that is in the list of web parts as displayed when you add the web part to the page. |
Beta Was this translation helpful? Give feedback.
OK if anyone else struggles with this the answer is that you need the TEXT of the Custom Web Part that is in the list of web parts as displayed when you add the web part to the page.