M365 – Customize SharePoint Online OOB Forms With Power Apps
Customizing the form:
- I have created a list with few columns in it for demonstration. Before customization the form looks as below:
- There are two ways for navigation. You have to follow anyone of the two steps mentioned below:
- On the form, click Edit Form drop down located in top right corner and then click Customize with Power Apps.
- Alternatively, being on the list view, from the ribbon click Integrate > Power Apps > Customize forms.
- When you click on Customize with Power Apps or Customize forms it will take you to Power Apps with your SharePoint OOB form ready to customize.
- Initially it will present with Portrait display mode. We can either modify form in Portrait mode or in Landscape mode. For now, I am changing display mode to Landscape.
- To change the display mode, click File > Settings. In the Settings window, click Display > Orientation > Landscape > click Apply.
- After changing display mode, your form should look like this.
- In the Tree view (left side of the screen), select the form – SharePointForm1.
- From the Edit panel (right side of the screen), click Edit Fields.
- The Fields panel will be opened. In the panel we can add or remove fields which are required or not required respectively, and change their order. In my case, I don’t want Attachment field so I am removing it and bringing Category field above the Author field.
- To remove, click on three dots and click Remove.
- To change order, simply drag and drop the field to desired location.
- In the Tree View, click each field and from the right panel click Unlock to change properties, without unlocking we cannot change its properties. Do this for every field.
- Click on each field and change its size as well as adjust two fields in a row.
(Extra Explore: Try changing the layout of the form from the right panel, Vertical -> Horizontal)
- After changing width and rearranging all fields my form looks like below.
- Now, we would add background image to the form. From the Tree View select FormScreen1. From the right panel, click Background image drop down and select Add an image file. Select the image file from your system. Below Background image, there is another option – Image position, select Fill so that image will cover entire screen.
- My form looks like below:
- Certainly, for projects we wouldn’t select this image but demonstration purpose I have used it.
- CTRL+S to save the form.
- From menu click File > Save > Publish to SharePoint.
- Go back to SharePoint list, and press F5 to refresh the page and to see your customized form. My form looks like below.
- Once the form is customized, this customization gets applied to SharePoint New Form as well as Edit Form.
- One point to note here is that, default Save and Cancel buttons of form which were available below the form are disappeared. I haven’t added save button because other pair of Save and Cancel button is available above the form.
- If we want to add a button, we can do it through Power Apps itself. Moreover, through Power App we can change the color of field title, font, size and much more.
Didn’t like the current form? Want to delete and recreate it?
You can delete the current Power Apps customized form using following steps:
- In the SharePoint list, click Gear icon > List settings.
- Under General Settings section, click Form settings.
- Select first radio button or option – Use default SharePoint form, which will create link below second option as Delete custom form which will delete your Power Apps customized form.
- To recreate, follow Customize the form section.
Keep exploring and keep sharing!!
Like, Share, Comment!! Thanks for reading!!
You must log in to post a comment.