Skip to content

Commit 8ba2ba2

Browse files
authored
Live publish
2 parents 98f2726 + a6b3b3c commit 8ba2ba2

File tree

182 files changed

+541
-407
lines changed

Some content is hidden

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

182 files changed

+541
-407
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/addOnChange.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "addOnChange (Client API reference) in model-driven apps| MicrosoftDocs"
3-
description: "Learn about the attribute addOnchange method to set a function to be called when the attribute value is changed."
4-
ms.date: 10/31/2018
3+
description: "Learn about the column addOnchange method to set a function to be called when the column value is changed."
4+
ms.date: 04/19/2021
55
ms.service: powerapps
66
ms.topic: "reference"
77
applies_to: "Dynamics 365 (online)"
@@ -18,13 +18,12 @@ search.app:
1818
# addOnChange (Client API reference)
1919

2020

21-
2221
Sets a function to be called when the **OnChange** event occurs.
2322

2423
> [!NOTE]
2524
> If the `addOnChange` method is used on the form `OnLoad` event handler, you should ensure that it's called when necessary. You can use the [getEventArgs](../executioncontext/getEventArgs.md) to conditionally call the `addOnChange` method based on the data load state.
2625
27-
## Attribute types supported
26+
## Column types supported
2827

2928
All
3029

@@ -36,14 +35,14 @@ All
3635

3736
| Parameter Name| Type| Description |
3837
| --------|-----------| -----|
39-
|myFunction| Function reference| Specifies the function to be executed on the attribute **OnChange** event. The [execution context](../../clientapi-execution-context.md) is automatically passed as the first parameter to this function.|
38+
|myFunction| Function reference| Specifies the function to be executed on the column **OnChange** event. The [execution context](../../clientapi-execution-context.md) is automatically passed as the first parameter to this function.|
4039

4140

4241
### Related topics
4342

4443
[removeOnChange](removeOnChange.md)
4544

46-
[Attribute OnChange Event](../events/attribute-onchange.md)
45+
[Column OnChange Event](../events/attribute-onchange.md)
4746

4847

4948

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/controls-collection.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Controls collection (Client API reference)| MicrosoftDocs"
3-
description: "Learn about how to access controls associated with attributes."
4-
ms.date: 10/31/2018
3+
description: "Learn about how to access controls associated with columns."
4+
ms.date: 04/19/2021
55
ms.service: powerapps
66
ms.topic: "reference"
77
applies_to: "Dynamics 365 (online)"
@@ -18,18 +18,17 @@ search.app:
1818
# Controls collection (Client API reference)
1919

2020

21+
Use the Controls collection to access controls associated with columns.
2122

22-
Use the Controls collection to access controls associated with attributes.
23+
Because each column may be represented more than one time on the page, the controls collection provides access to all controls representing that column. If the column is represented by only one control in the page, the length of this collection will be 1. When you use the control getName method, the name of the first control will be the same as the name of the column. The second instance of a control for that column will be **\<columnName>1**. The pattern **\<columnName>+N** will continue for each additional control added to the form for a specific column.
2324

24-
Because each attribute may be represented more than one time on the page, the controls collection provides access to all controls representing that attribute. If the attribute is represented by only one control in the page, the length of this collection will be 1. When you use the control getName method, the name of the first control will be the same as the name of the attribute. The second instance of a control for that attribute will be **\<attributeName>1**. The pattern **\<attributeName>+N** will continue for each additional control added to the form for a specific attribute.
25+
When a form displays a business process flow control in the header, additional controls will be added for each column that is displayed in the business process flow. These controls have a unique name like the following: **header\_process\_\<column name>**.
2526

26-
When a form displays a business process flow control in the header, additional controls will be added for each attribute that is displayed in the business process flow. These controls have a unique name like the following: **header\_process\_\<attribute name>**.
27-
28-
When performing actions on controls that are tied to an attribute you should always consider that the control may be included on the page more than once and you should generally perform the same actions for each control for the attribute. You can do this by looping through the attribute controls collection and perform the actions on each control.
27+
When performing actions on controls that are tied to a column, you should always consider that the control may be included on the page more than once and you should generally perform the same actions for each control for the column. You can do this by looping through the column controls collection and perform the actions on each control.
2928

3029
### Related topics
3130

32-
[attributes (Client API reference)](../attributes.md)
31+
[Columns (Client API reference)](../attributes.md)
3332

3433

