• Confirmation popup for saving a record in Preview view

    I have overridden handleSave() so that when a record is saved with Outcome status equal to 'appointment' and the 'Appointment Date' field is blank, user is prompted to Confirm or Cancel. However, clicking on Cancel doesn't cancel the save. Error: Uncaught…
  • App Alert show does not work

    Hi all, I added a new file custom/clients/base/views/merge-duplicates/merge-duplicates.js to my code to extend the Merge Duplicate Process with some logic. My logic is running fine, but I also want to display an Alert message for the user before my…
  • How to change the Alert options

    Hi all, Can anybody guide me on how to change the alert options ref the screenshot below. I think this is a default Alert. - When you add an Account to a Contact record (populate the relationship): I guess its a before-save something? I have…
  • Convert Lead - convert-main.js -  handleSave - app.alert.show

    Hi all, I want perform some checks before converting a lead to contact. In some cases I want to confirm the user to save before "Save and convert" gets executed and show him a Alert for that (app.alert.show). I build the sugarcrm/custom/modules/Leads…
  • Can I put a date picker in a Sugar Alert?

    I have a custom module where a restricted number of users can select multiple records in list view then choose a list view Action that in turn defines a job in the Scheduler that will execute for each of the chosen records. When they choose that list…