Extract the metadata of the page Angular component (freedom UI component) is in

I have a angular component that is built and loaded into my creatio workspace that has a freedom ui component specific to it. I want this component whenever it is attached to a certain form page or list page to emit the package name/record id. how can I do that?

Like 0

Like

1 comments

Hi,

At the moment, Freedom UI doesn’t provide a built-in “hook” that passes those page context values directly into your Angular component without any wiring. In order to achieve your goal you need to bind the required values to your component's @Input property from the Freeddom UI page. Then in your Angular component use for example ngOnChanges to detect when the value is received and emit it with your own @Output which you can then further process.

Show all comments