3534

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/fireOnChange.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "fireOnChange (Client API reference)| MicrosoftDocs"
3-
ms.date: 10/31/2018
3+
description: Includes description and supported parameters for the fireOnChange method.
4+
ms.date: 04/19/2021
45
ms.service: powerapps
56
ms.topic: "reference"
67
applies_to: "Dynamics 365 (online)"
@@ -16,11 +17,9 @@ search.app:
1617
---
1718
# fireOnChange (Client API reference)
1819

20+
Causes the `OnChange` event to occur on the column so that any script associated to that event can execute.
1921

20-
21-
Causes the `OnChange` event to occur on the attribute so that any script associated to that event can execute.
22-
23-
## Attribute types supported
22+
## Column types supported
2423

2524
All
2625

@@ -30,7 +29,7 @@ All
3029

3130

3231
### Related topics
33-
[Attribute OnChange Event](../events/attribute-onchange.md)
32+
[Column OnChange Event](../events/attribute-onchange.md)
3433

3534

3635

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/getAttributeType.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "getAttributeType (Client API reference)| MicrosoftDocs"
3-
ms.date: 02/13/2019
3+
description: Includes description and supported parameters for the getAttributeType method.
4+
ms.date: 04/19/2021
45
ms.service: powerapps
56
ms.topic: "reference"
67
ms.assetid: 9ef1c886-a0b8-4ba9-bb9f-e6ecfa9d6dff
@@ -17,9 +18,9 @@ search.app:
1718

1819

1920

20-
Returns a string value that represents the type of attribute.
21+
Returns a string value that represents the type of column.
2122

22-
## Attribute types supported
23+
## Column types supported
2324

2425
All
2526

@@ -39,8 +40,8 @@ This method will return one of the following **string** values:
3940
- lookup
4041
- memo
4142
- money
42-
- multiselectoptionset
43-
- optionset
43+
- choices
44+
- choice
4445
- string
4546

4647

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/getFormat.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "getFormat (Client API reference)| MicrosoftDocs"
3-
ms.date: 10/31/2018
3+
description: Includes description and supported parameters for the getFormat method.
4+
ms.date: 04/19/2021
45
ms.service: powerapps
56
ms.topic: "reference"
67
applies_to: "Dynamics 365 (online)"
@@ -18,9 +19,9 @@ search.app:
1819

1920

2021

21-
Returns a string value that represents formatting options for the attribute.
22+
Returns a string value that represents formatting options for the column.
2223

23-
## Attribute types supported
24+
## Column types supported
2425

2526
All
2627

@@ -46,23 +47,23 @@ This method will return one of the following **string** values or "null":
4647
- url
4748

4849
> [!NOTE]
49-
> This format information generally represents the format options of the application field. Format options for Boolean fields are not provided.
50+
> This format information generally represents the format options of the application column. Format options for Boolean columns are not provided.
5051
51-
The following table lists the format string values to expect for each type of attribute schema type and format option.
52+
The following table lists the format string values to expect for each type of column type and format option.
5253

53-
| Application Field Type | Format Option | Attribute Type | Format Value|
54+
| Application column Type | Format Option | Column Type | Format Value|
5455
|----------------------------|-------------------|--------------------|------------------|
5556
| Date and Time | Date Only | datetime | date |
5657
| Date and Time | Date and Time | datetime | datetime |
5758
| Whole Number | Duration | integer | duration |
5859
| Single Line of Text | E-mail | string | email |
59-
| Whole Number | Language | optionset | language |
60+
| Whole Number | Language | choice | language |
6061
| Whole Number | None | integer | none |
6162
| Single Line of Text | Text Area | string | textarea |
6263
| Single Line of Text | Text | string | text |
6364
| Single Line of Text | Ticker Symbol | string | tickersymbol |
6465
| Single Line of Text | Phone | string | phone |
65-
| Whole Number | Time Zone | optionset | timezone |
66+
| Whole Number | Time Zone | choice | timezone |
6667
| Single Line of Text | Url | string | url
6768

6869

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/getInitialValue.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "getInitialValue (Client API reference)| MicrosoftDocs"
3-
ms.date: 10/31/2018
3+
description: Includes description and supported parameters for the getInitialValue method.
4+
ms.date: 04/19/2021
45
ms.service: powerapps
56
ms.topic: "reference"
67
applies_to: "Dynamics 365 (online)"
@@ -18,11 +19,11 @@ search.app:
1819

1920

2021

