Skip to content

Commit cb94758

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/powerapps-docs-pr into mg-email-download
2 parents f9ed708 + 820dcbb commit cb94758

18 files changed

+177
-72
lines changed

powerapps-docs/developer/data-platform/org-service/queryexpression/aggregate-data.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
22
title: Aggregate data using QueryExpression
33
description: Learn how to use QueryExpression to retrieve aggregated data from Microsoft Dataverse.
4-
ms.date: 05/12/2024
4+
ms.date: 04/11/2025
55
ms.reviewer: jdaly
66
ms.topic: how-to
7-
author: pnghub
7+
author: olegovanesyan
88
ms.subservice: dataverse-developer
9-
ms.author: gned
9+
ms.author: olegov
1010
search.audienceType:
1111
- developer
1212
contributors:
1313
- JimDaly
14+
- daryllabar
1415
---
1516
# Aggregate data using QueryExpression
1617

@@ -56,6 +57,7 @@ The types of aggregation you can do are members of the [XrmAggregateType enum](x
5657
Note the following points:
5758

5859
- Null values aren't considered when calculating aggregate values.
60+
- Aggregated data is returned as an [AliasedValue](xref:Microsoft.Xrm.Sdk.AliasedValue).
5961
- You can use data from tables joined using the [LinkEntity class](xref:Microsoft.Xrm.Sdk.Query.LinkEntity).
6062
- You can apply filters to limit the results as with any query.
6163

@@ -65,7 +67,7 @@ Let's say you have 10 account records with the following data:
6567

6668
|Number of Employees|Name|Address 1 City|Created On|
6769
|---------|---------|---------|---------|
68-
|NULL|Example Account|NULL|8/25/2023|
70+
|NULL|Example Account|NULL|8/27/2023|
6971
|1,500|Contoso Pharmaceuticals (sample)|Redmond|3/25/2023|
7072
|2,700|Fabrikam, Inc. (sample)|Lynnwood|3/25/2023|
7173
|2,900|Blue Yonder Airlines (sample)|Los Angeles|3/25/2023|
@@ -142,6 +144,8 @@ Group the results of an aggregate query by adding an [XrmAttributeExpression](xr
142144

143145
When grouping, you should specify a [QueryExpression.Orders](xref:Microsoft.Xrm.Sdk.Query.QueryExpression.Orders) with an [OrderExpression](xref:Microsoft.Xrm.Sdk.Query.OrderExpression) that has the [Alias property](xref:Microsoft.Xrm.Sdk.Query.OrderExpression.Alias) set to the alias of the group.
144146

147+
If a grouped by value is null, it doesn't appear in the results.
148+
145149

146150
For example the following query returns the sum of employees, and count by city:
147151

powerapps-docs/maker/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
href: ../user/use-copilot-model-driven-apps.md
6464
- name: Use Copilot to visualize data in a view (preview)
6565
href: ../user/visualize-data-in-copilot.md
66+
- name: Use Copilot case summary in model-driven apps
67+
href: ../user/copilot-case-summary.md
6668
- name: Navigation and basics
6769
items:
6870
- name: Basic navigation

powerapps-docs/maker/canvas-apps/add-custom-copilot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: mduelae
55
ms.topic: conceptual
66
ms.custom: canvas
77
ms.reviewer:
8-
ms.date: 4/8/2025
8+
ms.date: 4/10/2025
99
ms.subservice: canvas-maker
1010
ms.author: mkaur
1111
search.audienceType:
@@ -20,7 +20,7 @@ contributors:
2020
You can integrate a custom Copilot created in Microsoft Copilot Studio and enable it for your canvas app. This lets users interact with Copilot to ask questions about the data in your app. With just a few simple steps, you can embed a custom Copilot across all your canvas app screens without changing the app's design.
2121

2222
> [!IMPORTANT]
23-
> - You can only use this feature on mobile devices. For web scenarios, use [Copilot control for canvas apps](../../maker/canvas-apps/add-ai-copilot.md).
23+
> - This feature is available only on mobile devices. For web scenarios, this feature will be deprecated by September 2025. If you're running a canvas apps in a web browser, use the [Copilot control for canvas apps](../../maker/canvas-apps/add-ai-copilot.md) instead.
2424
> - This is a preview feature.
2525
> - Preview features aren't meant for production use and might have restricted functionality. These features are subject to [supplemental terms of use](https://go.microsoft.com/fwlink/?linkid=2189520), and are available before an official release so that customers can get early access and provide feedback.
2626

powerapps-docs/maker/common/faq-plan-designer.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: FAQ that discusses the Power Apps the Plan designer and the key con
44
author: norliu
55
contributors: mduelae
66
ms.topic: conceptual
7-
ms.date: 4/03/2025
7+
ms.date: 4/10/2025
88
ms.author: norliu
99
ms.reviewer: mkaur
1010
ms.collection:
@@ -35,7 +35,6 @@ We evaluate the feature both qualitatively and quantitatively. To assess the qua
3535
- Preview features aren’t meant for production use and might have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback. For more information, see preview terms.
3636
- This capability is powered by Azure OpenAI Service.
3737
- This capability can be subject to usage limits or capacity throttling.
38-
- This feature doesn’t support non-English language input.
3938
- This feature allows maximum input size of 4k tokens, including both text and images. (~ 3,000 words if your input only contains text)
4039

4140
## What operational factors and settings allow for effective and responsible use of the Plan designer?

powerapps-docs/maker/common/wrap/limitations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Wrap offers several benefits, effectively addressing challenges like increasing
5050

5151
1. **Sovereign cloud**: Wrap is currently not supported in the sovereign cloud.
5252

53+
1. **Full Image View**: Offline-enabled Wrap apps support viewing images as thumbnails but don't currently support viewing images in full view.
54+
5355
### See also
5456

5557
- [Troubleshoot issues with the wrap feature in Power Apps](/troubleshoot/power-platform/power-apps/manage-apps-and-solutions/wrap-issues)

powerapps-docs/maker/data-platform/data-retention-faq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
description: Get answers to frequently asked questions about long term retention with Dataverse.
55
author: Mattp123
66
ms.search.keywords:
7-
ms.date: 09/23/2024
7+
ms.date: 04/11/2025
88
ms.author: matp
99
ms.reviewer:
1010
contributors: gned
@@ -72,7 +72,7 @@ sections:
7272
7373
- question: In which regions is Dataverse long term retention available?
7474
answer: |
75-
The feature is currently available in all public cloud regions and GCC. GCC High and DOD aren't currently supported.
75+
The feature is currently available in all public cloud regions. GCC, GCC High, and DOD aren't currently supported.
7676
7777
- question: Can data be moved from Dataverse long term store to my own data lake?
7878
answer: |

powerapps-docs/maker/data-platform/preferred-solution.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Set a preferred solution | MicrosoftDocs"
33
description: "Set your preferred solution in Power Apps."
4-
ms.date: 11/13/2024
4+
ms.date: 04/09/2025
55
ms.topic: conceptual
66
author: Mattp123
77
ms.subservice: dataverse-maker
@@ -16,14 +16,20 @@ ms.custom:
1616
---
1717
# Set the preferred solution
1818

19-
By default, unless already in the context of an unmanaged solution, all solution components are stored in the solution named Common Data Services Default Solution. Because there's no separation of components between makers and the Common Data Services Default Solution can't be exported for import to other environments, this typically isn't the best model.
19+
By default, unless you're already in the context of an unmanaged solution when you create an object, all solution objects are stored in the solution named Common Data Services Default Solution. For most situations, you don't want to create your solution objects in either of the two Dataverse system solutions, which are the Common Data Services Solution and the Default Solution. This article explains why using the system solutions is discouraged and provides step-by-step instructions to set and manage your preferred solution.
2020

21-
Using preferred solutions is a way to set which solution will support each maker's edits that happen anywhere in Power Apps. It enables makers to view and update which solution they're using. After you set your preferred solution, you can create components in the solution you specify and those components will automatically be in that solution so that you control the components within the solution. Then, you can export your preferred solution and import the solution to other Microsoft Dataverse environments.
21+
## Why not create your objects in the system solutions?
22+
23+
There are a few reasons you *shouldn't* create your solution objects in either the Common Data Services Solution and the Default Solution:
24+
25+
- There's no control over the separation of solution objects between makers. All objects can be viewed from the Default Solution and the Common Data Services Solution is the default solution so other makers can and likely are using it.
26+
- The Default Solution can't be exported for import to other environments.
27+
- You can't change the solution publisher for the Default Solution. Additionally, since the solutions already exist, you can't change the solution publisher prefix for either system solutions. More information: [Solution publisher](create-solution.md#solution-publisher)
28+
29+
Using preferred solutions is a way to determine which solutions contain each maker's edits that occur in Power Apps. Setting the preferred solution enables makers to view and update which solution they're using. After you set your preferred solution, you can create objects in the solution you specify and those objects will automatically be in that solution so that you control the objects within the solution. Then, you can export your preferred solution and import the solution to other Microsoft Dataverse environments.
2230

2331
> [!NOTE]
24-
>
25-
> - When your preferred solution isn't set, by default, the **Common Data Services Default Solution** is your preferred solution. If **Common Data Services Default Solution** isn't available, the solution named **Default Solution** is used as your preferred solution. You can change this to your desired solution by following the steps in this article. For more information about the **Common Data Services Default Solution** and **Default Solution**, go to [Default solutions](solutions-overview.md#default-solutions).
26-
> - The environment setting to enable or disable this feature is no longer available now that preferred solution is generally available.
32+
> When your preferred solution isn't set, by default, the **Common Data Services Default Solution** is your preferred solution. If **Common Data Services Default Solution** isn't available, the solution named **Default Solution** is used as your preferred solution. You can change this to your desired solution by following the steps in this article. For more information about the **Common Data Services Default Solution** and **Default Solution**, go to [Default solutions](solutions-overview.md#default-solutions).
2733
2834
## Prerequisites
2935

@@ -44,15 +50,15 @@ Once your preferred solution is set, notice the **preferred solution** indicator
4450
You can delete your preferred solution or a preferred solution that other makers have also set as their preferred solution.
4551

4652
> [!WARNING]
47-
> When you delete a preferred solution you receive a warning that includes the fallback default solution and the number of other makers who are using the same solution. Delete an active solution only when you're sure it won't impact your work or the work of other makers.
53+
> When you delete a preferred solution, you receive a warning that includes the fallback default solution and the number of other makers who are using the same solution. Delete an active solution only when you're sure it won't impact your work or the work of other makers.
4854
>
4955
> :::image type="content" source="media/delete-preferred-solution.png" alt-text="Delete a preferred solution warning":::
5056
5157
## Limitations
5258

5359
- You can't set or view the preferred solution in the classic solution explorer.
5460
- Components that are created in the classic solution explorer won't go into the preferred solution.
55-
- Preferred solution currently doesn't work with Dataverse for Teams,cards, dataflows, AI Builder, chatbots, connections, gateways, custom connectors, Power Automate flows (limited), and canvas apps created from image or a Figma design.
61+
- Preferred solution currently doesn't work with Dataverse for Teams, cards, dataflows, AI Builder, chatbots, connections, gateways, custom connectors, Power Automate flows (limited), and canvas apps created from image or a Figma design.
5662
- When a component is already part of an existing unmanaged solution, it will still be added to the preferred solution.
5763

5864
## See also

powerapps-docs/maker/data-platform/set-managed-properties-for-field.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: "Set managed properties for columns in Power Apps | MicrosoftDocs"
3-
description: "Learn how to set managed properties for a column"
2+
title: "Set managed properties for columns in Power Apps"
3+
description: "Learn how to set managed properties for a column in Microsoft Dataverse."
44
ms.custom: ""
5-
ms.date: 11/13/2024
5+
ms.date: 04/10/2025
66
ms.reviewer: ""
77
ms.suite: ""
88
ms.tgt_pltfrm: ""
@@ -22,30 +22,29 @@ search.audienceType:
2222
---
2323
# Set managed properties for columns
2424

25-
Managed properties only apply when you include columns in a managed solution and import the solution into another environment. These settings allow a solution maker to have some control over the level of customization that people who install their managed solution can have when they customize this column.
25+
Managed properties only apply when you export columns in a managed solution and import the solution into another environment. These settings allow a solution maker to have some control over the level of customization that people who install their managed solution can have when they customize this column.
2626

2727
To view and set managed properties for a column, follow these steps:
2828

2929
1. Sign into [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) and select **Solutions** from the left navigation. [!INCLUDE [left-navigation-pane](../../includes/left-navigation-pane.md)]
30-
1. Open the solution, and then on the command bar select **Switch to classic**.
31-
1. Expand **Entities**, expand the table you want, and then select **Fields**.
30+
1. Open the solution, open the table you want, and then open the **Columns** area.
3231
1. Select the column you want.
33-
1. On the command bar select **More Actions**, and then select **Managed Properties**.
32+
1. On the command bar select **More Actions**, and then select **Managed properties**.
3433
1. Select the [managed properties options](#managed-properties-options) you want, and then select **Set**.
3534

3635
## Managed properties options
3736

38-
The **Can be customized** option controls all the other options. If this option is `False`, none of the other settings apply. When it is `True`, you can specify the other customization options.
37+
The **Allow customizations** option controls all the other options. If this option is `False`, none of the other settings apply. When it is `True`, you can specify the other customization options.
3938

4039
If the column is customizable, you set the following options to `True` or `False`.
4140

4241
- **Display name can be modified**
4342

4443
- **Can change requirement level**
4544

46-
- **Can change Additional Properties**
45+
- **Can change additional properties**
4746

48-
These options are self-explanatory. If you set all the individual options to `False`, you might as well set **Can be customized** to `False`.
47+
These options are self-explanatory. If you set all the individual options to `False`, you might as well set **Allow customizations** to `False`.
4948

5049
## Next steps
5150

powerapps-docs/maker/model-driven-apps/manage-commands-in-solutions.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,28 @@ search.audienceType:
1414

1515
# Manage commands in solutions
1616

17-
Unlike classic commands, modern commands are treated the same as other solution components and support core solution behaviors. You can also edit existing modern commands from within a solution.
17+
Unlike classic commands, modern commands are treated the same as other solution objects and support core solution behaviors. You can also edit existing modern commands from within a solution.
18+
19+
To add commands to a solution, you add the solution objects that depend on your command actions:
20+
21+
- Modern commands are a table component. When you add a command to a solution, you must add the command component. In this screenshot there's one JavaScript and one Power Fx command for the custom Classroom table that can be added as a specific object to a solution for export.
22+
:::image type="content" source="media/commanddesigner-add-to-solution.png" alt-text="Add a command table component to a solution":::
23+
- Power Fx commands use a Dataverse component library. Add the component library to your solution if you plan to export it.
24+
- JavaScript commands use a web resource. Add the web resource that includes the underlying JavaScript to run your command to the solution if you plan to export it.
25+
26+
More information: [Add an existing component to a solution](../data-platform/create-solution.md#add-an-existing-component-to-a-solution)
1827

1928
Modern commanding provides these benefits when you work with solutions:
20-
- Add solution components that depend on your command actions.
21-
- Block commands from being customized by using managed properties.
22-
- View dependencies related to your modern command components.
23-
- Troubleshoot by viewing which solutions modified the component and when using solution layers.
24-
- Remove any unmanaged customizations if in an unhealthy state.
25-
- Add or remove command components from a solution.
29+
30+
- Block commands from being customized by using managed properties. Open the table, select **Commands**, select the command, and then on the command bar select **Advanced** > **Managed properties** to disable **Allow customizations**.
31+
- View dependencies related to your modern command components. More information: [View dependencies for a component in Power Apps](../data-platform/view-component-dependencies.md)
32+
- Troubleshoot by viewing which solutions modified the component and when using solution layers. More information: [Solution layers](../data-platform/solution-layers.md)
33+
- Remove any unmanaged customizations if in an unhealthy state. More information: [Remove an unmanaged layer](../data-platform/solution-layers.md#remove-an-unmanaged-layer)
2634
- Segment solutions and build minor updates or patches that include your modern command components.
27-
> [!div class="mx-imgBorder"]
28-
> ![Clone a patch](media/CommandDesigner-clone-a-patch.png "Clone a patch")
29-
- Modern command components work with solution upgrade so you can delete components by importing a new version.
30-
- Standardized localization via export/import translations.
35+
- Modern command components work with solution upgrade so you can delete components by importing a new version. [Upgrade or update a solution](../data-platform/update-solutions.md)
36+
- Standardized localization via export/import translations. More information: [Translate label text](../data-platform/translate-entity-label-text.md)
3137

32-
### See also
38+
## Related articles
3339

3440
[Modern commanding overview](command-designer-overview.md)
3541

Loading

0 commit comments

Comments
 (0)