api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

Custom Widget Communication

Open AlexTukalskiy-CRL opened this issue 2 years ago • 7 comments

I have own custom widget to show APIs list. To view this page with my custom widget I need to login to the Dev portal as a Developer. But when I click on any of links (for example <a class="btn btn-secondary" target="_top" href="https://contoso.com/api-details#api=SomeAPI" >Some API</a>) from my widget and set the location the top browser page I lost my auth cookies and go to the API Details page as Guest and not as Developer.

I use Managed Developer Portal.

AlexTukalskiy-CRL avatar Jun 01 '23 13:06 AlexTukalskiy-CRL

@AlexTukalskiy-CRL, thank you for opening this issue. We will triage it within the next few business days.

ghost avatar Jun 01 '23 13:06 ghost

Hey @AlexTukalskiy-CRL, could you please help me to understand how to create these kind of custom widgets. I want to create my own custom widget for product, APIs and operations

devagarwal007 avatar Jul 21 '23 14:07 devagarwal007

@devagarwal007 Almost all necessary information will be provided after you created a Custom Widget.

Follow the steps below to create, implement, and deploy a custom widget. Learn more

AlexTukalskiy-CRL avatar Jul 21 '23 15:07 AlexTukalskiy-CRL

Hey @AlexTukalskiy-CRL , thankyou for your response, I am not getting the values of product, APIs and operations directly in to the custom widget code. Also not mentioned in this documentation. Could you please help ho to get the values of product APIs and operations in the custom widget code?

devagarwal007 avatar Jul 22 '23 17:07 devagarwal007

Are you talking about fetching the APIs, operations, and product values from APIM rest APIs https://learn.microsoft.com/en-us/rest/api/apimanagement/

devagarwal007 avatar Jul 22 '23 17:07 devagarwal007

@devagarwal007 Yes. all Products, APIs, Operations and etc. should be retrived by REST requests to the APIM

AlexTukalskiy-CRL avatar Jul 24 '23 11:07 AlexTukalskiy-CRL

Hello. I have this exact Issue said by @AlexTukalskiy-CRL . Any update? Thanks in advance

versoftrd avatar Jan 22 '24 21:01 versoftrd