Results 1 to 4 of 4

Thread: custom module using existing database

  1. #1
    emkay22 is offline Junior Member
    Join Date
    Sep 2011
    Posts
    5

    Default custom module using existing database

    When building a custom module, if it uses an existing database, what would the normal procedure for specifying that database be?
    Newbie

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

    Default Re: custom module using existing database

    Do you mean a database other than your instance's database. If so then there's really not a standard procedure, you would need to provide all the code for connecting to that DB.
    John Mertic
    Sugar Community Manager

  3. #3
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: custom module using existing database

    If this module uses an existing and external database, you really will need to develop your own code out sugarcrm framework to manage its data.
    Your can overwrite files as edit.view.php,detail.view.php and list.view.php to build your own forms and views.

    But if is posible you can define this module using sugar framework and then import the exiting data to the created structure. I think this solution is easier to maintain.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  4. #4
    fiutyer is offline Junior Member
    Join Date
    Sep 2011
    Posts
    1

    Default Re: custom module using existing database

    eat sugar well.Then you are easily postel well in this forum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding custom fields to existing modules via module loader
    By robertbmirth in forum Developer Help
    Replies: 2
    Last Post: 2010-08-13, 05:52 PM
  2. How do I copy/rename existing custom module?
    By jim.thornton in forum Developer Help
    Replies: 2
    Last Post: 2009-02-28, 05:30 AM
  3. Custom module, existing schema & relationships
    By martinhewitt in forum Help
    Replies: 2
    Last Post: 2008-06-30, 10:31 AM
  4. Replies: 0
    Last Post: 2007-12-27, 07:56 AM
  5. Replies: 0
    Last Post: 2007-04-25, 06:16 AM

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
  •