
Announcements
Hi!
I am wondering whether there is a way to connect to an external API from a PCF control via some event generation.
I am quite new to the whole ecosystem, but the idea would be as follows:
1) Have some kind of plugin/library that is reacting to a raised event
2) The PCF throws these types of events and waits for a response from the plugin.
The only thing that I found to have a similar use case would be a custom connector, but that would still expose lots of information to the end-user. I am kind of looking for something: "the plugin is "hard-coded" to one source, and the user can raise events, but only reacts to responses from the plugin.
Hi @filkin ,
If you want to hide the service for the end user, you could do a Custom API (CustomAction) which you can trigger from your PCF using the WebAPI. In that case, everything the external service is returning will stay inside your PlugIn being executed in your CustomAPI. You return to the clinet only the needed information.