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/developer/data-platform/dataverse-sql-query.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
---
2
2
title: "Use SQL to query data (Microsoft Dataverse) | Microsoft Docs"# Intent and product brand in a unique string of 43-59 chars including spaces
3
3
description: "Learn how to query Microsoft Dataverse table data using SQL."# 115-145 characters including spaces. This abstract displays in the search result.
4
-
5
4
ms.date: 05/18/2023
6
5
ms.reviewer: "pehecke"
7
6
ms.topic: "article"
@@ -14,10 +13,13 @@ search.audienceType:
14
13
15
14
# Use SQL to query data
16
15
17
-
[This topic is pre-release documentation and is subject to change. Note that only the SQL data connection through SQL Server Management Studio and .NET libraries is in preview. Power BI is General Availability (GA)]
16
+
[This topic is pre-release documentation and is subject to change.]
18
17
19
18
The Microsoft Dataverse business layer provides a Tabular Data Stream (TDS) endpoint that emulates a SQL data connection. The SQL connection provides read-only access to the table data of the target Dataverse environment thereby allowing you to execute SQL queries against the Dataverse data tables. No custom views of the data have been provided. The Dataverse endpoint SQL connection uses the Dataverse security model for data access. Data can be obtained for all Dataverse tables to which a user has access.
20
19
20
+
> [!NOTE]
21
+
> Only the SQL data connection through SQL Server Management Studio and .NET libraries is in preview. Power BI is generally available.
22
+
21
23
## Prerequisites
22
24
23
25
The **Enable TDS endpoint** setting must be enabled in your environment. It is enabled by default. More information: [Manage feature settings](/power-platform/admin/settings-features)
Copy file name to clipboardExpand all lines: powerapps-docs/maker/data-platform/low-code-plug-ins.md
+29-23Lines changed: 29 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,8 @@ Unique properties:
164
164
165
165
## Use Power Platform connectors in low-code plug-ins
166
166
167
+
Power Platform connectors can be used in low-code plug-ins to easily integrate data and functionality from systems outside of Dataverse, such as SQL Server, Salesforce, and SharePoint, without the need for complex coding or custom development.
168
+
167
169
### Prerequisites for using connectors in low-code plug-ins
168
170
169
171
> [!div class="checklist"]
@@ -172,10 +174,7 @@ Unique properties:
172
174
173
175
### Using connector actions in low-code plug-ins
174
176
175
-
You can easily use [connectors](/connectors/connector-reference/connector-reference-powerapps-connectors) and [custom connectors](/connectors/custom-connectors/) from within a low-code plug-in Power Fx formula.
176
-
177
-
> [!NOTE]
178
-
> Not all connector actions are supported at this time.
177
+
You can easily use [connectors](/connectors/connector-reference/connector-reference-powerapps-connectors) and [custom connectors](/connectors/custom-connectors/) from within a low-code plug-in a Power Fx formula.
179
178
180
179
1. Create a connection to the connector you want to use.
181
180
1.[Add a connection reference](/power-apps/maker/data-platform/create-connection-reference#manually-add-a-connection-reference-to-a-solution-using-solution-explorer) to the connection in the Dataverse environment.
@@ -186,13 +185,26 @@ Before using a connector in a low-code plug-in, review the connector's [document
186
185
187
186
More information: [example](lowcode-plug-ins-examples.md#sample-instant-plug-in-with-msn-weather-connector)
188
187
189
-
## Smart low-code plug-ins
188
+
> [!NOTE]
189
+
> * Not all connector actions are supported at this time.
190
+
> * Do not use the Dataverse connector to connect to Dataverse tables from a plug-in expression. Instead, use the native Power Fx functions to interact with collections: [Filter, Search, LookUp](/power-platform/power-fx/reference/function-filter-lookup), [Patch](/power-platform/power-fx/reference/function-patch), [Collect](/power-platform/power-fx/reference/function-clear-collect-clearcollect#collect), and [Set](/power-platform/power-fx/reference/function-set), where columns are treated as global variables.
191
+
192
+
## AI functions in low-code plug-ins
190
193
191
-
### What are smart low-code plug-ins?
194
+
### What are AI functions in low-code plug-ins?
192
195
193
196
Dataverse includes AI-powered actions, which can be used to generate or extract data using Azure Open AI and the power of AI Builder. You can call these functions from both instant and automated low-code plug-ins.
194
197
195
-
**Functions supported for smart low-code plug-ins**
198
+
### Prerequisites for using AI functions in low code plug-ins
199
+
200
+
> [!div class="checklist"]
201
+
> *[Prerequisites for creating a low-code plug-in](#prerequisites-for-creating-a-low-code-plug-in)
202
+
> * AI Builder subscription
203
+
204
+
> [!TIP]
205
+
> If you don't have an AI Builder subscription, you can use an [AI Builder trial](/ai-builder/ai-builder-trials). View the AI models page in Power Apps (make.powerapps.com) to get AI Builder, which directs you to start a trial.
206
+
207
+
### Supported functions
196
208
197
209
| Function | Description |
198
210
| - | - |
@@ -203,18 +215,13 @@ Dataverse includes AI-powered actions, which can be used to generate or extract
203
215
|`AIClassify`| Classify text into one or more provided categories ([Example](lowcode-plug-ins-examples.md#sample-for-aiclassify)) |
204
216
|`AIExtract`| Extract specified entities such as registration numbers ([Example](lowcode-plug-ins-examples.md#sample-for-aiextract)) |
205
217
206
-
### Requirements
207
-
208
-
> [!div class="checklist"]
209
-
> *[Prerequisites for creating a low-code plug-in](#prerequisites-for-creating-a-low-code-plug-in)
210
-
> * AI Builder subscription
218
+
### Using AI functions in low-code plug-ins
211
219
212
-
> [!TIP]
213
-
> If you do not have an AI Builder subscription, you can use an [AI Builder trial](/ai-builder/ai-builder-trials). View the AI models page in Power Apps (make.powerapps.com) to get AI Builder, which directs you to start a trial.
220
+
Type in the AI function and provide the correct input values. Use intellisense and the linked example documentation to understand how to provide correct values to each function.
214
221
215
222
## Test a low-code plug-in
216
223
217
-
**Manually test instant plug-ins**
224
+
## Test instant plug-ins
218
225
219
226
1. From the **Home screen**, select an instant plug-in from the list, then select **Test** on the command bar. You can also get to this screen from the instant plug-in editor in the command bar after it's been saved.
220
227
:::image type="content" source="media/low-code-plugin-test-home.png" alt-text="Select Test for the low-code plug-in":::
@@ -227,9 +234,14 @@ Dataverse includes AI-powered actions, which can be used to generate or extract
227
234
> [!TIP]
228
235
> Use output parameters to help validate expected behavior and results. Otherwise, you only see a success or failure when testing.
229
236
230
-
**Test automated plug-ins**
237
+
### Test automated plug-ins
231
238
232
239
Test automated plug-ins by invoking the data event. Observe if the plug-in ran successfully by validating expected changes that were defined in the formula.
240
+
> [!TIP]
241
+
> During the preview, you can invoke the associated data event using the table editor in Power Apps:
242
+
> 1. Sign into [Power Apps](https://make.powerapps.com), go to **Tables** > _Plug-in table_.
243
+
> 1. On the command bar, select **Edit**.
244
+
> 1. Create, update, or delete rows directly from this view. Alternatively, open a row in the default form by selecting a row, then select **Edit row using form** on the command bar.
233
245
234
246
### Integrate a low-code plug-in
235
247
@@ -268,12 +280,6 @@ Learn more about how you can [call Dataverse actions directly from Power Fx in c
268
280
269
281
Follow the steps for **Unbound action** or **Function bound to table** sections in the [Invoking custom APIs from the Web API documentation](/power-apps/developer/data-platform/custom-api#invoking-custom-apis-from-the-web-api) (depending on the appropriate scope of the plug-in).
270
282
271
-
## Trace logging
272
-
273
-
Trace logging is a feature in Dataverse that allows you to capture detailed information about the execution of plug-ins. By enabling trace logging, you can get a more complete picture of what's happening during plug-in execution, which can be helpful for troubleshooting issues and identifying performance bottlenecks. When you enable trace logging for plug-ins, Dataverse generates log files that include information about the plug-in's input and output parameters, as well as any exceptions or errors that occur during execution.
274
-
275
-
To enable trace logging for plug-ins, you need to [enable the trace logging feature for the environment](/power-apps/developer/data-platform/logging-tracing).
276
-
277
283
## Contacting Help + support
278
284
279
285
For issues with the Dataverse Accelerator solution installation or low-code plug-ins, such as errors received, [use the Help + support experience](/power-platform/admin/get-help-support) and include the following information:
@@ -298,7 +304,7 @@ For a few examples of how to create a low-code plug-in, go to [Example Dataverse
298
304
{ Regarding : First(Accounts) }
299
305
)
300
306
```
301
-
- When low-code plug-ins interact with connectors and DLP is employed, the admin can block creation of connections using DLP. However, existing connection references in the Dataverse environment will continue to function. In case the admin needs to block all low-code plug-in interactions with any connectors, they can simply disable the organization setting `Allowconnectorsonpowerfxactions`. This setting is enabled by default and can be disabled by usual SDK methods (WebAPI, SDK, PowerShell, and so on). You can disable this using a low-code instant plug-in as follows:
307
+
- When low-code plug-ins interact with connectors and DLP is employed, the admin can block creation of connections using DLP. However, existing connection references in the Dataverse environment continue to function. In case the admin needs to block all low-code plug-in interactions with any connectors, they can disable the organization setting `Allowconnectorsonpowerfxactions`. This setting is enabled by default and can be disabled by usual SDK methods (WebAPI, SDK, PowerShell, and so on). You can disable this using a low-code instant plug-in as follows:
302
308
```powerapps-dot
303
309
Patch(Organizations, First(Organizations), { 'Enable connectors on power fx actions.': 'Enable connectors on power fx actions. (Organizations)'.No })
Copy file name to clipboardExpand all lines: powerapps-docs/maker/model-driven-apps/power-apps-grid-control.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,6 @@ When you configure the Power Apps read-only grid control for a table, *all* view
50
50
-**Navigation types allowed**: Determines which lookup controls in the grid render as hyperlinks. The default value is All.
51
51
-**All**: All table lookup columns render in the grid as a hyperlink.
52
52
-**Primary only**: Suppresses hyperlinks on all lookup fields except the primary column for the selected table.
53
-
-**None**: Doesn't display hyperlinks, which allow table record navigation.
54
53
55
54
:::image type="content" source="media/configure-power-apps-grid-control.png" alt-text="Select the client types where you want to use the control" lightbox="media/configure-power-apps-grid-control.png":::
56
55
1. To save your changes, select **Save** on the command bar. When you're ready to make the changes available to app users, select **Publish** on the command bar.
|The **What you’ve missed** setting displays new records you haven't seen. It's enabled by default. To disable it, clear the box next to the setting. |When enabled, when you view an account record, the newest activities appear at the top of the list.|
237
237
238
238
### Record settings
@@ -615,17 +615,26 @@ Power platform administrators can restrict the file size of attachments users ca
615
615
616
616
## Known issues
617
617
618
-
### When you create a note in a timeline, the character string "$&" is converted to "{3}amp;"
618
+
### Duplicate posts are shown when sorting records by older to newer
619
+
620
+
The API the timeline uses to fetch posts doesn't support sorting by older to newer posts. When you sort this way, the timeline receives the wrong posts to display. When sorting the timeline by older to newer, use notes instead.
621
+
622
+
### Notes can only have one attachment added from the attachment button
619
623
620
-
This is a configuration issue for the rich text editor control. To resolve this, add `"removePlugins": "stickystyles" ` to your RTE config file. More information: [Create and use advanced configuration for the rich text editor control](rich-text-editor-control.md#create-and-use-advanced-configuration-for-the-rich-text-editor-control)
624
+
This is by design, with plans to allow more attachments in the near future. Multiple attachments can be added inline by dragging and dropping them into the note.
621
625
622
626
### Timeline fails to load with error `code:"0x8004430d","message":"Number of link entity: <number> exceed limit 15`
623
627
624
628
There's a limit of 15 different tables that can be associated with a timeline. Either disable some of the activities associated with the timeline, or follow one of the workarounds described in this article: [Timeline doesn't render and shows "Records couldn't be loaded"](https://support.microsoft.com/topic/timeline-does-not-render-and-shows-records-could-not-be-loaded-4ce9200a-1afe-3ef4-ac11-a74b91f4f40c)
625
629
630
+
### When you create a note in a timeline, the character string "$&" is converted to "{3}amp;"
631
+
632
+
This is a configuration issue for the rich text editor control. To resolve this, add `"removePlugins": "stickystyles" ` to your RTE config file. More information: [Rich text editor properties](rich-text-editor-control.md#rich-text-editor-properties)
633
+
626
634
### See also
627
635
628
636
[FAQs for timeline control](faqs-timeline-control.md)
629
637
638
+
[Use the timeline control](../../user/add-activities.md)
Copy file name to clipboardExpand all lines: powerapps-docs/maker/model-driven-apps/the-power-apps-grid-control.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ When you configure the Power Apps grid control for an entity, all views for that
45
45
:::image type="content" source="media/jump-bar-in-view.png" alt-text="Jump bar enabled and displayed in the view for an app":::
46
46
- The **Enable pagination** property can be used to decide between modern data browsing (infinite scroll) and paging buttons. The default value is **No**. Select **Yes** to disable infinite scrolling and surface paging buttons. Note that the **Select all** action isn't available currently when using infinite scroll, but users can still perform range selection
47
47
- The **Enable OptionSet colors** property can be used to increase the visual appeal of choice columns by showing each value with its configured background color. The default value is **No**. Be sure to verify the configured color for each choice column to ensure readability and accessibility before enabling this property for a table.
48
-
- The **Navigation types allowed** property determines which lookup controls in the grid render as hyperlinks. The default value is **All**. Select **Primary only** to suppress hyperlinks on all lookup fields except the primary column for the selected entity.
48
+
- The **Navigation types allowed** property determines which lookup controls in the grid render as hyperlinks. The default value is **All**. Select **Primary only** to suppress hyperlinks on all lookup fields except the primary column for the selected entity, or **None** to suppress all hyperlinks in the grid.
49
49
- The **Customizer control** property allows the maker to link to a single customizer PCF control with definitions for changing the visuals or interactions for one or more columns in the grid. <!-- More information: [Customizing the Power Apps grid control](tbd) -->
50
50
51
51
3. After configuring the Power Apps grid control to meet your needs, select **Save** on the command bar to save your changes. When you're ready to make the changes available to app users, select **Publish** on the command bar.
0 commit comments