AnsweredAssumed Answered

How to Insert a Modal in custom recordlist action

Question asked by Federico Ricci on Jun 7, 2017
Latest reply on Jun 9, 2017 by Altaf Ur Rehman

HI all,

I need to manage a custom function in recordlist view. This function send a mass collection to a custom Sugar API after confirmation. The aim of this function is to customize mass update checking twice the user operations. I have successfully added a custom button between mass action commands in recordlist and when clicking it I'm able to manage a mass collection via Sidecar and even send it to a custom API, but before sending data to custom API I need to show a resume of the data we are managing. I would use a bootstrap modal to do this but I don't know where to put it. I've tried to use a custom/modules/mymodule/client/base/view/recordlist/row.hbs and a custom/modules/mymodule/client/base/view/list/list.hbs inserting there a simply bootstrap modal but it don't appear in any part of html code of sugarcrm.

Does anyone has an idea to how load html code in this case?

Thank you in advance.

I'm using SUGARCRM PRO Version 7.7.2.0 (Build 316)

Outcomes