When building a custom module, if it uses an existing database, what would the normal procedure for specifying that database be?
Newbie
When building a custom module, if it uses an existing database, what would the normal procedure for specifying that database be?
Newbie
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
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
eat sugar well.Then you are easily postel well in this forum.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks