suitecrm

How To add Auto Increment in module default ID fields Suit CRM

僤鯓⒐⒋嵵緔 提交于 2019-12-11 08:30:42
问题 Is it possible to add auto increment in module default ID field in Suite CRM . ID field contains 36 char type. Is there any settings options available in SuiteCRM ? 回答1: In my experience, the goal of auto-incrmenting fields is usually to create a human-friendly ID field, e.g. Case ID, Quote ID, Account Number. This is different than the CRM system's GUID, though both are effectively unique identifiers. It's is simply that the human-friendly ID field is easier to communicate with colleagues (

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,

Call to undefined function iconv() fatal error - Suitecrm

牧云@^-^@ 提交于 2019-12-08 16:41:25
问题 Using suitecrm 7.9.1 I am facing the below error whenever i try to create a lead , that is after submitting the create lead form. Facing the same error whenever i try to import a csv file . This error occurs only on live server Fatal error: Uncaught Error: Call to undefined function iconv() in /home/testsite/public_html/modules/AOD_Index/Lib/Zend/Search/Lucene/Field.php:222 Stack trace: #0 /home/testsite/public_html/modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentWriter/DocumentWriter

SuiteCRM API full authentication and login

a 夏天 提交于 2019-12-08 10:59:47
问题 Is there a away to gain full access to SuiteCRM through background API login? For example, we use LDAP on a separate site and I want to pass authenticated users to suitecrm in the background then have suitecrm grant access to said user without them having to log in for a second time. I have been able to get the API to work and 'login' a user and return a session_id, however it still directs me to the login page. If I attempt to force a redirect I get an err_to_many_redirects. EDIT: I do not

sugarCRM : creating relationship using module loader, package not installing

*爱你&永不变心* 提交于 2019-12-08 03:28:31
问题 I am trying to create relationships through module loader in SugarCRM. But the problem is my package is stopped installing after 55%. When I am viewing display log the error is:- Failed to copy cache/upgrades/temp/SYWr9G/custom/metadata/accounts_contacts_1MetaData.php custom/metadata/accounts_contacts_1MetaData.php I tried to change permissions also but at some point they through internal server error 500. Following are the code which I am using. 1.In manifest.php file : $installdefs = array(

sugarCRM : creating relationship using module loader, package not installing

我的梦境 提交于 2019-12-06 16:06:43
I am trying to create relationships through module loader in SugarCRM. But the problem is my package is stopped installing after 55%. When I am viewing display log the error is:- Failed to copy cache/upgrades/temp/SYWr9G/custom/metadata/accounts_contacts_1MetaData.php custom/metadata/accounts_contacts_1MetaData.php I tried to change permissions also but at some point they through internal server error 500. Following are the code which I am using. 1.In manifest.php file : $installdefs = array( 'id' => 'package_20170804', 'copy' => array( 0 => array( 'from' => '<basepath>/accounts_contacts

Custom validation for unique custom field

好久不见. 提交于 2019-12-02 08:32:58
I'm trying to do a custom validation. I have a module in which there is a field that must be unique, so suitecrm must not allow you to create two records with that same field. Let's say you want to validate the sic_code Field in the Accounts module. Following example was tested in SuiteCRM 7.11.2 using the Extension framework. Go create a file in the custom/Extension/modules/Accounts/Ext/Vardefs folder. You can name the file sugarfield_sic_code.php . Inside of the file add this example snippet: $dictionary['Account']['fields']['sic_code']['validation']= array ( 'type' => 'callback', 'callback'

Custom validation for unique custom field

巧了我就是萌 提交于 2019-11-28 12:16:26
问题 I'm trying to do a custom validation. I have a module in which there is a field that must be unique, so suitecrm must not allow you to create two records with that same field. 回答1: Let's say you want to validate the sic_code Field in the Accounts module. Following example was tested in SuiteCRM 7.11.2 using the Extension framework. Go create a file in the custom/Extension/modules/Accounts/Ext/Vardefs folder. You can name the file sugarfield_sic_code.php . Inside of the file add this example