pnp / pnpjs

Fluent JavaScript API for SharePoint and Microsoft Graph REST APIs
https://pnp.github.io/pnpjs/
Other
763 stars 304 forks source link

How to create custom section layout options for SharePoint online modern site pages? #2839

Closed bhoomesh-spe closed 11 months ago

bhoomesh-spe commented 11 months ago

What version of PnPjs library you are using

3.x

Minor Version Number

3.13.0

Target environment

SharePoint Framework

Additional environment details

SPFx with React, SharePoint Online

Question/Request

Hello Everyone,

SharePoint provides default layout options below as mentioned in the screenshot. How can we create custom section layout options as per our needs? If there are any ways to create custom section layout options then please let me know your thoughts on the same.

image (1)

Can anyone help me with the same?

Thanks

juliemturner commented 11 months ago

Here's some references: Docs: https://pnp.github.io/pnpjs/sp/clientside-pages/ Additional Docs: https://pnp.github.io/pnpjs/concepts/adv-clientside-pages/

patrick-rodgers commented 11 months ago

I do not believe custom section layouts is a supported feature.

juliemturner commented 11 months ago

My apologies I think I misunderstood. I thought you wanted to build a section manually not that you wanted to build a different layout. Yes I agree with Patrick that wouldn't be supported.

patrick-rodgers commented 11 months ago

Closing this issue as answered. If you have additional questions or we did not answer your question, please open a new issue, ref this issue, and provide any additional details available. Thank you!

github-actions[bot] commented 11 months ago

This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.