How to Redirect SharePoint New and Edit Forms to a Custom Form
Question details
Users need to bypass the default Power Apps forms in SharePoint Online and redirect the 'New Item' and 'Edit Item' actions to open custom-built HTML, JavaScript, or legacy classic forms.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Customizing data entry interfaces for SharePoint lists or libraries using legacy scripting or third-party web forms.
- Observed behavior
- When users click on New Item or Edit Item, SharePoint automatically opens a Power Apps form instead of displaying the intended custom HTML or JavaScript form.
Before proceeding, determine whether your SharePoint list is utilizing the Modern or Classic experience, as modern lists prioritize Power Apps while classic lists use traditional NewForm.aspx and EditForm.aspx pages.
Revert to Default SharePoint Forms via List Settings
Change the form settings to disconnect Power Apps and allow traditional SharePoint forms to handle New and Edit actions.
If a Power Apps form was previously customized and published to your list, SharePoint will force all New and Edit actions to use it. You must revert this setting to restore access to default or classic form routing.
Navigate to your SharePoint list, click the gear icon (Settings) in the top right corner, and select 'List settings'.
Under the 'General Settings' column, click on 'Form settings'.
Choose the option 'Use the default SharePoint form' instead of 'Use a custom form created in Power Apps'. Click OK to save.

Map Custom Forms using SharePoint Designer
Set a specific custom HTML or ASPX page as the default New or Edit form for a classic SharePoint list.
Utilize SharePoint Framework (SPFx) for Modern Lists
Consult Microsoft Q&A and use SPFx to inject custom scripts and forms, as modern SharePoint blocks traditional JS/HTML injections.
Boost Document Productivity with WPS Office
While SharePoint handles advanced list forms and enterprise web portals, you still need a reliable suite for your everyday document tasks. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, letting you edit Word, Excel, and PowerPoint files seamlessly without dealing with complex configurations.
- 1. Download WPS Office: Visit the official WPS website and click the download button for your operating system.
- 2. Install the Suite: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
- 3. Open Your Documents: Launch WPS Office and instantly open your existing Microsoft Office files with perfect formatting retention.

Frequently Asked Questions
Why does Power Apps open instead of my custom form?
In modern SharePoint Online, Power Apps is the default engine for list forms. If a Power Apps form has been customized and published for that specific list, it overrides any legacy ASPX or HTML form settings.
Can I inject JavaScript directly into modern SharePoint list forms?
No, modern SharePoint restricts classic Script Editor or Content Editor web parts for security reasons. Customizing forms with code in the modern experience requires using the SharePoint Framework (SPFx) Form Customizer.
How do I switch my list from the modern experience back to classic?
Go to List Settings > Advanced settings, scroll down to the 'List experience' section at the bottom, and select 'Classic experience'. This restores compatibility with legacy JavaScript and HTML forms.
Are InfoPath forms still supported for New and Edit actions?
While InfoPath forms may still function in classic SharePoint environments, Microsoft has deprecated InfoPath. It is highly recommended to migrate your forms to Power Apps or SPFx for long-term support.




