Skip to content

Commit 136d5fe

Browse files
committed
Merge remote-tracking branch 'origin/main' into milindav-FnO-patch
2 parents 1f8a042 + 6579542 commit 136d5fe

File tree

75 files changed

+532
-497
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+532
-497
lines changed

CODEOWNERS

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
# Lines starting with '#' are comments.
22
# Each line is a file pattern followed by one or more owners.
33

4-
/powerapps-docs/ @KumarVivek
5-
/powerapps-docs/administrator/ @jimholtz @KumarVivek
6-
/powerapps-docs/developer/ @PHecke @KumarVivek @JimDaly
7-
/powerapps-docs/developer/data-platform/cli @JimDaly @KumarVivek
8-
/powerapps-docs/developer/data-platform/cli @JimDaly @KumarVivek
9-
/powerapps-docs/developer/model-driven-apps @JimDaly @KumarVivek
10-
/powerapps-docs/maker/canvas-apps @tapanm-msft @KumarVivek
11-
/powerapps-docs/maker/data-platform @Mattp123 @KumarVivek
12-
/powerapps-docs/maker/model-driven-apps @Mattp123 @KumarVivek
13-
/powerapps-docs/maker/common @Mattp123 @tapanm-msft @KumarVivek
14-
/powerapps-docs/maker/portals @nickdoelman @KumarVivek
15-
/powerapps-docs/user/ @mduelae @KumarVivek
16-
/powerapps-docs/teams/ @tapanm-msft @KumarVivek
4+
/powerapps-docs/ @tapanm-msft
5+
/powerapps-docs/cards @tapanm-msft @mduelae
6+
/powerapps-docs/developer/ @PHecke @leeclontz @JimDaly
7+
/powerapps-docs/developer/data-platform/cli @JimDaly @leeclontz
8+
/powerapps-docs/developer/data-platform/cli @JimDaly @leeclontz
9+
/powerapps-docs/developer/model-driven-apps @JimDaly @leeclontz
10+
/powerapps-docs/guidance @tapanm-msft @mduelae @Mattp123
11+
/powerapps-docs/maker/canvas-apps @tapanm-msft @mduelae
12+
/powerapps-docs/maker/data-platform @Mattp123 @tapanm-msft
13+
/powerapps-docs/maker/model-driven-apps @Mattp123 @tapanm-msft
14+
/powerapps-docs/maker/common @Mattp123 @tapanm-msft @mduelae
15+
/powerapps-docs/maker/portals @professorkendrick @tapanm-msft
16+
/powerapps-docs/mobile @tapanm-msft @sericks007
17+
/powerapps-docs/sample-apps @tapanm-msft @mduelae
18+
/powerapps-docs/user @sericks007 @tapanm-msft
19+
/powerapps-docs/teams @tapanm-msft @mduelae

powerapps-docs/developer/data-platform/define-alternate-keys-entity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ If the alternate key is deleted while an index creation job is still pending or
126126

127127
[Use an alternate key to reference a record](use-alternate-key-reference-record.md)<br />
128128
[Use change tracking to synchronize data with external systems](use-change-tracking-synchronize-data-external-systems.md)<br />
129-
[Use Upsert to insert or update a record](use-upsert-insert-update-record.md)
129+
[Use Upsert to insert or update a record](use-upsert-insert-update-record.md)<br />
130130
[Define alternate keys to reference records](../../maker/data-platform/define-alternate-keys-reference-records.md)
131131

132132

powerapps-docs/developer/data-platform/workflow/debug-workflow-activites.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ This will open the **Profiler Settings** dialog which will provide the following
4646

4747
|Field|Description|
4848
|--|--|
49-
|**Workflow**|Select the Workflow or Custom action that contains the workflow activity you want to debug.|
50-
|**Steps**|Select the specific steps within that workflow or custom action that you want to debug.|
49+
|**Workflow**|Select the Workflow that contains the workflow activity you want to debug.|
50+
|**Steps**|Select the specific steps within that workflow that you want to debug.|
5151
|**Specify profile storage**|We recommend that you choose **Persist to Entity**.|
5252
|**Set profiler settings**|If your are working with a system where the workflow is being executed frequently, you can reduce performance impact by choosing to limit the number of profiles that are captured.|
5353
|**Include secure configuration**|This provides the option to avoid seeing potentially sensitive data that may be passed as secure configuration.|

