Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: database fetching issue

database fetching issue 4 days 2 hours ago #85837

  • Praful16
  • Praful16's Avatar
  • Offline
  • New Member
  • Posts: 13
  • Karma: 0
I was created one new field in database table of user. when I was fetch from $bean I was not getting that field. i was getting all data from table but not getting new field in array. how to get that. reply asap.
The administrator has disabled public write access.

database fetching issue 4 days 1 hour ago #85838

  • ashish@outrightcrm.com
  • ashish@outrightcrm.com's Avatar
  • Offline
  • Elite Member
  • CTO at outright Systems
  • Posts: 262
  • Thank you received: 25
  • Karma: 4
You need to make database field code also.

custom/Extension/modules/module_name/Ext/Vardefs.php.

a sample code would be like that..

$dictionary["Account"]["fields"]["accounts_d_drip_record_manager_1"] = array (
  'name' => 'accounts_d_drip_record_manager_1',
  'type' => 'varchar',
  'vname' => 'LBL_ACCOUNTS_D_DRIP_RECORD_MANAGER_1_FROM_D_DRIP_RECORD_MANAGER_TITLE',
);
The administrator has disabled public write access.
Time to create page: 0.050 seconds
Powered by Kunena Forum