Skip to content

Commit 0e90f59

Browse files
authored
Merge pull request #7671 from MicrosoftDocs/mints-variables-collections
variables collections - preview - DO NOT MERGE
2 parents b937177 + 17a6119 commit 0e90f59

File tree

10 files changed

+36
-18
lines changed

10 files changed

+36
-18
lines changed

powerapps-docs/maker/canvas-apps/create-update-collection.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,16 @@ Watch this video to learn how to create and update a collection:
6868
6969
1. Repeat the previous step at least two more times, and then press Esc.
7070
71-
1. On the **File** menu, select **Collections** to show the collection that you created.
71+
1. If you're using the preview version of Power Apps Studio, select the **Variables** pane and then select **Collections** to see the collections that you created.
72+
73+
![Show collections.](./media/create-update-collection/collections.png)
74+
75+
If you're using the classic version of Power Apps Studio, on the **File** menu, select **Collections**.
76+
77+
![Show collection.](./media/create-update-collection/show-collection.png)
78+
79+
7280
73-
![Show collection.](./media/create-update-collection/show-collection.png)
7481
7582
## Show a collection
7683
Loading
Loading
Loading
Loading
Loading
Loading

powerapps-docs/maker/canvas-apps/power-apps-studio.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ When you create a canvas app by using any method, you're taken to the canvas app
2727

2828
## Overview of Power Apps Studio
2929

30-
![Screenshot of Power Apps Studio.](media/studio/pa-studio.png "Power Apps Studio")
30+
![Screenshot of Power Apps Studio.](media/studio/pa-studio-1.png "Power Apps Studio")
3131

3232
1. [Power Apps Studio modern command bar](#1--power-apps-studio-modern-command-bar): Dynamic command bar that shows a different set of commands based on the control that's selected.
3333

@@ -369,6 +369,7 @@ Switch between various authoring options while working with the app.
369369
- **Data**: Add or remove data such as tables that the app connects to.
370370
- **Media**: Insert or remove media from the app.
371371
- **Power Automate**: Add a flow using the [Power Automate pane](working-with-flows.md).
372+
- **Variables**(preview): Work with [variables](working-with-variables.md) and [collections](create-update-collection.md) while editing your app.
372373
- **Advanced tools**: Allows you to access the [Monitor](../monitor-canvasapps.md) and [Test](test-studio.md) tools to debug and test your app.
373374
- **Search**: Select to search for media, formulas, text, and more in your app. You can also do a search and replace.
374375

@@ -445,6 +446,4 @@ Use the screen selector to switch between screens when your canvas app has multi
445446

446447
You can zoom in or out while authoring the canvas app. Select **Ctrl**+**0** **Fit to window** to fit the screen size based on the current authoring window size. The zoom percentage or screen size you use while authoring a canvas app has no impact on the aspect ratio configured for the app when you preview your app or play a published app.
447448

448-
### See also
449449

450-
[Understand Power Apps Studio in Dataverse in a Teams environment](/power-apps/teams/understand-power-apps-studio.md)

powerapps-docs/maker/canvas-apps/search.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use the Search pane (preview)
2+
title: Use the Search pane
33
description: Learn how to use the Search pane inside Power Apps Studio to find text.
44
author: TashasEv
55
ms.topic: conceptual
@@ -94,7 +94,11 @@ Search result:
9494

9595
:::image type="content" source="media/search/variables-1.png" alt-text="Global and context variables available in search result.":::
9696

97-
Depending on the selected global or context variable, you're taken to the information screen for the selected type of variable.
97+
If you're using the preview version of Power Apps Studio, select the **Context variables** or **Global variables** to see more information about the variable.
98+
99+
:::image type="content" source="media/search/global-context-variables.png" alt-text="Selecting a global or context variable takes you to the information screen.":::
100+
101+
If you're using the classic version of Power Apps Studio, depending on the selected global or context variable, you're taken to the information screen for the selected type of variable.
98102

99103
Global variable selected:
100104

@@ -104,6 +108,7 @@ Context variable selected:
104108

105109
:::image type="content" source="media/search/local-variable-1.png" alt-text="Selecting a context variable takes you to the information screen of the selected context variables.":::
106110

111+
107112
### Collections
108113

109114
Selecting a collection under the **Collections** header will take you to the information screen for that collection.

powerapps-docs/maker/canvas-apps/working-with-variables.md

+18-11
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: gregli-msft
66
ms.topic: conceptual
77
ms.custom: canvas
88
ms.reviewer: mkaur
9-
ms.date: 06/29/2020
9+
ms.date: 02/7/2023
1010
ms.subservice: canvas-maker
1111
ms.author: gregli
1212
search.audienceType:
@@ -135,13 +135,17 @@ Let's rebuild our adding machine by using a global variable:
135135

136136
![Text-input control contains a value, and the label contains the running total.](media/working-with-variables/global-variable-4.png)
137137

138-
7. To show the global variable's value, select the **File** menu, and select **Variables** in the left-hand pane.
138+
7. To show the global variable's value, do one of the following:
139+
140+
- If you're using the preview version of Power Apps Studio, select **Variables** on the app authoring menu.
139141

140-
![Variables option in the File menu.](media/working-with-variables/global-variable-file-1.png)
142+
![Variables and collections menu.](media/working-with-variables/var-collections-menu.png)
143+
144+
- If you're using the classic version of Power Apps Studio, select the **File** menu, and select **Variables** in the left-hand pane.
141145

142-
8. To show all the places where the variable is defined and used, select it.
146+
8. To show all the places where the variable is defined and used, select it under **Global variables**.
143147

144-
![List of location where variable is used.](media/working-with-variables/global-variable-file-2.png)
148+
![List of location where variable is used.](media/working-with-variables/var-collections-1.png)
145149

146150
## Types of variables
147151

@@ -239,13 +243,14 @@ Let's rebuild our adding machine by using a context variable:
239243

240244
![Screen1 is open.](media/working-with-variables/context-variable-6.png)
241245

242-
8. To show the value of the context variable, select the **File** menu, and then select **Variables** in the left-hand pane.
246+
8. To show the value of the context variable, do one of the following:
243247

244-
![Variables option on the File menu.](media/working-with-variables/context-variable-file-1.png)
248+
- If you're using the preview version of Power Apps Studio, select **Variables** in the app authoring menu.
249+
250+
- If you're using the classic version of Power Apps Studio, select the **File** menu, and then select **Variables** in the left-hand pane.
245251

246-
9. To show where the context variable is defined and used, select it.
252+
9. To show where the context variable is defined and used, select it under **Context variables**.
247253

248-
![List of where a variable is used.](media/working-with-variables/context-variable-file-2.png)
249254

250255
## Use a collection
251256

@@ -299,9 +304,11 @@ Let's recreate our adding machine by using a collection:
299304

300305
![Data table that shows the values added to the collection.](media/working-with-variables/papertape-4.png)
301306

302-
9. To see the values in your collection, select **Collections** on the **File** menu.
307+
9. To see the values in your collection, do one of the following:
303308

304-
![Preview of the PaperTape collection.](media/working-with-variables/papertape-file.png)
309+
- If you're using the preview version of Power Apps Studio, select **Variables** in the app authoring menu and then select **Collections**.
310+
311+
- If you're using the classic versionof Power Apps Studio, select **Collections** on the **File** menu.
305312

306313
10. To store and retrieve your collection, add two additional button controls, and set their **Text** properties to **Load** and **Save**. Set the **OnSelect** property of the **Load** button to this formula:
307314

0 commit comments

Comments
 (0)