Difference between create and create-action in sugar 7?

Hi All,

When you explore the clients/base/views/ there are two folders for new records for validations or any other logic (create and create-actions).
We normally do the stuff in create-actions.(js/php).
If you go to main clients there is another create directory , I wonder for what purpose this is?

Did any body ever worked with this (create.js or create.php)?

Thank you,

Usman
Parents
  • Hi Usman,

    Yes, you are right. There are two views in SugarCRM 7, one is create and other one is create-action.
    By-default SugarCRM is using create-action views for create view of all modules and mostly we do coding in create-action.
    Create is representing a parent entity or you can say root class/controller for all create views as you can see that create-action is also extended from create view. We observed that it is acting as a middle entity between Record and Create Action views.

    In most of the cases create.js didn't work for code customization, only create-action.

    Rolustech: SugarCRM Engineering
    Website: www.rolustech.com
    Ph (US): +1 - 310 - 492 - 5564
    Ph (UK): +44 - 207 - 9938 - 524
    Email: info@rolustech.com
    Skype: rolustech
Reply
  • Hi Usman,

    Yes, you are right. There are two views in SugarCRM 7, one is create and other one is create-action.
    By-default SugarCRM is using create-action views for create view of all modules and mostly we do coding in create-action.
    Create is representing a parent entity or you can say root class/controller for all create views as you can see that create-action is also extended from create view. We observed that it is acting as a middle entity between Record and Create Action views.

    In most of the cases create.js didn't work for code customization, only create-action.

    Rolustech: SugarCRM Engineering
    Website: www.rolustech.com
    Ph (US): +1 - 310 - 492 - 5564
    Ph (UK): +44 - 207 - 9938 - 524
    Email: info@rolustech.com
    Skype: rolustech
Children
No Data