Skip to content

Commit c66affc

Browse files
committed
Merge branch 'tapanm-MSFT-patch-11' of https://github.com/MicrosoftDocs/powerapps-docs-pr into tapanm-MSFT-patch-11
2 parents 093b676 + 9ea4111 commit c66affc

11 files changed

+109
-40
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@
400400
href: ./canvas-apps/inline-actions.md
401401
- name: Add comments
402402
href: ./canvas-apps/comments.md
403-
- name: Understand copresence
403+
- name: Understand coauthoring
404404
href: ./canvas-apps/copresence-power-apps-studio.md
405405
- name: Add and configure controls
406406
href: ./canvas-apps/add-configure-controls.md

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

Lines changed: 45 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: mkaur
55
ms.topic: conceptual
66
ms.custom: canvas
77
ms.reviewer: mkaur
8-
ms.date: 06/09/2023
8+
ms.date: 06/27/2024
99
ms.subservice: canvas-maker
1010
ms.author: mkaur
1111
search.audienceType:
@@ -41,42 +41,65 @@ You might be working on the app, or you're inactive, but once someone else saves
4141

4242
## Inactive during editing
4343

44-
When you're editing an app and become inactive for two hours, a **Continue editing** dialog box is displayed, asking if you want to continue editing the app or switch to read-only. If you don't respond, the system informs you that you were inactive and puts you in read-only mode, so other readers can to become the editor.
44+
When you're editing an app and become inactive for two hours, a **Continue editing** dialog box is displayed, asking if you want to continue editing the app or switch to read-only. If you don't respond, the system informs you that you were inactive and puts you in read-only mode, so other readers can become the editor.
4545

4646
If auto save is turned on, your changes are automatically saved. If auto save isn't turned on, a **You're no longer editing** dialog box appears that lets you save a copy of your changes.
4747

4848

49-
## Live updates (experimental)
49+
## Coauthoring (preview)
5050

5151
[This section is pre-release documentation and is subject to change.]
5252

53-
> [!IMPORTANT]
54-
> - This is an experimental feature.
55-
> - Experimental features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.
56-
> - This feature is in the process of rolling out, and might not be available in your region yet.
53+
Coauthoring allows multiple makers to edit a canvas app at the same time. When more than one person is editing an app, you'll see presences indicators showing where another maker is working on the app and see their changes in real time.
54+
5755

56+
> [!div class="mx-imgBorder"]
57+
> ![Coauthoring in Power Apps Studio.](media/copresence/coauthoring.png)
5858
59-
Live updates is a new experimental feature that works similarly to copresence. The user who opens the app first has the editing privileges. When another user attempts to open the app, a notification is displayed, informing them that someone else is currently editing the app and they're limited to read-only access. The benefit of live updates is that you can see in real-time the changes that are being made by the maker editing the app without the need to refresh the app.
6059

61-
### Enable live updates
60+
Legend
6261

63-
To use live updates, it must be turned on for each individual app. Once live updates is enabled, it takes precedence over the copresence feature.
62+
1. The command bar shows that you're in **Editing** mode. When there's multiple editors, you'll see their avatar.
63+
1. The area that's being edited by another maker is highlighted and shows their initials.
64+
1. The left-hand navigation pane in Power Apps Studio displays the app's structure, indicating which part of the app is being edited by another maker.
6465

65-
1. To enable live updates, open your app for editing in Power Apps Studio.
66-
2. Go to **Settings** > **Upcoming features** > **Experimental**.
67-
3. Set the toggle for **Enable live updates** to **On**.
66+
> [!NOTE]
67+
> Since multiple users can select and edit the same control at the same time, you may overwrite each other’s edits.
6868
6969

70-
### Limitations of live updates
70+
> [!IMPORTANT]
71+
> - This is a preview feature.
72+
> - This feature is in the process of rolling out, and might not be available in your region yet.
73+
74+
### Enable coauthoring
75+
76+
To use coauthoring, it must be turned on for each individual app. Once coauthoring is enabled, it takes precedence over the copresence feature.
77+
78+
1. To enable live updates, open your app for editing in Power Apps Studio.
79+
2. Go to **Settings** > **Updates** > **Preview**.
80+
3. Set the toggle for **Coauthoring** to **On**.
81+
82+
83+
### Limitations
84+
85+
- The following options are disabled when there's more than one user editing the app:
86+
- Search
87+
- Save as
88+
- Open another or new app
89+
- Undo and redo
90+
- Switch authoring versions
91+
- The maximum number of coauthors allowed is 10, either in one session or across a total of 10 tabs, depending on which limit is reached first. Any additional coauthors or tabs beyond 10 will be in copresence and will not have the ability to edit the app or receive real-time updates.
92+
- The app language is locked to the locale of the first user that opens the app for editing.
93+
- Cut is disabled.
94+
- Coauthoring is disabled in the Monitor tool.
95+
- Problems might occur with the following actions:
96+
- When you rename a control
97+
- When you add AI Builder components
98+
- When you add geospatial controls
99+
- When one author adds a flow and another coauthor tries to run the flow without first refreshing the app
100+
- Some errors from one author's actions are visible to all other coauthors
101+
- When you copy and paste
71102

