• h

    hi
  • send an email after contact updates in backbone.js

    following from my previous question, I have a button to reset a contacts password field and want to send the contact an email once the update is complete the function that updates the row is resetUserPassword: function(model) { var id = this.model.get…
  • How can I run a function when a parent Record View function runs?

    I am building a customisation that extends a view ( BaseProductBundlesQuoteDataGroupListView ) that already extends the BaseRecordView and I need one of my custom functions to run after a new record is saved. I've found that there are save() and handleSave…
  • Sugar 7 Enterprise - Preventing form from submiting

    Hello. I'm using SugarCRM Enterprise 7.5. I already found a way to validate related fields from the model RevenueLineItems using javascript (backbone.js + underscore.js), and show an error message on the screen. It's being used on the EditView. But I…
  • Sugar 7 - Form submitting before client-side validation

    Hello. I'm using SugarCRM Enterprise 7.5 for production system, and 7.7 for the test system. I'm developing a package for form validation in the RevenueLineItems (it's called 'Receita' in brazilian portuguese) native module. I followed exactly what this…
  • retrieve related records using backbone

    I see that it's possible to retrieve a record's related records using the rest api: app.api.call('getRelatedRecord', '/rest/v10/:module/:recordId/link/:relatedModule/', callbacks); Is it possible to accomplish this with the record's Backbone model itself…
  • Sugar 7 - CreateView field logic breaking form

    Hello. I use Sugar Enterprise 7.7. Only recently I got form validation on page load to work. But there is a problem: the validation I done actually changes the field value by changing it's model value, but it's giving a javascript error, blocking the…
  • Sugar 7 - CreateView not working

    Hello. I'm using Sugar Enterprise 7.5 for production system, and 7.7 for test system. I need to change a datetime module field value in the page as soon as the page is loaded. It's for a custom module. The first solution was to use "calculated fields…
  • Sugar Enterprise 7 - Client-side validation not working

    Hello. I'm using Sugar Enterprise 7.5.2.4. I have a RevenueLineItems module, and need some validations for field and form submit. I have a record.js file for the module, with its destination path defined in the manifest installdefs as: custom/modules…
  • Override Layout in Sugar Portal Issue sugarEnterprise 7.6.0

    Hi Everyone, I have face issue to override layout in sugarEnterprice portal . I have override my portal dashboard layouts below step I have to follow. 1. I have copy those two files from " .\clients\portal\layouts\dashboard\dashboard.js "," .\clients…