Hello,
I would like to override the call functionality everywhere.
Where would I do this?
For example, I would like to run a different method when this button is clicked.
Thanks
Like
Hello Tyler,
Hope you're doing well.
If I understood your business task correctly, you will need to involve changes in the CommunicationOptionsMixin from the "NUI" package. Please find more information and some examples in the links below:
- https://community.creatio.com/questions/contact-custom-call-action
- https://community.creatio.com/articles/how-make-url-string-field-clicka…
Additionally, in case you need to add the communication detail to your custom section, you can find the example of realization of this task in the next posts:
- https://community.creatio.com/questions/adding-communication-options-an…
- https://academy.creatio.com/docs/developer/elements_and_components/basi…
Best regards,
Roman
Roman,
how would I go about replacing methods in this mixin? I am not seeing the option to replace this when I create a replacing view model.
Thanks.
Hello Tyler,
Please review these articles below, they contain information on how to work with mixins in the Creatio application, override mixin methods and so on:
- https://academy.creatio.com/docs/developer/front-end_development/client… (please check Guide and Examples tab as well);
- https://customerfx.com/article/overriding-modules-in-creatio-formerly-b…
- https://customerfx.com/article/creating-reusable-client-side-code-with-…
Kind regards,
Roman