How to pass data from a custom component to the parent page (Freedom UI)?
Hi Creatio Community!
I’m building a custom Freedom UI component and need some advice on how to pass data from the component back to the parent page.
I have a custom component with some internal logic and a variable whose value changes based on user interaction inside the component (e.g. clicks, selections).
Now I want to pass this variable's value back to the parent page where the component is used — for example, to trigger some business logic or store it in a page field.
Is there a way to work with the page context from within the custom component?
Or maybe there's a recommended pattern for passing data upward from a component to the parent page in Freedom UI?
Any examples or best practices would be greatly appreciated!
Thanks in advance
Like
Artem Ivzhenko,
Thanks for sharing this, your site is an excellent resource!
Ryan