Results 1 to 3 of 3

Thread: how data store in sugarcrm bean object?

  1. #1
    kamalesh2008 is offline Sugar Community Member
    Join Date
    Mar 2010
    Location
    Pune , India
    Posts
    46

    Default how data store in sugarcrm bean object?

    Hello all,

    i want to know how data store in Sugarcrm bean object.......

    for example:

    when we create a contact in Contacts module , for that first we need to fill information and click on save.....at that point i want to know how$_POST array is processed and assigned to sugarCRM bean object.

    please me help

    Thank You,
    Kamalesh dhayal

  2. #2
    shailendra001's Avatar
    shailendra001 is offline A Prolific Poster
    Join Date
    Oct 2008
    Location
    Bangalore India
    Posts
    255

    Default Re: how data store in sugarcrm bean object?

    Quote Originally Posted by kamalesh2008 View Post
    Hello all,

    i want to know how data store in Sugarcrm bean object.......

    for example:

    when we create a contact in Contacts module , for that first we need to fill information and click on save.....at that point i want to know how$_POST array is processed and assigned to sugarCRM bean object.

    please me help

    Thank You,
    Kamalesh dhayal

    If you want to add some functionality before save of object , you can go through logic_hooks .
    This may help

    Regards
    Shailendra

  3. #3
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: how data store in sugarcrm bean object?

    Quote Originally Posted by kamalesh2008 View Post
    Hello all,

    i want to know how data store in Sugarcrm bean object.......

    for example:

    when we create a contact in Contacts module , for that first we need to fill information and click on save.....at that point i want to know how$_POST array is processed and assigned to sugarCRM bean object.

    please me help

    Thank You,
    Kamalesh dhayal
    Everything is simple.

    For example module Contacts
    path to save file ../modules/Contacts/Save.php

    PHP Code:
    require_once('modules/Contacts/ContactFormBase.php');
    $contactForm = new ContactFormBase();
    $prefix = empty($_REQUEST['dup_checked']) ? '' 'Contacts';
    $contactForm->handleSave($prefixtruefalse); 
    SugarCRM retrieve data from $_POST in function
    populateFromPost($prefix, $focus);
    Letrium ltd. - Only high quality service
    http://letrium.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. WebtoLead does not store Multiple Select data
    By gerrybakker in forum Help
    Replies: 5
    Last Post: 2011-10-21, 07:46 PM
  2. how to store data in related module ?
    By cryptex in forum Developer Help
    Replies: 6
    Last Post: 2008-11-28, 09:19 AM
  3. Best module to store data
    By Mendostarsfan in forum Help
    Replies: 0
    Last Post: 2007-11-25, 05:16 AM
  4. Replies: 1
    Last Post: 2006-06-13, 12:39 PM
  5. Store Customer data in LDAP
    By hockeystop in forum Feature Requests
    Replies: 3
    Last Post: 2005-11-23, 10:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •