Results 1 to 7 of 7

Thread: Automating Custom Module/Field Creation

  1. #1
    craigotis is offline Member
    Join Date
    Sep 2010
    Posts
    7

    Default Automating Custom Module/Field Creation

    Hey all,

    We're writing a web application that uses SugarCRM as its back-end. We use Studio and Module Builder to create custom modules and fields in our test SugarCRM environment.

    When we distribute the application to clients, we don't expect them to create these custom Modules and Fields themselves, as it would be very tedious, error-prone, and time-consuming. Our web application connects to SugarCRM over SOAP.

    Is there any way to automate the creation of custom Modules or Fields? Either over SOAP or through some other method? (Scripting, Importing, etc.)

    Thanks,
    Craig

  2. #2
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Automating Custom Module/Field Creation

    Hello,

    Can you explain your issue a bit clear? I'm little confused..
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  3. #3
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Automating Custom Module/Field Creation

    Quote Originally Posted by craigotis View Post
    Hey all,

    We're writing a web application that uses SugarCRM as its back-end. We use Studio and Module Builder to create custom modules and fields in our test SugarCRM environment.

    When we distribute the application to clients, we don't expect them to create these custom Modules and Fields themselves, as it would be very tedious, error-prone, and time-consuming. Our web application connects to SugarCRM over SOAP.

    Is there any way to automate the creation of custom Modules or Fields? Either over SOAP or through some other method? (Scripting, Importing, etc.)

    Thanks,
    Craig
    You could do it via a manifest file which the user could apply via the Module Loader. Take a look at the Wiki and Developer site for more info on its syntax, etc.

    sugarcrm.com/wiki
    developer.sugarcrm.com
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  4. #4
    jnassi's Avatar
    jnassi is offline Sugar Team Member
    Join Date
    Apr 2005
    Posts
    455

    Default Re: Automating Custom Module/Field Creation

    For the custom module, within Module Builder you can "Publish" the package. That's the option intended for distributing the package to other people to deploy within their own systems.
    http://www.sugarcrm.com/crm/support/...n.html#1670512 (look for the Publish section)

    For the custom fields on existing modules, within Studio you can "Export Customizations".

    http://www.sugarcrm.com/crm/support/...n.html#1670624 (look for the section titled Exporting Module Customizations)

    You could conceivably take both of the two methods above and combine them into one distribution.
    Jason Nassi
    SugarExchange.com

  5. #5
    craigotis is offline Member
    Join Date
    Sep 2010
    Posts
    7

    Default Re: Automating Custom Module/Field Creation

    Thank you very much for the replies, I'll be sure to check back with our results.

  6. #6
    craigotis is offline Member
    Join Date
    Sep 2010
    Posts
    7

    Default Re: Automating Custom Module/Field Creation

    Quote Originally Posted by jnassi View Post
    For the custom module, within Module Builder you can "Publish" the package. That's the option intended for distributing the package to other people to deploy within their own systems.
    http://www.sugarcrm.com/crm/support/...n.html#1670512 (look for the Publish section)

    For the custom fields on existing modules, within Studio you can "Export Customizations".

    http://www.sugarcrm.com/crm/support/...n.html#1670624 (look for the section titled Exporting Module Customizations)

    You could conceivably take both of the two methods above and combine them into one distribution.
    jnassi, I think this is the method we're going to attempt. Just to be sure, when we export the customizations to existing modules ("Contacts", for example) and our customers import those customizations, does their SugarCRM instance only pick up the additions? If they have their own custom fields that weren't present in our database, their changes won't be overwritten by ours, correct?

  7. #7
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Automating Custom Module/Field Creation

    That's correct. It won't reset the module and then apply your customizations. Of course, the danger does exist that you could have a field name in your list that matches a name that the customer already defined, so you probably want to come up with some naming convention that minimizes those potential conflicts.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom Field Creation
    By KUMAR81 in forum Developer Help
    Replies: 3
    Last Post: 2009-06-16, 12:40 PM
  2. Mass Custom Field Creation???
    By SponjWorthy in forum Help
    Replies: 0
    Last Post: 2006-11-06, 03:35 PM
  3. Making a custom field populate on creation
    By aheuermann in forum Help
    Replies: 4
    Last Post: 2006-10-10, 04:25 PM
  4. Replies: 0
    Last Post: 2006-08-23, 03:11 AM
  5. 1. custom field creation 2. Calender time slots
    By sugarcare in forum Developer Help
    Replies: 2
    Last Post: 2006-01-11, 07:25 AM

Tags for this Thread

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
  •