Skip to content

Commit 08e63fe

Browse files
committed
reduce steps
1 parent 6b9b967 commit 08e63fe

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/events/grid-onrecordselect.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,10 @@ There might be situations where you don't want the table record to open (which i
2323

2424
### Step 1: Create a web resource
2525

26-
Create a web resource to change the default behavior. In the following example, if you want to open a URL instead of displaying the record, you create a JavaScript web resource to perform that action.
27-
28-
1. Sign in to [Power Apps](https://make.powerapps.com) and select **Solutions** from the left pane.
29-
1. Select **New solution**, and then complete the required columns for the solution.
30-
31-
|Column|Description|
32-
|-----------|-----------------|
33-
|**Display Name**|The name shown in the list of solutions. You can change this later.|
34-
|**Name**|The unique name of the solution. This is generated by using the value you enter in the **Display Name** column. You can edit this before you save the solution, but after you save the solution, you can't change it.|
35-
|**Publisher**|You can select the default publisher or create a new publisher. We recommend that you create a publisher for your organization to use consistently across the environments where you'll use the solution.|
36-
|**Version**|Enter a number for the version of your solution. This is only important if you export your solution. The version number will be included in the file name when you export the solution.|
37-
1. Select **Save**.
38-
1. Open the solution, and then select **New** > **Other** > **Web resource**.
39-
1. Enter the name of the web resource, and select the **Type** as **JavaScript (JS)**.
40-
1. Select **Text Editor**, copy the code shown below, paste it into the text editor, and enter the value of the URL you want to open:
26+
Create, save and publish a JavaScript (JS) web resource that contains the following code:
4127

4228
```JavaScript
43-
function ChangeBehavior(){
29+
function ChangeBehavior(){
4430

4531
// Enter the url
4632
var url = "Enter the URL";
@@ -49,7 +35,7 @@ Create a web resource to change the default behavior. In the following example,
4935
}
5036
```
5137

52-
1. Save and publish the web resource.
38+
More information: [Create or edit model-driven app web resources ](../../../../../maker/model-driven-apps/create-edit-web-resources.md)
5339

5440
### Step 2: Enable Power Apps Grid Control
5541

0 commit comments

Comments
 (0)