Submit or Request a Tutorial

Posted on 12-31-1969 by

Helpful () Unhelpful () Views:   ShareShare

User Contributed Comments

yadaom - 05-25-2010 05:31:56
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...
mfister - 06-08-2009 07:07:34
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?
collinlee - 02-04-2009 11:45:25
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.
SugarDev.net - 01-17-2009 05:56:48
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.
mattecosta - 01-12-2009 07:50:15
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 )
julian - 11-13-2008 12:26:18
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)
Zecc - 10-03-2008 06:17:05
"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
markebowles - 09-16-2008 01:26:59
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.
Submit or Request a Tutorial
Feedback
Please confirm your selection:
Helpful
Unhelpful
Add a Comment
E-mail:
Comment: