• 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…
  • How to update the list of items from the response in some fields ?

    1. I am calling an API on click of button. I am able to get response. Response Sample : { Item1, Item2, Item3, Item4 } 2.Now I want to put these values in some field (dropDownlist) where user can select it and use it. 3.I had no idea…
  • Best way to log in a Sugar User from an in-house application via LDAP

    Premise: I don't understand the first thing about how authentication really works. We have our own in-house ERP application. ( https://sugarclub.sugarcrm.com/engage/it-operations/b/share-your-story/posts/ah-the-possibilities ) Our ERP users are a…
  • Using App.api.buildURL with filters to return results from another module

    Hi all, Im having a problem returning a record back from our custom countries module when we change a dropdown field in our accounts record. Ive added a function to records.js to handle detecting the change and passing the value to a function. I…
  • Invalid_grant error happening occasionally for a given access token

    Hello Everyone, For one user we've seen that the access token was sometimes returning a invalid_grant, but ahead and later requests with exactly the same token did succeed. This happened on sugarondemand.com hosted instance. Below I include response…
  • How to get Inactive Users via api call from outside sugar.

    Hi, I am trying to find a user in sugar via user_name field and that user is inactive. While making api call via postman i am not getting that inactive user detail. http://<localhost>/rest/v11/Users/?filter[0][user_name]=Test Is there any param available…
  • getting duplicate session storage in sugacrm

    Hello Team, I'm creating a plugin for a custom requirement, and for this, I need unique session storage(let's say tabID) on each tab. but session storage is behaving very strange with SugarCRM while in normal Html is it behaving correctly. For example…