Cross communication between custom Angular component and Creatio platform

Hi Community, 

I am currentyl working on CTI integration with Creatio. I have two questions regarding cross communication between custom attached Angular component with Creatio inside a client module. Everything here is related to Freedom UI.

  1. Is there any way to elegantly handle outputs from Angular component instead of listening to attribute changes? What I mean is that I want to map my output to a designated custom handler as I can do it with clicked event. So basically something happens on Angular component side like incoming call, I handle it by emitting an event that will trigger some operation/handler like opening side page with webphone and a specific contact page filtered by the phone number.
  2. I have a case where I need to invoke some method in Angular component. I was hopinh to achieve that by Inputs and invoking the Angular methods in @Input setter. Moreover the invocation must happen from a different client module ex. click phone number on contact page should invoke an Angular component method that resides on different page.

I hope there is some way to handle it with Creatio without having to do some workarounds with JS.

Thanks for reading and help in advance.

Like 2

Like

0 comments
Show all comments