72-
The maker editing the app and those accessing it in read-only mode are unable to perform or have disabled access to these options:
73103

74-
- Undo or redo changes
75-
- Switch authoring version
76-
- Open a new app from data, app from template, new app from blank, and edit app
77-
- Use **Save as** option or save the app locally
78-
- [Monitor tool](../monitor-overview.md)
79-
- Search pane
80-
- Makers accessing the app in read-only mode can't make any changes
81104

82105

60.9 KB
Loading

powerapps-docs/maker/data-platform/data-retention-view.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ description: Learn how to access ready only data that is in long term storage.
44
author: pnghub
55
ms.author: gned
66
ms.reviewer: matp
7+
contributors: manasdalai
78
ms.service: powerapps
89
ms.topic: how-to
9-
ms.date: 03/12/2024
10-
ms.custom: template-how-to
10+
ms.date: 06/27/2024
11+
ms.custom: template-how-to
1112
---
1213
# View long term retained data
1314

@@ -39,6 +40,20 @@ If you need to retrieve long term data from multiple related tables, such as the
3940

4041
More information: [Advanced find in model-driven apps](../../user/advanced-find.md)
4142

43+
## View retained data using using FetchXml
44+
In order to fetch the retained data for a table, specify the `datasource="retained"` in the FetchXml.
45+
46+
Example:
47+
```xml
48+
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true" no-lock="false" datasource="retained">
49+
<entity name="opportunity">
50+
<attribute name="opportunityid"></attribute>
51+
</entity>
52+
</fetch>
53+
```
54+
55+
More information: [Use FetchXml to retrieve data](/power-apps/developer/data-platform/fetchxml/retrieve-data?tabs=sdk)
56+
4257
## View retained data using a flow
4358

4459
Create a Power Automate cloud flow to create an Excel file of the retained data from a FetchXML query and send as an email attachment. More information: [Create a cloud flow to view Dataverse long term retained data](/power-automate/dataverse/data-retention-flow)

powerapps-docs/maker/data-platform/formula-columns.md

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: sanjeevgoyalmsft
55
reviewer: mattp123
66
ms.topic: how-to
77
ms.custom:
8-
ms.date: 04/30/2024
8+
ms.date: 06/28/2024
99
ms.subservice: teams
1010
ms.author: dikamath
1111
ms.reviewer: matp
@@ -14,6 +14,7 @@ contributors:
1414
- mattp123
1515
- sanjeevgoyalmsft
1616
- JimDaly
17+
- neerajatmsft
1718
---
1819
# Work with formula columns
1920

