Azure / Azure/api-management-developer-portal

Pass data to Custom widgets from parent/other widgets like selected API id

Open
#2,709 0 comments 0 reactions 0 assignees View on GitHub
(t) Feature request (t) Improvement (u) Extensibility
Dominant language
TypeScript
Stars
545
Forks
360
PR merge metrics
No merged PRs in 30d

Description

Hi Team,

I am facing couple of issues for integrating custom react widget on developer portal and want some information around that.

I want to know how can we send selected api id from built in api details widget to our custom react widget to conditionally load data.
Also when we switch between selected APIs/operations on api details screen from built in api details widget, how the updated data can be sent to our custom widget.
Also the custom widget reserves a specific space on screen even if in widget code we set root element hidden based on condition, e.g. if we want a custom widget to be shown only for certain APIs/Operations and not for all then how this can be achieved dynamically.

I didn't find much info around these topics. It will be helpful to know.

Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.