These small and simple applications perform the basic functionality of authentication, reading data, and writing data. The code is well commented and straightforward, providing an excellent foundation for one to base their own code on. In a nutshell, I’ve performed the task of identifying the intricacies of each service and how they apply in Bungee Connect. You can access any of these applications by logging on to Bungee Connect and selecting them from the Open Example Code tree on the Design tab.
In this example, I’ll be discussing some of the basics of the Bungee Connect reference app for SugarCRM.
The SugarCRM application requires a SugarCRM account. There are trial accounts available for those interested and without their own account. The three pieces of information you will need to run this applications are:
- URL to application
Once you have your account information, you are set to simulate the form and log in. The status message at the very bottom of the form will indicate a successful login.
You should see a list of contacts from your SugarCRM account in the listbox in the center of the form.
You can also add customers using the controls at the bottom of the form.
This screenshot shows the entire code for the adding a contact to SugarCRM. The code is well commented, but you can see that it is only a matter of calling the create_contact function in the web service, passing the data from the form.
-Alan, Community Program Manager, Bungee Connect