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
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/sharepoint-scenarios-choice-to-lookup.md
+41-6Lines changed: 41 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,56 @@ ms.service: powerapps
6
6
ms.topic: conceptual
7
7
ms.custom: canvas
8
8
ms.reviewer: tapanm
9
-
ms.date: 26/05/2020
9
+
ms.date: 05/29/2020
10
10
ms.author: emcoope
11
11
search.audienceType:
12
12
- maker
13
13
search.app:
14
14
- PowerApps
15
15
---
16
-
# Title
16
+
# How to use drop down list with choices from lookup column in a SharePoint list?
17
17
18
-
Intro text
18
+
In this scenario article, you'll learn how to use a drop down list with choices from a lookup column in a SharePoint list.
19
19
20
-
## Heading
20
+
## Prerequisites
21
21
22
+
- You must have created an app using SharePoint connector that connects to a SharePoint list.
23
+
- The SharePoint list should consist of a lookup column with values from another column.
22
24
23
-
## Next steps
25
+
## Scenario details
24
26
25
-
Next scenario
27
+
You can use lookup columns in SharePoint that consume values from other lists or libraries. When using such column as a field in a canvas app, you can use drop down list with choices.
26
28
29
+
To use the choices in a drop down list, you have to use the function [choices](../functions/function-choices.md). For example, `Choices([@'Vehicle registration'].Vehicle_x0020_type)` uses the SharePoint list **Vehicle Registration** and the column **Vehicle type** for the lookup of the type of the vehicle.
30
+
31
+
## Example
32
+
33
+
1. Sign in to [Power Apps](https://make.powerapps.com).
34
+
35
+
1.[Create](app-from-sharepoint.md) a new app, or [edit](edit-app.md) an existing app.
36
+
37
+
> [!TIP]
38
+
> Ensure the app uses SharePoint connection and connects to a SharePoint list as described in the prerequisites.
39
+
40
+
1. Select **+** (Insert) from the left pane.
41
+
42
+
1. Select **Drop down**.
43
+
44
+

45
+
46
+
1. Update the **Items** property with the following formula:
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/sharepoint-scenarios-filter-search-list.md
+47-6Lines changed: 47 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,62 @@ ms.service: powerapps
6
6
ms.topic: conceptual
7
7
ms.custom: canvas
8
8
ms.reviewer: tapanm
9
-
ms.date: 26/05/2020
9
+
ms.date: 05/29/2020
10
10
ms.author: emcoope
11
11
search.audienceType:
12
12
- maker
13
13
search.app:
14
14
- PowerApps
15
15
---
16
-
# Title
16
+
# How to filter a search list in an app?
17
17
18
-
Intro text
18
+
In this scenario article, you'll learn how to filter a search list in a canvas app.
19
19
20
-
## Heading
20
+
## Prerequisites
21
21
22
+
- You must have created an app using SharePoint connector that connects to a SharePoint list.
23
+
- The SharePoint list should consist of several list items to filter data inside canvas app.
22
24
23
-
## Next steps
25
+
## Scenario details
24
26
25
-
Next scenario
27
+
You can use text input control in a canvas app to input text and filter the list such as a data table to filter list items from the connected SharePoint list.
26
28
29
+
To use the ability to search using a text input and filter the records, you have to use the function [filter](../functions/functions/function-filter-lookup.md). For example, `Filter([@Colors], StartsWith(Title, TextInput1.Text))` uses the SharePoint list connection **Colors** and the column **Title** to filter the records.
30
+
31
+
## Example
32
+
33
+
1. Sign in to [Power Apps](https://make.powerapps.com).
34
+
35
+
1.[Create](app-from-sharepoint.md) a new app, or [edit](edit-app.md) an existing app.
36
+
37
+
> [!TIP]
38
+
> Ensure the app uses SharePoint connection and connects to a SharePoint list as described in the prerequisites.
39
+
40
+
1. Select **+** (Insert) from the left pane.
41
+
42
+
1. Select **Text Input**.
43
+
44
+

45
+
46
+
1. Likewise, insert a **Data table**.
47
+
48
+

49
+
50
+
1. Update the **Items** property of the data table with the following formula:
Replace **Colors** with the name of your SharePoint list, **Title** with the name of column in the list, and **TextInput1** with your text input control name.
0 commit comments