21-
Returns a value that represents the value set for a **Boolean**, **OptionSet** or **MultiSelectOptionSet** attribute when the form is opened.
22+
Returns a value that represents the value set for a **Yes/No**, **Choice** or **Choices** column when the form is opened.
2223

23-
## Attribute types supported
24+
## Column types supported
2425

25-
Boolean, OptionSet, MultiSelectOptionSet
26+
Tes/No, Choice, Choices
2627

2728
## Syntax
2829

@@ -32,7 +33,7 @@ Boolean, OptionSet, MultiSelectOptionSet
3233

3334
**Type**: Number
3435

35-
**Description**: The initial value for the attribute.
36+
**Description**: The initial value for the column.
3637

3738

3839

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/getIsDirty.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "getIsDirty (Client API reference)| MicrosoftDocs"
3-
ms.date: 10/31/2018
3+
description: Includes description and supported parameters for the getIsDirty method.
4+
ms.date: 04/19/2021
45
ms.service: powerapps
56
ms.topic: "reference"
67
applies_to: "Dynamics 365 (online)"
@@ -18,9 +19,9 @@ search.app:
1819

1920

2021

21-
Returns a Boolean value indicating if there are unsaved changes to the attribute value.
22+
Returns a boolean value indicating if there are unsaved changes to the column value.
2223

23-
## Attribute types supported
24+
## Column types supported
2425

2526
All
2627

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/getMax.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "getMax (Client API reference)| MicrosoftDocs"
3-
ms.date: 10/31/2018
3+
description: Includes description and supported parameters for the getMax method.
4+
ms.date: 04/19/2021
45
ms.service: powerapps
56
ms.topic: "reference"
67
applies_to: "Dynamics 365 (online)"
@@ -18,9 +19,9 @@ search.app:
1819

1920

2021

21-
Returns a number indicating the maximum allowed value for an attribute.
22+
Returns a number indicating the maximum allowed value for a column.
2223

23-
## Attribute types supported
24+
## Column types supported
2425

2526
decimal, integer, double, money
2627

@@ -32,7 +33,7 @@ decimal, integer, double, money
3233

3334
**Type**: Number.
3435

35-
**Description**: The maximum allowed value for the attribute.
36+
**Description**: The maximum allowed value for the column.
3637

3738

3839

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/getMaxLength.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "getMaxLength (Client API reference)| MicrosoftDocs"
3-
ms.date: 10/31/2018
3+
description: Includes description and supported parameters for the getMaxLength method.
4+
ms.date: 04/19/2021
45
ms.service: powerapps
56
ms.topic: "reference"
67
applies_to: "Dynamics 365 (online)"
@@ -18,9 +19,9 @@ search.app:
1819

1920

2021

21-
Returns a number indicating the maximum length of a string or memo attribute.
22+
Returns a number indicating the maximum length of a string or memo column.
2223

23-
## Attribute types supported
24+
## Column types supported
2425

2526
string, memo
2627

@@ -32,9 +33,9 @@ string, memo
3233

3334
**Type**: Number.
3435

35-
**Description**: The maximum allowed length of a string for this attribute.
36+
**Description**: The maximum allowed length of a string for this column.
3637

3738
> [!NOTE]
38-
> The email form description attribute is a memo attribute, but it does not have a `getMaxLength` method.
39+
> The email form description column is a memo column, but it does not have a `getMaxLength` method.
3940
4041
[!INCLUDE[footer-include](../../../../../includes/footer-banner.md)]

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/getMin.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "getMin (Client API reference)| MicrosoftDocs"
3-
ms.date: 01/24/2019
3+
description: Includes description and supported parameters for the getMin method.
4+
ms.date: 04/19/2021
45
ms.service: powerapps
56
ms.topic: "reference"
67
ms.assetid: 9a04b52a-2bc7-4572-bd3e-8b9622602092
@@ -17,9 +18,9 @@ search.app:
1718

1819

1920

20-
Returns a number indicating the minimum allowed value for an attribute.
21+
Returns a number indicating the minimum allowed value for a column.
2122

22-
## Attribute types supported
23+
## Column types supported
2324

2425
Decimal, integer, double, money
2526

@@ -31,7 +32,7 @@ Decimal, integer, double, money
3132

3233
**Type**: Number.
3334

34-
**Description**: The minimum allowed value for the attribute.
35+
**Description**: The minimum allowed value for the column.
3536

3637

3738

0 commit comments

Comments
 (0)