sugarcrm

Where do you place your custom entry point definitions?

眉间皱痕 提交于 2019-12-11 06:37:50
问题 I add all my custom entrypoints in this file: \custom\Extension\application\Ext\EntryPointRegistry\customEntryPoint.php Is there a better way or place to handle this? 回答1: Your location is the recommended location as per the 6.5 documentation. All of the files within custom/Extension/application/Ext/EntryPointRegistry/ are compiled into the file custom/application/Ext/EntryPointRegistry/entry_point_registry.ext.php when a Quick Repair and Rebuild is done. As you've tagged this with SuiteCRM,

Any CRM platforms that have API access and an easy migration from Salesforce?

大兔子大兔子 提交于 2019-12-11 06:36:56
问题 We're investigating other CRM platforms before investing time/money in updating our current Salesforce-based CRM. Here's what we're looking for: Easy migration of Salesforce data A support contact A community of developers and consultants Custom objects A customizable interface API access (in our case, we would use it for a syncing daemon that controls delivery of our content) Ideally: Ruby libraries, such as ActiveSalesforce, for interacting with that API Are there any options (besides

How to get all fields from a module - SugarCRM 7+ api v10

痴心易碎 提交于 2019-12-11 05:07:49
问题 How to fetch every fields of a module in SugarCRM with its v10 api ? In rest v4 we had get_module_fields to fetch fields. My question is basically the same as this one When I try http://<sugarcrm>/rest/v10/metadata , Postman tells me that I need to enable Javascript ! 回答1: Not sure why Postman says it needs Javascript. Maybe because the data is too much to display as plain-text? You could try to reduce the response payload by limiting it to the module you need: e.g. for Accounts module: /rest

Autofill Field in SugarCRM

£可爱£侵袭症+ 提交于 2019-12-11 04:54:46
问题 In Quotes module (SugarCRM Pro) i made one field region (drop down). When we select billing account name in quote name then address automatically fill up . I want that region field will automatically fill up as i have made same region in account module . I want it will automatically fetch the region from the account module as it fetch all the address. 回答1: in your editviewdefs for that module, on the field array element, you need to add something like: 'displayParams' => array( 'field_to_name

How to add standard field to custom layout of SugarCRM 7

白昼怎懂夜的黑 提交于 2019-12-11 04:15:42
问题 I need create wizard for custom module. It was easy by using example at https://www.sugaroutfitters.com/blog/creating-a-layout-and-view-for-a-module-in-sugarcrm-7 I create custom layout, $viewdefs['mymodulename']['base']['layout']['wizard'] = array( 'type' => 'simple', 'components' => array( array( 'view' => 'wizard', ), ), ); hbs-template {{> wizard.header }} <div class="tcenter"> Step 1 <br/><br/> <button class="previousStep btn btn-success">Previous</button> <button class="nextStep btn btn

How to get over error 40 “Access Denied — You do not have access” in SugarCRM?

半世苍凉 提交于 2019-12-11 03:49:22
问题 Here are the request params (url = http://sugarcrm.localhost/service/v4_1/rest.php): method=get_entry_list&input_type=json&response_type=json &rest_data {"session":"2q67jvlce802e4htsqc94oshkat9henvicvfclprhrbd8ef6k0o0", "module_name":"Contacts", "query":"email1=ychaouche@feeder.fr", "order_by":"", "offset":0, "select_fields":[], "link_name_to_fields_array":[], "max_results":0, "deleted":false} I get this as a result : "{"name":"Access Denied","number":40,"description":"You do not have access"

Remove Required Field from QuickCreate in Sugarcrm

风格不统一 提交于 2019-12-11 03:36:53
问题 I wrote a function to remove accounts name relate field from Contacts QuickCreate but my function works in Firefox perfectly but in chrome its not working... Here is my function function manageRequired(reqArr, disabledVal) { var requiredLabel = '<span class="required">*</span>'; // for firefox var search_requiredLabel = '<span class="required"'; // searching string for firefox var form = ""; for(var i = 0; i < document.forms.length; i++) { if(document.forms[i].id=='EditView') { form =

How to create new custom field datatype and functionality for that field in sugarcrm

試著忘記壹切 提交于 2019-12-11 03:11:11
问题 How to create new custom field datatype and add functionality for that field in sugarcrm Custom field type need to be available in field type drop down in studio. 来源: https://stackoverflow.com/questions/23466681/how-to-create-new-custom-field-datatype-and-functionality-for-that-field-in-suga

Adding contacts to SugarCRM via REST. How to set email?

跟風遠走 提交于 2019-12-10 17:34:17
问题 I managed to add a contact to SugarCRM using its set_entry REST API method. How do I add the contact's email ? As it seems that this is field from another related module (email). So how can i set that using SET entry method? 回答1: Yeah well I added an email, email1 and email2 parameters in the name_value_parameters of set_entry on the Contact module and it worked too, with one single call. 来源: https://stackoverflow.com/questions/13126133/adding-contacts-to-sugarcrm-via-rest-how-to-set-email

How can i retrieve all the records from a table in SugarCRM?

北慕城南 提交于 2019-12-10 16:48:50
问题 I am using Sugar Pro 6.1 and want to know that how can i retrieve all the products with their ids from the products table. I am trying with the following code $sql = "SELECT id, name FROM products order by name"; $result = $GLOBALS["db"]->query($sql); $products = $GLOBALS["db"]->fetchByAssoc($result); but it always returns only the first record. Is it possible to grab all the products with their ids to display them in a html dropdown, i want to display that drop down in a javascript file