This is an open source component template for SugarCRM which is developed specifically to run on AVA platform. You can clone it and change it as you wish.
In order for the AVA platform to authenticate with SugarCRM, the following tasks need to be completed:
platform
parameter to distinguish their custom platform from other clients when using the Sugar API. For example, when a user accesses Sugar via the desktop client and the mobile client simultaneously without being logged out of either, it is because the API recognizes that they are different platforms due to their unique platform identifiers. The platform identifier also makes it easy for a Sugar administrator to configure which API platforms are allowed to access their instance via Admin > Configure API Platforms.To learn more about platform identifiers, please refer to the Sugar Developer Blog in the SugarCRM Community.
Fill in the following for your account:
For real-time tasks please use separate oauth keys to avoid login conflicts.
Parameter platform
should be set to some custom string but should be unique per sugar component in order to avoid any potential login conflicts.
So now platform
is “$TASK_ID:$STEP_ID
”.
SugarCRM component includes the following triggers:
Fetching New and Updated Objects from SugarCRM - Polling
It is possible to fetch any type newly created and/or updated object in your SugarCRM instance.
Fetching New and Updated Objects from SugarCRM - Webhook
It is possible to have new and updated objects be pushed to the AVA platform via webhooks.
Fetch Deleted Objects from SugarCRM - Webhook
It is possible to have the ids of deleted objects be pushed to the AVA platform via webhooks.
SugarCRM component includes the following actions:
Lookup Object By ID action
Given an object, looks up the object with that ID. You must select the type of object to lookup.
Lookup Objects action
Lookup a list of objects satisfying specified criteria.
Delete Object By ID action
Given an object, deletes the object with that ID. You must select the type of object to lookup.
Upsert Object By ID action
Update an existing entry if the id provided. Otherwise create a new entry. You must select the type of object to lookup.
Bulk Create Objects action
Provides a simple interface for quickly creating large amounts of objects.
Bulk Update Objects action
Provides a simple interface for quickly updating large amounts of objects.
Bulk Delete Objects action
Provides a simple interface for quickly deleting large amounts of objects.
Query action
Retrieve a set of records filtered by an expression utilizing the SugarCRM REST API filter endpoint.
For the local testing (e.g. spec-integration) ELASTICIO_TASK_ID
and ELASTICIO_STEP_ID
environment variables should be provided.
This component interacts with version 10 of the SugarCRM REST API. It has been tested with:
SugarCRM Enterprise, Version 7.9.1.0 (Build 1074)
andSugarCRM Enterprise, Version 8.0.0 (Build 211) (Spring '18)