You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update date and refine tutorial language
Updated the date and improved tutorial phrasing.
* docs: revert ms.date and minor cleanup
- revert ms.date to original publication date; rendering engine
shows last modified date dynamically from git history
- remove hyphen in "conditionally visible"
- trim trailing whitespace
---------
Co-authored-by: Andrew Connell <me@andrewconnell.com>
Copy file name to clipboardExpand all lines: docs/business-apps/power-apps/get-started/create-your-first-custom-form.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
title: Customize a form for a SharePoint list
3
3
description: Customize a form for a SharePoint list
4
-
ms.date: 09/27/2022
4
+
ms.date: 06/17/2020
5
5
ms.localizationpriority: high
6
6
---
7
7
8
8
# Customize a form for a SharePoint list
9
9
10
10
Using Power Apps, you can easily customize a form for a SharePoint list that works best for your team or organization.
11
11
12
-
In this tutorial, you will create a custom form with a user profile photo, a read-only field, and a conditionally-visible field.
12
+
In this tutorial, you create a custom form with a user profile photo, a read-only field, and a conditionallyvisible field.
13
13
14
14
## Required setup
15
15
@@ -38,7 +38,7 @@ Before starting, make sure your SharePoint site is set up with the [required lis
38
38

39
39
40
40
1. To customize the appearance of the image, you can set its properties.
41
-
41
+
42
42
1. When you select a control on the canvas, on the right-hand panel, the **Properties** pane associated with the control appears.
43
43
44
44

@@ -48,7 +48,7 @@ Before starting, make sure your SharePoint site is set up with the [required lis
48
48
1. With **Image1** selected, in the [formula bar](/powerapps/maker/canvas-apps/working-with-formulas), change the property to **Height**, and enter `Owner_DataCard1.Height` as the formula. **Image1** now has the same height as **Owner_DataCard1**.
1. Set the width of **Image1** to be the same as its height. In the formula bar, change the property to **Width**, and enter `Self.Height` as the formula.
@@ -61,10 +61,13 @@ Before starting, make sure your SharePoint site is set up with the [required lis
61
61
62
62
1. To change the image of **Image1** from the sample image to the project owner's profile photo, you can use the Office 365 Users connector to retrieve the photo by the owner's email. First, [connect your custom form to the Office 365 Users connector](/powerapps/maker/canvas-apps/connections/connection-office365-users).
63
63
64
-
1. To retrieve the project owner's profile photo by email, in the formula bar, change the property to **Image**, and enter `Office365Users.UserPhoto(DataCardValue5.Selected.Email)` as the formula. The user photo from the owner's Office 365 user profile appears in **Image1**.
64
+
1. To retrieve the project owner's profile photo by email, in the formula bar, change the property to **Image**, and enter `Office365Users.UserPhoto(DataCardValue5.Selected.Email)` as the formula. The user photo from the owner's Office 365 user profile appears in **Image1**.
> The formula `Office365Users.UserPhoto(DataCardValue5.Selected.Email)` uses a placeholder control name. In your form, ensure you reference the actual control bound to the **Owner** field.
70
+
68
71
When you change the project owner, **Image1** will update to the user photo of the new owner.
69
72
70
73
### Set a field to be view-only
@@ -85,9 +88,9 @@ To make the **Title** field view-only, follow these steps.
If the project owner is Nestor Wilke, then the **Attachments** data card is hidden. Otherwise, it is visible.
117
120
118
121
You can write the same conditional logic in multiple ways. For more info, see [Operators and Identifiers in Power Apps](/powerapps/maker/canvas-apps/functions/operators).
0 commit comments