Skip to content

Commit 5833158

Browse files
authored
Merge branch 'live' into UmeshLohote-GEP-patch-1
2 parents 361dc1c + 943672d commit 5833158

24 files changed

+477
-452
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,11 @@
16401640
"source_path": "powerapps-docs/developer/common-data-service/use-web-services.md",
16411641
"redirect_url": "https://docs.microsoft.com/powerapps/developer/common-data-service/work-with-data-cds",
16421642
"redirect_document_id": true
1643+
},
1644+
{
1645+
"source_path": "powerapps-docs/maker/maker/canvas-apps/webinars-listing.md",
1646+
"redirect_url": "https://powerusers.microsoft.com/t5/Samples-Learning-and-Videos/ct-p/PA_Comm_Galleries",
1647+
"redirect_document_id": true
16431648
}
16441649
]
16451650
}

powerapps-docs/developer/component-framework/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This is not supported natively by the framework. You can use one of many third-p
5959

6060
Currently, font resources (files with a .ttf file extension) are not supported by the framework.
6161

62-
### Can I use img resource for canvas apps?
62+
### Can I use img resource property in canvas apps?
6363

6464
Currently, [img](manifest-schema-reference/img.md) resources are not supported in canvas apps.
6565

powerapps-docs/developer/component-framework/reference/webapi/retrieverecord.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Model-driven apps
5656
</ul>
5757
<p>You specify the query options starting with <code>?</code>. You can also specify multiple query options by using <code>&amp;</code> to separate the query options. For example:</p>
5858
<code>?$select=name&amp;$expand=primarycontactid($select=contactid,fullname)</code>
59-
<p>See examples later in this topic to see how you can define the <code>options</code> parameter for various retrieve scenarios.</td>
59+
</td>
6060
</tr>
6161
<tr>
6262
<td>successCallback</td>

powerapps-docs/developer/component-framework/use-sample-components.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,23 @@ All the sample components listed under this section are available to download fr
1919
The individual sample component topics under this section provide you an overview of the sample component, it's visual appearance, and the manifest, code, and resources for the sample component.
2020

