Where can i find the code running in Notes openCreateDrawer? in adding new Record

Where can i find the code running in Notes openCreateDrawer? in adding new Record

Version: SugarCRM 7.61

Parents
  • Hi Longki,

    Notes module is sidecar now.

    Opendrawer (view) will come from record.hbs which is located in /clients/base/views/record/.But if you are looking for any controller related changes ,then you need to go with create-actions.js.

    Here is how i am saying opendrawer view will come form record.hbs.

    create-actions.js will extendsview from createView.(you can find this from clients/base/views/create-actions/create-actions.js).

    create.js will extend view of recordview.(you can find this from /clients/base/views/create/create.js).you can check from where it gets extendsFrom .

    So finally (view) it comes record.hbs.Both record and create view will come from this file only.

    hope this helps.

Reply
  • Hi Longki,

    Notes module is sidecar now.

    Opendrawer (view) will come from record.hbs which is located in /clients/base/views/record/.But if you are looking for any controller related changes ,then you need to go with create-actions.js.

    Here is how i am saying opendrawer view will come form record.hbs.

    create-actions.js will extendsview from createView.(you can find this from clients/base/views/create-actions/create-actions.js).

    create.js will extend view of recordview.(you can find this from /clients/base/views/create/create.js).you can check from where it gets extendsFrom .

    So finally (view) it comes record.hbs.Both record and create view will come from this file only.

    hope this helps.

Children