• How to Menu name display after successful module deployment

    Hi, I have created a new custom module. After a successful deployment, navigate to "Navigation Bar and Subpanels" where I need to manually move it from "Hidden" to "Display." However, I want it to be displayed automatically after a successful deployment…
  • Introduction to the Sugar Frameworks

    My latest post on the 4 Sugar Frameworks can be found at sugarcrm.substack.com/.../sugar-framework
  • Custom SidePane on Support Portal

    How can i create a custom view in the side pane of the sugarCRM portal (see image)? is it the same as with the base portal?(modifying/creating a JS controller, a PHP metadata file, and a Handlebars ) if so should i change: < viewdefs['base'] > to < viewdefs…
  • How to access an information hold by a relationship in my view / layout / field ?

    Hello, I want to improved the Contact subpanel for the account's module, by including an additionnal CSS property to highlight contact that do not "work" anymore for the account, ie the contacts marked as not primary in the relationship accounts_contacts…
  • BeanCollection not in Sugar documentation

    I'd like to bring attention to a Sidecar function called createBeanCollection . I found it to be very useful for loading multiple Sugar records from a single module, as described well in Angel Magana's blog . The problem is that it is not mentioned in…
  • Changing the primary button color

    According to the "Themes" documentation, I can change my primary button color by setting the following in my "custom/themes/clients/base/default/variables.php" file. <?php $lessdefs = [ 'colors' = > [ 'PrimaryButton' = > '#0F0' , ] , ] ; ?> In theory…
  • Sidecar nesting partials

    Since sidecar is using handlebars I thought it wouldn't be a difficult task to create a ul/li structure with multiple levels. I was so wrong. For some reason I need to use a sidecar specific 'partial' helper that retrieves the partial that I need and…
  • How to replace dropdown with multiselect in List View Related Records filter

    In the List View filter of our Meeting module, there is an option to search by Related To field, where we can search by Accounts related to a Meeting (see image). At this time, when I click on "Search and Select", a list of Accounts opens where I can…
  • Consume API from within Sugar

    Hi, I would like to add a custom button to the opportunities module that makes a call to a custom endpoint that I created inside Sugar The endpoint requires authentication, so I was wondering what would be the best way to call this endpoint from within…
  • model.save best practices

    Hi All, Just a quick question here about Sidecar's save() function. I'm effectively doing the following via Sidecar: var accountBean = app . data . createBean ( "Accounts" , { id : this . model . get ( "billing_account_id" ) } ) ; accountBean . fetch…
  • Module record pages not working with code following the new Sugar standards

    Hello. I'm using SugarCRM 7.8 Enterprise Edition. I have a package for the module 'Opportunities', which I need to update some javascript / sidecar code to make the CRM updatable to version 7.9, according to what Sugar said in a Internal Case I opened…
  • 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…
  • Custom Field - Mobile - Problem

    Guys, I created a new type of field has been implemented in Desktop version correctly , but is not visible on the mobile version , there is some code that should be implemented more ? I follow the tutorial below , but it seems that something is missing…
  • 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…