What are Sugar Integration Building Blocks?
This is a new effort to create an open source library of re-usable common components that can be easily adapted by developers interested in integrating applications with Sugar 7. This project is focused on the needs of SugarCRM ISVs and Technology partners that want to build integrations and get them listed on Sugar Exchange quickly and painlessly so they can be offered to Sugar customers.
This new open source project is hosted on Github at https://github.com/sugarcrm/BuildingBlocks and is accepting contributions from the Sugar Developer community.
Watch this project because more and more components and examples will be added in the coming months.
Contextual Frame Dashlet Package
One of the first building blocks is an easy to use iframe dashlet that passes contextual information about the current page to the iframe using URL parameters. In the current package, the context that is passed is the record id (when there is one) and the module name. The external endpoint can then use that context to create an appropriate UI to present in the iframe.
This dashlet can be easily used to create a lightweight UI integration with an external application. It can be deployed as-is for a Proof of Concept or demonstrations or it can be easily customized for additional tailored capability.
Contextual iFrame Dashlet configuration page
It also happens to be a good example of a Dashlet that uses a configuration page in order to manage settings such as the base URL and the frame’s height.