Skip to content

Commit 3d6cb4e

Browse files
Merge pull request #216829 from dlepow/janm
[APIM] Custom widget update
2 parents d4630c9 + 818da4c commit 3d6cb4e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/api-management/developer-portal-extend-custom-functionality.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
---
1+
---
22
title: Add custom functionality to the Azure API Management developer portal
33
titleSuffix: Azure API Management
44
description: How to customize the managed API Management developer portal with custom functionality such as custom widgets.
55
author: dlepow
66
ms.author: danlep
7-
ms.date: 08/29/2022
7+
ms.date: 11/01/2022
88
ms.service: api-management
99
ms.topic: how-to
1010
---
@@ -216,11 +216,11 @@ It accepts three arguments by default:
216216
This function returns all data passed to your custom widget from the developer portal. It contains other data that might be useful in debugging or in more advanced scenarios. This API is expected to change with potential breaking changes. It returns a JSON object that contains the following keys:
217217

218218
* `values` - All the values you've set in the editor, the same object that is returned by `getEditorData`
219-
219+
<!-- TEMPORARILY not present
220220
* `environment` - Current runtime environment for the widget
221221
222-
* `origin` - Location origin of the developer portal
223-
222+
* `origin` - Location origin of the developer portal
223+
-->
224224
* `instanceId` - ID of this instance of the widget
225225

226226
### Add or remove custom properties
@@ -232,7 +232,7 @@ To add a custom property:
232232
1. In the file `src/values.ts`, add to the `Values` type the name of the property and type of the data it will save.
233233
1. In the same file, add a default value for it.
234234
1. Navigate to the `editor.html` or `editor/index` file (exact location depends on the framework you've chosen) and duplicate an existing input or add one yourself.
235-
1. Make sure the input field reports the changed value to the `onChange` function, which you can get from `[buildOnChange`](#azureapi-management-custom-widgets-toolsbuildonchange).
235+
1. Make sure the input field reports the changed value to the `onChange` function, which you can get from [`buildOnChange`](#azureapi-management-custom-widgets-toolsbuildonchange).
236236

237237
### (Optional) Use another framework
238238

0 commit comments

Comments
 (0)