Skip to content

Commit f454193

Browse files
committed
another one
1 parent ab78c05 commit f454193

File tree

1 file changed

+0
-215
lines changed

1 file changed

+0
-215
lines changed
Lines changed: 0 additions & 215 deletions
Original file line numberDiff line numberDiff line change
@@ -1,217 +1,3 @@
1-
<<<<<<< HEAD
2-
---
3-
title: Customize a SharePoint list form | Microsoft Docs
4-
description: Use Power Apps to customize the form with which users create and update entries in a SharePoint list.
5-
author: tapanm-msft
6-
manager: kvivek
7-
ms.service: powerapps
8-
ms.topic: conceptual
9-
ms.custom: canvas
10-
ms.reviewer:
11-
ms.date: 10/24/2019
12-
ms.author: tapanm
13-
search.audienceType:
14-
- maker
15-
search.app:
16-
- PowerApps
17-
---
18-
# Customize a SharePoint list or library form by using Power Apps
19-
20-
You can easily customize the form for a SharePoint list or SharePoint document library by opening Power Apps in a browser. You don't need to write traditional code, such as C#, or download another app, such as InfoPath. When you publish your changes, the form is embedded within the SharePoint list for use by all of its users. In Power Apps, you can also review analytics reports, easily create conditional formatting, and connect to other data sources.
21-
22-
To follow the steps in this topic, you'll create a simple list so that you can see how customization works, and then you can apply the same concepts to your own list.
23-
24-
> [!NOTE]
25-
> - If the **Customize forms** option isn't available or doesn't work correctly for your list, it might contain data types that [Power Apps doesn't support](connections/connection-sharepoint-online.md#known-issues). Also, you can't move your form to a different list or [environment](working-with-environments.md).
26-
> - Custom forms for lists are only supported in generic lists and generic document libraries. Custom list and library templates are currently not supported; including but not limited to lists such as Announcements, Contacts and Tasks.
27-
> - Custom forms for document libraries only supports editing custom metadata. Editing or managing file(s) is not supported.
28-
29-
## Create a list
30-
31-
On a SharePoint site, create a list, and then add these columns to that list:
32-
33-
- **Details** (yes/no)
34-
- **Price** (currency)
35-
- **Availability** (date without time)
36-
- **Color** (choice)
37-
38-
> [!div class="mx-imgBorder"]
39-
> ![Select Site contents > New > List, type the list name, and select Create. For each column, select Add column, specify the list type (Yes/No, Currency, Date, Choice), specify the list name (Details, Price, Availability, Color), and select Save.](./media/customize-list-form/create-list.gif)
40-
41-
## Open the form
42-
43-
1. In the command bar, select **PowerApps**, and then select **Customize form**.
44-
45-
Power Apps Studio opens in the same browser tab.
46-
47-
1. If the **Welcome to Power Apps Studio** dialog box opens, select **Skip**.
48-
49-
> [!div class="mx-imgBorder"]
50-
> ![In the command bar, select Power Apps, and then select Customize form. Power Apps Studio opens in the same browser tab. If the Welcome to Power Apps Studio dialog box opens, select Skip.](./media/customize-list-form/create-form.gif)
51-
52-
## Move and remove a field
53-
54-
1. Drag the **Availability** field to the bottom of the list of fields.
55-
56-
The fields appear in the order that you specify.
57-
58-
1. Hover over the **Attachments** field, select the ellipsis (...) that appears, and then select **Remove**.
59-
60-
The field that you specify disappears from the form.
61-
62-
> [!div class="mx-imgBorder"]
63-
> ![Drag the Availability field to the bottom of the list of fields. Hover over the Attachments field, select the ellipsis (...) that appears, and then select Remove.](./media/customize-list-form/move-remove-fields.gif)
64-
65-
## Set conditional formatting
66-
67-
You can configure the **Price**, **Availability**, and **Colors** fields to appear only if **Details** is set to yes.
68-
69-
1. In the left navigation bar, expand **Details_DataCard1**, and note the numeral that appears at the end of **DataCardValue**.
70-
71-
1. Set the **Visible** property of the **Color**, **Availability**, and **Price** cards to this formula (replacing, if necessary, the numeral with the one that you noted in the previous step):
72-
73-
**If(DataCardValue2.Value = true, true)**
74-
75-
1. While holding down the Alt key, select the **Details** toggle (by clicking or tapping it) multiple times.
76-
77-
The three fields that you configured appear and disappear from the form.
78-
79-
> [!div class="mx-imgBorder"]
80-
> ![In the left navigation bar, note the numeral that appears at the end of DataCardValue. Set the Visibility property of the Color, Availability, and Price cards to this formula. Hold down the Alt key, and select the Details control multiple times.](./media/customize-list-form/conditional-format.gif)
81-
82-
## Save and publish the form
83-
84-
1. Open the **File** menu, select **Save**, and then select **Publish to SharePoint** twice.
85-
86-
1. In the upper-left corner, select the back arrow, and then select **Back to SharePoint**.
87-
88-
> [!div class="mx-imgBorder"]
89-
> ![Open the File menu, select Save, and then select Publish to SharePoint twice. In the upper-left corner, select the back arrow, and then select Back to SharePoint.](./media/customize-list-form/save-form.gif)
90-
91-
## Further customize your form
92-
93-
1. Open your list, select **New** in the command bar, and then select **Customize** near the top of the form.
94-
95-
1. Customize your form in a variety of ways, such as those that these topics describe:
96-
97-
- Change its size, orientation, or both (for example, to [make the form wider](set-aspect-ratio-portrait-landscape.md)).
98-
- [Customize one or more cards](working-with-cards.md) (for example, change a card's display text or input control).
99-
- Create a [lookup field](sharepoint-lookup-fields.md).
100-
101-
More information: [Understand SharePoint forms integration](sharepoint-form-integration.md).
102-
103-
## Use the default form
104-
105-
1. From your list in SharePoint, open the settings page (by selecting the gear icon near the upper-right corner), and then select **List settings**.
106-
107-
2. Under **General settings**, select **Form settings**.
108-
109-
3. On the **Form Settings** page, select one of these options, and then select **OK**.
110-
111-
- **Use the default SharePoint form** - When a user opens your list and selects **New** in the command bar, the default form for the list will appear.
112-
113-
- **Use a custom form created in Power Apps** - When a user opens your list and selects **New** in the command bar, your custom form will appear. (As an alternative, you can publish the form again in Power Apps.)
114-
115-
You can toggle back and forth between options, as needed.
116-
117-
![Form Settings options](./media/customize-list-form/form-settings.png)
118-
119-
## Delete the custom form
120-
121-
1. From your list in SharePoint, open the settings page (by selecting the gear icon near the upper-right corner), and then select **List settings**.
122-
123-
1. Under **General settings**, select **Form settings**.
124-
125-
1. On the **Form Settings** page, select **Use the default SharePoint form**, and then select **Delete custom form**.
126-
127-
![Delete the custom form](./media/customize-list-form/use-default-sharepoint.png)
128-
129-
## Q & A
130-
131-
### Forms vs. apps
132-
133-
**Q:** How does a customized form differ from a standalone app that I create from SharePoint or Power Apps?
134-
135-
**A:** If you customize the form for a SharePoint list, the form doesn't appear as an app in Power Apps Studio or Power Apps Mobile. You can open the form only from the list for which you created it.
136-
137-
**Q:** When should I customize a form to manage data in a SharePoint list, and when should I create a standalone app?
138-
139-
**A:** Customize a form if you want your users to manage data without leaving SharePoint (for example, in a desktop browser). Create an app if you want your users to manage data outside of SharePoint (for example, on a mobile device).
140-
141-
**Q:** Can I customize a form and create an app for the same list?
142-
143-
**A:** Yes.
144-
145-
**Q:** Can I customize a list and create an app using the same features?
146-
147-
**A:** Yes.
148-
149-
**Q:** Can I customize a form in an environment other than the default environment in my organization?
150-
151-
**A:** No.
152-
153-
### Manage your custom form
154-
155-
**Q:** How can I easily share my form with others?
156-
157-
**A:** Open the form, select **Copy link**, and then send the link to anyone whom you want to use the form.
158-
159-
**Q:** Can I update my form without making my changes visible to others?
160-
161-
**A:** Yes. You can change your form and save as many times as you want, but your changes won't be visible to anyone else unless you select **Publish to SharePoint** twice.
162-
163-
**Q:** If I customize a list form and make a mistake, can I revert to a previous version?
164-
165-
**A:** Yes.
166-
167-
1. Open your list, select **PowerApps** on the command bar, and then select **Customize forms**.
168-
169-
1. In Power Apps Studio, select **File**, and then select **See all versions**. The **Versions** page opens in a new browser tab.
170-
171-
> [!NOTE]
172-
> If you don't see the **See all versions** button, select **Save**. The button should appear.
173-
174-
1. Without closing the **Versions** page or the browser tab, go back to the **Save** page in the other browser tab, click or tap the arrow at the top of the left navigation pane, and then click or tap **Back to SharePoint** to unlock your form and close Power Apps Studio.
175-
176-
1. Go back to the **Versions** page in the other browser tab, locate the version that you want to restore, and then select **Restore**.
177-
178-
> [!NOTE]
179-
> If you get an error message saying that the restore failed because the form is locked by another user, wait until the user unlocks the form, and then try again.
180-
181-
**Q:** Can I move my form from one list to another?
182-
183-
**A:** No.
184-
185-
### Administer your custom form
186-
187-
**Q:** How do I share my form?
188-
189-
**A:** You don't need to share the form—the form inherits permissions from the SharePoint list. When you're done customizing it, just [publish it back to SharePoint](customize-list-form.md#save-and-publish-the-form) so that others can use it.
190-
191-
**Q:** Who can customize forms?
192-
193-
**A:** Anyone with SharePoint permissions to manage, design, or edit the associated list.
194-
195-
**Q:** Do I need a Power Apps license to create or use custom list forms?
196-
197-
**A:** You need an [Office 365 plan that includes Power Apps](https://docs.microsoft.com/power-platform/admin/pricing-billing-skus#licenses).
198-
199-
**Q:** What happens when guest users access a list that has a custom form?
200-
201-
**A:** Guest users get an error message if they try to access a list form that's been customized using Power Apps.
202-
203-
**Q:** As an administrator, how do I get a list of all customized forms in my organization?
204-
205-
**A:** If you're a tenant administrator for Power Apps or you have environment-administrator permissions on the default Power Apps environment of your organization, do the following:
206-
207-
1. In the [Power Apps admin center](https://admin.powerapps.com), select the default environment for your organization from the list of environments.
208-
209-
1. At the top of the default environment page, select **Resources**.
210-
211-
1. From the list of apps, look for apps with a **SharePoint Form** app type—these are the customized forms.
212-
213-
![List of customized forms](./media/customize-list-form/all-customized-forms.png)
214-
=======
2151
---
2162
title: Customize a SharePoint list form | Microsoft Docs
2173
description: Use Power Apps to customize the form with which users create and update entries in a SharePoint list.
@@ -425,4 +211,3 @@ You can configure the **Price**, **Availability**, and **Colors** fields to appe
425211
1. From the list of apps, look for apps with a **SharePoint Form** app type—these are the customized forms.
426212

427213
![List of customized forms](./media/customize-list-form/all-customized-forms.png)
428-
>>>>>>> ae864535ae5aab1966c3c5bd8c4250316a788d91

0 commit comments

Comments
 (0)