• Count Endpoint for documents/ tasks

    Is there a best way to get a count of all documents/task etc . Like is there a URL endpoint we can just call that's like documents/count?
  • Retrieve associated Opportunity ID when providing docID

    Hey is there a way to access the opportunity ID given the documentID. I would like to be able to query given the docID info and be able to find the associated opportunity related to the docID provided. I can definitely complete the task done the other…
  • SugarCRM API Metadata endpoint. Properties - How to define an updatable field?

    Hi, When querying the /rest/v11/metadata?type_filter=modules endpoint we can see the list of fields under the /fields object. Some fields have the property "readonly", as the name implies this defines if this field can be used on Create/Update endpoints…
  • how to export the complete metadata of complete SugarCRM or core modules

    how to export the complete metadata of SugarCRM instance or only core modules I got the following steps while googling Log in to your SugarCRM instance as an administrator. Navigate to the "Admin" section of SugarCRM. This is typically accessible…
  • Dashboard Order Moving on its own

    The Dashboard order on Universal Dashboard and Record View Dashlets are moving back to its original position. We tried to change the dashlet position with the help of drag and drop option it got saved and whenever we came back it does not persist its…
  • Metadata required fileds

    Hello there So, I'm having the following issue: Repairing our customized installation of SugarCRM 11.0, I'm having several queries that returns errors. I'm trying to fix those fields, in order to be able to have a clean repair, without Oracle…
  • Metadata out of sync error after updating User through JavaScript

    Hi, I'm updating a user through JavaScript ilke this: const userBean = app.data.createBean('Users', {id: app.user.id}); userBean.set('has_read', true); userBean.save(); The save operation works, but after the user has been updated I keep getting…
  • How the complex fields(Objects & arrays from actual api response i.e. get records for a module) are defined in Metadata API (/rest/v11_8/metadata?type_filter=modules&module_filter=Accounts)

    Hi, I am doing an Api call (using /rest/ v11_8 ) to get metadata from this endpoint " /rest/v11_8/metadata?type_filter=modules&module_filter=Activities" this is for "Activities" module, here I am getting a response like this (image= metadata API response…
  • List of Actions that trigger a Metadata refresh

    Hi everyone! Does anyone have a definitive list of what actions in Sugar trigger a metadata refresh? I've only gotten very general answers so far from Sugar (i.e. changes in the admin panel). I need a more exact list of what specific actions cause a…
  • Get labels of all the fields available for a module

    Hello, I have a requirement where I need to get the list of all fields available for a module. I am currently using this endpoint to get the data: /rest/v11/metadata?type_filter=modules&module_filter=Contacts Everything is working fine with this except…
  • Custom Field Type field definition mandatory_fetch not working

    I have built a Custom Field Type similar to the built-in Relate field which stores a record name and requires two additional custom fields alongside it to store the record ID and module. I have not inherited from the relate field because the functionality…
  • Attributes.metadata missing in SugarCRM 8.0.0

    If you examine Sugar 7.8.2.2 using Chrome's DevTools, you'll see that there are many attributes under App.controller.layout.model.attributes , one of those being metadata . If you examine Sugar 8.0.0 the same way, there are much less attributes available…
  • Sugar Labels Not showing after copied from GIT (On Demand to my Local Development)

    After installing the on demand sugar copy of CRM from Git, Most of the module lables are not showing up. After research we found that, The Language files that are supposed to be generate in “cache/api/metadata” are empty. Files are following: That means…
  • metadata_out_of_date and sugar keep re-loading

    After I Quick Repair and Rebuild I saw some error in inspect tool: Sugar re-loading once by itself, if error occur every click change modules and edit data look like every click at first time then it gone. How can I prevent this event ? Structure of our…
  • Add a custom button to Quotes record view

    Hi, I have a Sugarcrm 7.6 pro installation and I want to add a custom button to the Quotes record views and I found this guide in the documentation https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/UI_Model/Views/Examples…