News & Updates
Training & Certification
to create and rate content, and to follow, bookmark, and share content with other members.
give an example where configurator and adminstration class is used wtihin the internal file system of sugar?
Question asked by
on Mar 12, 2015
on Mar 12, 2015 by Shijin Krishna
Show 0 Likes
sugar version-sugar ultimate edition 7.2
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Mar 12, 2015 7:01 AM
$configurator = new Configurator();
$configurator->loadConfig(); // it will load existing configuration in config variable of object
$configurator->config['mobivate_sms_username'] = $_POST['username'];
$configurator->config['mobivate_sms_password'] = $_POST['password'];
$configurator->config['mobivate_sms_route_id'] = $_POST['route_id'];
$configurator->config['mobivate_sms_from'] = $_POST['from'];
$configurator->config['mobivate_sms_max_char_length'] = $_POST['max_length'];
$configurator->saveConfig(); // save changes
Show 0 Likes
Retrieving data ...
Version 7.7 Released!
Mobile SDK 6.4.1 is Live
SugarCRM acquires Collabspot email integration products
Use of prepared statements in Sugar 7.9
Dependency code not working in onDemand instance but does in local