2121
## Before you can try the sample components
22+
2223
To try the sample components, you must first:
24+
2325
- [Download](https://go.microsoft.com/fwlink/?linkid=2088525) the sample components so that you have a local copy.
2426
- Install [Power Apps CLI](https://aka.ms/PowerAppsCLI).
2527

2628
## Try the sample components
29+
2730
Follow the steps below to import and try the sample components in your model-driven or canvas app:
2831

2932
1. Navigate to the folder on your computer where you have downloaded the sample components, and extract the .zip file.
30-
1. Open Developer Command Prompt for Visual Studio 2017 and navigate to the sample component folder in the extracted folder that you want to see it in runtime. For example, navigate to the \<extracted_folder>/TS_IncrementComponent folder.
33+
1. Open Developer Command Prompt for Visual Studio 2017 and navigate to the sample component folder in the extracted folder that you want to see it in runtime. For example, navigate to the `/extracted_folder/TS_IncrementComponent` folder.
3134
1. Run the following command to get all the required dependencies:
3235
```CLI
3336
npm install
3437
```
35-
1. Create a new folder using the command `mkdir <folder name>` inside the sample component folder and navigate into the folder using the command `cd <folder name>`.
38+
1. Create a new folder using the command `mkdir <folder name>` inside the sample component folder that has the `pcfproj` file and navigate into the folder using the command `cd <folder name>`.
3639
1. Create a new solution project inside the folder using the following command:
3740
```CLI
3841
pac solution init --publisher-name <Name of the publisher> --publisher-prefix <Publisher prefix>

powerapps-docs/maker/TOC.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,9 +1674,7 @@
16741674
- name: Portal for healthcare worker
16751675
href: ../sample-apps/regional-emergency-response/portals-user.md
16761676
- name: Learn from others
1677-
items:
1678-
- name: Webinars
1679-
href: ./canvas-apps/webinars-listing.md
1677+
items:
16801678
- name: Blog
16811679
href: https://powerapps.microsoft.com/blog/
16821680
- name: Forums

powerapps-docs/maker/canvas-apps/application-insights.md

Lines changed: 76 additions & 91 deletions
Large diffs are not rendered by default.

powerapps-docs/maker/canvas-apps/component-behavior.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Do one or more tasks in canvas app when a component-based action oc
44
author: yifwang
55
ms.service: powerapps
66
ms.topic: article
7-
ms.date: 02/20/2020
7+
ms.date: 04/24/2020
88
ms.author: yifwang
99
ms.reviewer: tapanm
1010
search.audienceType:
@@ -20,43 +20,43 @@ search.app:
2020
2121
Specify one or more [behavior formulas](working-with-formulas-in-depth.md) that run when an event triggers a change in component instances.
2222

23-
For example, set a component's **OnReset** property to one or more formulas that do initialization, clear input. And reset values when the **Reset** function runs on the component instances.
23+
For example, set a component's **OnReset** property to one or more formulas that do initialization and clear input. Reset values when the **Reset** function runs on the component instances.
2424

2525
## OnReset
2626

2727
With a component master selected, select **OnReset** in the drop-down list of properties (on the left side of the formula bar), and then enter one or more formulas.
2828

2929
> [!div class="mx-imgBorder"]
30-
> ![OnReset example](./media/component-behavior/example-onreset.png)
30+
> ![OnReset example](./media/component-behavior/example-onreset.png "OnReset example")
3131
3232
To test **OnReset**, configure a control to reset the component. For example, set the **OnSelect** property of a button to this formula: **Reset**(*ComponentName*).
3333

3434
### Example - Reset timer
3535

3636
> [!div class="mx-imgBorder"]
37-
> ![OnReset example](./media/component-behavior/Resettimer.gif)
37+
> ![OnReset example](./media/component-behavior/Resettimer.gif "OnReset example")
3838
3939
In this time picker component, two variables are used to display the time _selectedHour and _selectedMinute. When the picker gets reset, these variables should be reset to a default value, say 12: 12.  The OnReset property for the component has the following formula: **Set(_selectedHour,12); Set(_selectedMinute,12)**
4040

4141
To trigger reset, go to a screen and insert an instance of the component. Add a button and configure OnSelect of the button to call **Reset(TimerComponent_instance)** to trigger OnReset.
4242

4343
> [!div class="mx-imgBorder"]
44-
> ![Reset button](./media/component-behavior/reset-button.png)
44+
> ![Reset button](./media/component-behavior/reset-button.png "Reset button")
4545
4646
## Update OnReset using custom property
4747

48-
Besides resetting a component instance from the outside of the component, there's another method to trigger the OnReset from the inside. "**Raise OnReset when value changes**" is an option when creating a custom input property. And it allows the value changes of this property to trigger OnReset of the component. This method is designed to set and reset default value easily.
48+
Besides resetting a component instance from outside of the component, there's another method to trigger the OnReset from the inside. "**Raise OnReset when value changes**" is an option when creating a custom input property. It allows the value changes of this property to trigger OnReset of the component. This method is designed to set and reset the default value easily.
4949

50-
> ![OnReset example](./media/component-behavior/property-trigger.png)
50+
> ![OnReset example](./media/component-behavior/property-trigger.png "OnReset example")
5151
5252
### Example
5353

5454
> [!div class="mx-imgBorder"]
55-
> ![OnReset example](./media/component-behavior/updateordernumber2.gif)
55+
> ![OnReset example](./media/component-behavior/updateordernumber2.gif "OnReset example")
5656
57-
Example above shows reviewing order numbers and updating the numbers. The numeric up and down component is used to increase or decrease number of orders. When selecting the gallery on the left, the default number of numeric up and down component is reset to display the order number of selected tool. "**Raise OnReset when value changes**" made it possible to reset the default value when the input changes.
57+
The example above shows reviewing order numbers and updating the numbers. The numeric up and down component is used to increase or decrease number of orders. When selecting the gallery on the left, the default number of the numeric up and down component is reset to display the order number of the selected tool. **Raise OnReset when value changes** made it possible to reset the default value when the input changes.
5858

59-
To do so, check "**Raise OnReset when value changes**" of the default input property. **OnReset** of the component is set to **Set(_numericValue,'Numeric up down'.DefaultValue)**. _numericValue is the variable to store the value of the current order value. And set the **Default** of the text input control to **If(IsBlank(_numericValue), 'Numeric up down'.DefaultValue, _numericValue)**.
59+
To do so, check **Raise OnReset when value changes** of the default input property. **OnReset** of the component is set to **Set(_numericValue,'Numeric up down'.DefaultValue)**. _numericValue is the variable to store the value of the current order value. Set the **Default** of the text input control to **If(IsBlank(_numericValue), 'Numeric up down'.DefaultValue, _numericValue)**.
6060

6161
### See also
6262

0 commit comments

Comments
 (0)