How Can we open OOTB SharePointOnline List Display, Edit, and New forms in the spfx web part programmatically from the spfx web part
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.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
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
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.
Any news on this request?
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.
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