sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

How Can we open OOTB SharePointOnline List Display, Edit, and New forms in the spfx web part programmatically from the spfx web part

Open anomepani opened this issue 6 years ago • 6 comments

Category

  • [X] Question

Question

I would like to know How can I open OOTB SharePoint List Display, Edit, and New forms in the spfx web part programmatically from the spfx web part in SharePoint Online?

I have three button Edit, New, Display in My Custom web part, and want to open the Right Side Panel with the appropriate form.

Thanks in advance for Any suggestion or way.

anomepani avatar Oct 26 '20 13:10 anomepani

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Oct 26 '20 13:10 ghost

Hi, AFAIK, there isn't a way to do this. You will have to use the Fluent UI Panel to launch yourself as this isn't something that is callable. Second, it may be worth looking into the React-List-Form web part from the SP-Dev-fx-webparts repository and see if you can modify it to fit within your solution. https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-list-form

bcameron1231 avatar Oct 26 '20 14:10 bcameron1231

https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/37169995-allow-us-to-develop-custom-modern-forms-with-custo

We used JSLinks to set redirection to a custom page with SPFx customization, but because of MC222880 it's no longer possible. MS Support advised us to use PowerApps, it's not possible in our case. So, I'm curious too what else is using by the community.

dwd5 avatar Oct 27 '20 11:10 dwd5

Any news on this request?

mdissel avatar Dec 24 '21 09:12 mdissel

This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open or submit a new issue.

ghost avatar Dec 30 '21 14:12 ghost

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

ghost avatar Jan 06 '22 18:01 ghost