Getting functionality out of a button

I would like a button that I placed on a page to perform a custom action (something outside of the options in the button's dropdown menu). 

 

Can anyone point me in the direction of documentation or an academy page that explains how to do this?

 

Thanks!

Like 0

Like

4 comments
Best reply

Hello,

I have an article that outlines how to execute custom code from a button on a Freedom UI page here: https://customerfx.com/article/adding-a-button-to-execute-custom-code-o…

Ryan

Hello,

I have an article that outlines how to execute custom code from a button on a Freedom UI page here: https://customerfx.com/article/adding-a-button-to-execute-custom-code-o…

Ryan

Ryan Farley,

Thanks for the article, this worked for me. So I will need be comfortable with Ext.js and Terrasoft to do more advanced customizations? 

Joe Brunet,

In Creatio there are two types of pages. Classic pages and Freedom UI pages. Freedom UI pages are the newer types, the application is slowly getting converted to Freedom UI (Classic pages are now considered legacy, the future of the application is Freedom UI).

Classic pages are based on Extjs, although you don't really need much, or any, Extjs knowledge. That's really just the framework that the pages themselves use. When you add code on the page, you don't really need to use any Extjs functionality. For Freedom UI pages things are different. The article I mentioned is for how to do this on a Freedom UI page. These pages are based on Angular, although you don't really need any Angular knowledge unless you are creating new components/remote modules. The Terrasoft usage is mainly for working in Classic UI pages, much of the functionality there is being replaced by the new Creatio DevKit SDK. The Terrasoft library is one created by Creatio (the company name used to be Terrasoft).

However, in either case, all the page code is using Javascript, so knowing Javascript is helpful. I do find, however, that using Freedom UI pages there is less and less need to add page code (Javascript) to do many types of customizations which required page code in Classic pages.

Ryan

Ryan Farley,

 

Thank you for that explanation; it was incredibly helpful! 

Show all comments