We just upgraded to the newest version of SugarCRM - there are some areas that are missing in the advanced search criteria - in the advance search under leads - I can only search by status, assigned to, lead source, and first and last name.
How do I get back all of the other search criteria?
There are some (minor) things missing in this page. The most recent dictionary can be found at: http://www.sugarcrm.com/wiki/index.php?title=Category:Vardefs.
"You will see at the bottom of index.php that the HTML is eventually rendered by calling or "including" the following three files:"
index.php no longer contains this logic. It's found in the displayHeader() and displayFooter() methods of the SugarView class, defined inside ./include/MVC/View/SugarView.php.
Hi,
can any one tell me that how to use nusoapclient using. Using java i am not able to add lead details like phone, lead source etc...
We just upgraded to the newest version of SugarCRM - there are some areas that are missing in the advanced search criteria - in the advance search under leads - I can only search by status, assigned to, lead source, and first and last name.
How do I get back all of the other search criteria?
I forgot to mention the ability to call a function to massage a connector's field's value.
In my trivial example, you can modify the vardefs.php file to include the additional function parameter:
'website'=> array(
'name' => 'website',
'vname' => 'LBL_WEBSITE',
'function' => array('name'=>'get_test_website', 'include'=>'custom/modules/Connectors/connectors/sources/ext/rest/test/test_custom_functions.php'),
),
Then you can add a file in custom/modules/Connectors/sources/ext/rest/test/test_custom_functions.php that has a method named get_test_website:
/**
* get_test_website
* do something simple for example....
*/
function get_hoovers_finsales($bean, $out_field, $value) {
$value = trim($value);
return $value . ' (custom value formatting);
}
Now the connector data will return the website with the text "(custom value formatting)" appended.
There are some (minor) things missing in this page. The most recent dictionary can be found at: http://www.sugarcrm.com/wiki/index.php?title=Category:Vardefs.In 5.1 the password is encrypted and after md5 hashed.
The encryption key is the ldap key set in global configuration.
If not specified the password is in clear text ( not even hashed )
A minor update on this line:
"You will see at the bottom of index.php that the HTML is eventually rendered by calling or "including" the following three files:"
index.php no longer contains this logic. It's found in the displayHeader() and displayFooter() methods of the SugarView class, defined inside ./include/MVC/View/SugarView.php.
(as of 5.1.0b)
"Upgrade-Safe Implementation" section, referring to the mapping of actions to files:
[quote]$action_file_map['soapRetrieve'] = 'custom/SoapRetrieve/soap.php';[/quote]
This should actually be:
[quote]$action_file_map['soap[b]r[/b]etrieve'] = 'custom/SoapRetrieve/soap.php';[/quote]
because in SugarController::handleActionMaps() the code refers to:
[quote]$this->action_view_map[strtolower($this->do_action)][/quote]
This means you should use lowercase names as indices in your $action_file_map
The example above did not work for us when we attempted to extend the Contacts module. Apparently the assignment of the 'fields' array:
$dictionary['Call'] = array('fields' => array ( ...
wipes out all other fields, and I suspect all other metadata associated with the 'Call' class.
Instead, we were successful adding a single field to an existing Module's metadata using:
$dictionary['Call']['fields']['related_id'] = array ( ...
Also, this example is not balanced w.r.t. parentheses.
Couldn't find what you were looking for? Drop us a note and we'll do our best to get it up here.
Have a tutorial you would like to share with us? Fill out the form below and we'll get it posted.
Create an account.
- Developer Blog
- RSS
Getting Started- Browse by designation
- Browse by category
- Browse by version
- Browse by edition
Tool Box- Tools
- Code Depot
PodcastsTerms & Conditions | Privacy | Trademark Info | Contact Info | FAQs | SugarCRM Inc.© 2004 - 2009 All rights reserved.