Skip to content

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

@vd94

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!

Metadata

Assignees

No one assigned

    Labels

    (t) Feature requestRequests for new functionality and features.(t) ImprovementRequests for iterative improvements on existing functionality.(u) ExtensibilityIssues specific to the custom extensibility of the portal.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions