• For API customization in SugarCRM

    Dear All, I want to customized Some input received in Sugar by Default API . How can I customized if ? And Also share the path of default API in SugarCRM used. For Example :- I have share a case crate API with portal user and I received regularly in…
  • suddenly get auto logged out from Sugar with a status of 412 (Precondition Failed)

    Hi, I just got auto looged out SugarCRM. Then I see the browser console, I found an error in some Rest API https://xyz.com/rest/v11_10/Contacts?erased_fields=true&view=list&fields=lead_source%2Cfollowing%2Cmy_favorite&max_num=20…
  • user logout issues when using REST AP

    In my plugin, I'm using the SugarCRM function SUGAR.App.api.getOAuthToken() for querying any data (get/post) on each ajax call of SugarCRM v10 REST API. Below is the piece of ajax request code $.ajax({ beforeSend: function(request) { request.setRequestHeader…
  • The Products "Subpanel" on Quotes

    I need to run a script when an item is Saved on the Quote. So you pick a product from the dashlet, it is added to the SubPanel and then you click on the green button to save it. As it is saved I need to check its 'product_template_id' and if it is one…
  • How to do a validation that requires an API call

    I want to add a validation to make sure the email address added to a record is unique. This, of course, requires an API call to go check the current email address to all the others. The problem is, in my validation function, by the time the API call returns…
  • How to restrict Account Create In to Mobile-App sugarCRM 7.* ?

    Hi Everyone, I have restricted account creation in to web(Base) but when I have check same for mobile-app that is not working. Can anyone help how to restrict account creation in to mobile-app. Please check below attachment for reference. Thanks Alex…
  • 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 to generate GUID in create-action.js sugarcrm 7.* ?

    I want to generate the GUID in create-action.js is there any function in sugarcrm 7.* provide ? Like we use php side 'create_guid()' same anything is there ? Thanks.
  • how can I using rest api in customCode?

    I have added 'customCode' to a field in detailviewdefs.php for campaign module. I want to populate a dropdown with some other values using a custom endpoint . 'customCode' => '<script type="text/javascript" src="custom/js/custom.js?v13225"></script><script…
  • 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 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…
  • Generate URL of an image field

    Guys, what is the correct way to generate a url for an image field through JavaScript ? I wanted to generate a Dashlet with the image , but do not know how this works in REST .