powerapps-docs/developer/model-driven-apps/clientapi/get-update-setting-value-using-code.md

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ Keywords: settings, settings environment value, settings app value, model-driven
55
ms.subservice: dataverse-developer
66
author: HemantGaur
77
ms.author: hemantg
8-
9-
ms.date: 02/03/2023
8+
ms.date: 02/04/2024
109
ms.reviewer: jdaly
1110
ms.topic: how-to
1211
search.audienceType:
@@ -21,45 +20,58 @@ Settings are solution components that enable developers to quickly configure app
2120

2221
The following functions can be used to get or update a setting value using client API.
2322

24-
### getCurrentAppSetting
23+
## getCurrentAppSetting
2524

2625
Gets the value of a setting for the current app.
2726

28-
#### Syntax
27+
### Syntax
2928

3029
```JavaScript
3130
var settingValue = Xrm.Utility.getGlobalContext().getCurrentAppSetting(settingName);
3231
```
3332

34-
#### Parameters
33+
### Parameters
3534

3635
| Name | Type | Required | Description |
3736
|:--------------|:--------------|:--------------|:-------------------------|
3837
|`settingName` | String | Yes | The name of the setting to get the value for. |
3938

40-
#### Return value
39+
### Return value
4140

4241
**Type:** Same as the type of the setting: *Number*, *String*, or *Yes/No*<br><br>
43-
**Description:**
44-
- If the setting is *Overridable* and *Value can be overridden* is set to *Environment and app* the setting app value is returned. If a setting app value does not exist, then the setting environment value is returned. If a setting environment value does not exist, the default value as specified in the setting definition is returned.
45-
- If the setting is *Overridable* and *"Value can be overridden"* is set to *"Environment only"* the setting environment value is returned. If a setting environment value does not exist, the default value as specified in the setting definition is returned.
46-
- If the setting is *Overridable* and *"Value can be overridden"* is set to *"App only"* the setting app value is returned. If a setting app value does not exist, the default value as specified in the setting definition is returned.
47-
- If the setting is not *Overridable*, the default value as specified in the setting definition is returned.
42+
**Description:**
43+
44+
- If the setting is **Overridable**:
45+
46+
- When **Value can be overridden** is set to **Environment and app**, the setting app value is returned.
47+
48+
- If a setting app value does not exist, then the setting environment value is returned.
49+
- If a setting environment value does not exist, the default value as specified in the setting definition is returned.
50+
51+
- When **Value can be overridden** is set to **Environment only**, the setting environment value is returned.
52+
53+
- If a setting environment value does not exist, the default value as specified in the setting definition is returned.
54+
55+
- When **Value can be overridden** is set to **App only**, the setting app value is returned.
56+
57+
- If a setting app value does not exist, the default value as specified in the setting definition is returned.
58+
59+
- If the setting is not **Overridable**, the default value as specified in the setting definition is returned.
4860
- If the setting name is incorrect or the setting could not be found, the return value is null.
4961

50-
### saveSettingValue
62+
## saveSettingValue
5163

5264
Adds or updates the setting app value for the current app or the setting environment value for the current environment.
5365

54-
#### Syntax
66+
### Syntax
5567

5668
```JavaScript
5769
var appOverrideScope = 2; // Add or update a setting app value
5870
var saveSettingOptions = {overrideScope: appOverrideScope, solutionUniqueName: mySolutionName};
5971
Xrm.Utility.getGlobalContext().saveSettingValue(settingName, value, saveSettingOptions).then(successCallback, errorCallback);
6072
```
6173

62-
#### Parameters
74+
### Parameters
6375

6476
| Name | Type | Required | Description |
6577
|:--------------|:--------------|:--------------|:-------------------------|
@@ -69,19 +81,18 @@ Xrm.Utility.getGlobalContext().saveSettingValue(settingName, value, saveSettingO
6981
|`successCallback` | String | Yes | A function to call if the update is successful. |
7082
|`errorCallback`| String | Yes | A function to call if the update fails. |
7183

72-
#### Return value
84+
### Return value
7385

7486
On success, returns a promise object.
7587

76-
### Web APIs
88+
## Web APIs
7789

7890
You can also use the following Web APIs to get or update a setting value
7991

8092
- [RetrieveSetting function](xref:Microsoft.Dynamics.CRM.RetrieveSetting)
8193
- [SaveSettingValue action](xref:Microsoft.Dynamics.CRM.SaveSettingValue)
8294

83-
## Related articles
84-
85-
[Solutions overview](../../../maker/data-platform/solutions-overview.md)
95+
### Related articles
8696

97+
[Solutions overview](../../../maker/data-platform/solutions-overview.md)
8798
[Use settings to provide customized app experiences](../../../maker/data-platform/create-edit-configure-settings.md)

0 commit comments

Comments
 (0)