Support full-width section GetImageWebPartAsync method ? #1278
Unanswered
gautamdsheth
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
pnpcore/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs
Line 2834 in 5566f28
When trying to use
page.GetImageWebPart()
in the code and adding to full-width section, it fails. It works fine when used with other section layouts.Sample code where it fails:
https://github.com/pnp/powershell/blob/bf84fc22cc5a501b8759ab27dc9868fe56e5d634/src/Commands/Pages/AddPageImageWebPart.cs#L9
This is because of this :
pnpcore/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs
Line 2878 in 5566f28
Need to make the change so that ,
SupportsFullBleed
value is set totrue
for this particular method.Any idea how to do that ? Happy to contribute :)
Beta Was this translation helpful? Give feedback.
All reactions