@@ -135,11 +136,12 @@ For more information, go to [Operators in Power Apps](../canvas-apps/functions/o
135136
You can display the following data types in a formula column:
136137

137138
- Text
138-
- Decimal number
139+
- [Decimal number](#create-a-decimal-formula-column)
139140
- Choice Yes/No (boolean)
140141
- Datetime
142+
- [Whole Number](#create-a-whole-number-formula-column)
141143

142-
The currency, whole number, and choice (formerly option sets) data types aren't currently supported.
144+
The currency, and choice (formerly option sets) data types aren't currently supported.
143145

144146
## Function types
145147

@@ -367,6 +369,36 @@ You can use the following scalar functions in a formula column:
367369
|---------|---------|
368370
|Retrieve a date value. | `DateAdd(UTCNow(),-1,TimeUnit.Years)` |
369371

372+
## Create a decimal formula column
373+
374+
Create a formula column that returns a decimal number.
375+
376+
1. When you create a column, enter the following information:
377+
- A **Display name** for the column.
378+
- Optionally, enter a **Description** of the column.
379+
1. For **Data type** select ***fx* Formula**.
380+
1. Enter a formula that returns a numeric value in the **Formula** bar.
381+
This example creates a formula column called *Total Amount*. The *Price Per Unit* column is of decimal data type.
382+
:::image type="content" source="media/formula-columns-decimal-fd.png" alt-text="Screenshot of a create a new formula column pane for use with a decimal number.":::
383+
1. Expand **Advanced options**, select **Decimal** as the **Formula data type**, and then set the required number of decimal places.
384+
:::image type="content" source="media/formula-columns-decimal-adv-options.png" alt-text="Screenshot of a decimal formula column definition.":::
385+
1. Select **Save**.
386+
387+
## Create a whole number formula column
388+
389+
Create a formula column that returns a whole number.
390+
391+
1. When you create a column, enter the following information:
392+
- A **Display name** for the column.
393+
- Optionally, enter a **Description** of the column.
394+
1. For **Data type** select ***fx* Formula**.
395+
1. Enter a formula that returns a numeric value in the **Formula** bar.
396+
This example creates a formula column called *Number of Units*. *Total Price* and *Price Per Unit* columns are of decimal data type.
397+
:::image type="content" source="media/formula-columns-wholenum-fd.png" alt-text="Screenshot of a create a new formula column pane for use with a whole number..":::
398+
1. Expand **Advanced options**, and select **Whole number** as the **Formula data type** and set the required format for whole number column.
399+
:::image type="content" source="media/formula-columns-wholenum-adv-options.png" alt-text="Screenshot of a whole number formula column definition.":::
400+
1. Select **Save**.
401+
370402
## Guidelines and limitations
371403

372404
This section describes guidelines and the known limitations with formula columns in Dataverse.
@@ -442,6 +474,8 @@ This section describes guidelines and the known limitations with formula columns
442474
- Duplicate detection rules aren't triggered on formula columns.
443475
- The `Now` function can be used with formula columns. `Now()` has user local behavior and `UTCNow()` has time zone independent behavior.
444476
- You can set the precision property for decimal columns.
477+
- Default formula data type value is set to **Decimal** for numeric value returning formulas.
478+
- Updating whole number formula column's format isn't supported.
445479

446480
### Power Fx functions not currently supported
447481

@@ -453,7 +487,6 @@ This section describes guidelines and the known limitations with formula columns
453487

454488
### Formula columns of data types that can't be produced
455489

456-
- Whole Number
457490
- Choices (except Yes/No choice)
458491
- Currency
459492

66.4 KB
Loading
59.9 KB
Loading
74.4 KB
Loading
61.8 KB
Loading

powerapps-docs/maker/model-driven-apps/share-model-driven-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ editor: ''
66
tags: ''
77
ms.topic: how-to
88
ms.component: model
9-
ms.date: 10/18/2023
9+
ms.date: 06/28/2024
1010
ms.subservice: mda-maker
1111
ms.author: matp
1212
search.audienceType:
@@ -155,7 +155,7 @@ There are a few key environment and licensing prerequisites required when sharin
155155
- A Microsoft 365 user with Power Platform administrator rights or global admin rights must exist within the organization. [Learn how to assign Power Platform Administrator rights](/power-platform/admin/use-service-admin-role-manage-tenant). This provides the user with administrator rights over all environments.
156156
- The app sharer must have admin privileges to the specific environment (or be a Power Platform administrator). The app sharer must have a [security role](/power-platform/admin/security-roles-privileges) with equal or greater privileges than the security role they're assigning to the app and to other users. Usually, this takes the form of the app sharer having the Dataverse **System Administrator** or **System Customizer** security role. These roles can be assigned by Power Platform administrators (who have rights over all Dataverse environments). The system administrator and system customizer security roles are standard roles that exist within all Dataverse environments.
157157
- The user must exist as a user within the environment. It isn't enough to only be a Microsoft 365 user. This is because all users in an environment are accounted for and described within tables in the environment. [Learn how to add a user to an environment](/power-platform/admin/add-users-to-environment)
158-
- Users must have the correct [license](/power-platform/admin/pricing-billing-skus) to be able to use the app. Users can [request a license themselves](../../user/request-license.md), or a [maker can request licenses for their app users](../common/request-licenses-for-users.md). Also, the license must be assigned in the tenant hosting the app. The exception to this prerequisite is when an app is hosted in a Microsoft Dataverse for Teams environment.
158+
- Users must have the correct [license](/power-platform/admin/pricing-billing-skus) to be able to use the app. Users can [request a license themselves](../../user/request-license.md), or a [maker can request licenses for their app users](../common/request-licenses-for-users.md). Also, the license must be assigned in either the users home tenant or the tenant hosting the app.
159159

160160
## About predefined security roles
161161

@@ -184,4 +184,4 @@ Administrators can use their organization's Microsoft Entra groups to manage acc
184184

185185
[Run a model-driven app on a mobile device](/dynamics365/customerengagement/on-premises/basics/dynamics-365-phones-tablets-users-guide-onprem)
186186

187-
[!INCLUDE[footer-include](../../includes/footer-banner.md)]
187+
[!INCLUDE[footer-include](../../includes/footer-banner.md)]

0 commit comments

Comments
 (0)