Results 1 to 3 of 3

Thread: import for custom fields and custom modules

  1. #1
    waverider is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    Cluj-Napoca, Romania
    Posts
    51

    Default import for custom fields and custom modules

    Hello,

    I have 2 questions about importing data.

    1. Is there a way to add some hooks for Account and Contact import? I have some custom fields that are kept in a different bean/table. And I need a custom logic on some fields on import.
    2. Is there some import support provided by SugarCRM 5 CE for custom modules or I'll have to code that from zero?

    Thanks
    jQuery Forum

    SugarCrm 5.0.0b CE on Vista Business, MySql 5, Apache 2

  2. #2
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: import for custom fields and custom modules

    Quote Originally Posted by waverider
    Hello,

    I have 2 questions about importing data.

    1. Is there a way to add some hooks for Account and Contact import? I have some custom fields that are kept in a different bean/table. And I need a custom logic on some fields on import.
    2. Is there some import support provided by SugarCRM 5 CE for custom modules or I'll have to code that from zero?

    Thanks
    1) I would suggest adding a new method on the module's bean and then call it from the the bean's save method.

    2) In 5.1, this will be available.

    Thanks,

    John

  3. #3
    waverider is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    Cluj-Napoca, Romania
    Posts
    51

    Default Re: import for custom fields and custom modules

    Thanks for the reply, John.

    Is there a way to find out in before_save hook if there is an import in progress.

    Or I have to modify core code save method? Is there a way here to find out if the function call happens during import?
    jQuery Forum

    SugarCrm 5.0.0b CE on Vista Business, MySql 5, Apache 2

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Import issues - email field and custom fields
    By catherinejt in forum Help
    Replies: 1
    Last Post: 2007-10-11, 08:41 AM
  2. Custom Fields & Modules
    By Deland02 in forum Help
    Replies: 13
    Last Post: 2006-12-28, 03:11 PM
  3. Replies: 0
    Last Post: 2006-12-20, 11:39 PM
  4. Import Custom fields... delete existing data
    By frb in forum Developer Help
    Replies: 2
    Last Post: 2006-12-07, 07:53 AM
  5. Share custom fields across modules?
    By p3t3 in forum General Discussion
    Replies: 3
    Last Post: 2006-09-12, 01:58 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
  •