AnsweredAssumed Answered

IWhich files to include for Bean access via External APp

Question asked by Jeff C on Dec 14, 2016

Been a while since I did coding for SugarCRM (Community).

I need to write a new app the functions outside of Sugar but can get bean data.  I forget what include files I need to include?


Specifically I need to grab the primary address of a contact.  I know how to do it through direct access to the database table but I'd prefer to use beans.  Example of the code I want to write:


# Need Bean Factory for functions below to work


Which include files do I need to establish DB connection and allow these functions to work?