Defining Common Resources and Transformations

Articles

Introduction to Common Resources
What are Common Resources? Common resources provide a common API wrapper around multiple vendor endpoints that represent the same class of data: for example /Contacts. Common resources provide a one-to-many coding experience for developers. You c...
Creating and Managing Common Resources
In this section, you will learn how to clone from a resource template or create your own common resource. You can create a common resource from scratch or clone them from existing resources (templates, existing common resource, or a resource ava...
Mapping and Transforming Fields
Transformations refer to the conversion of the fields in an API provider's resource to match the fields in a common resource. Transformations are the result of the process of creating a common resource, and then mapping fields in an adapter inst...
Transforming Common Resources Fields with the API
A transformation is the result of the process of mapping fields in your adapter instance resources to existing fields and objects in a common resource (Common Resource). After you create a Common Resource, you will select an adapter instance, choose...
Migrating Resources and Transformations Between Environments
If you are developing in multiple environments or accounts, you might need to move your Common Resources and transformations from one account or environment to another. You can use the organizations APIs to do this. Migrate Common Resources Migr...
Adapters Request using JS Script & HTTP request
When to use HTTP request from your common resource Before we jump into when to use HTTP requests within your common resource, we should keep in mind that common resources work dynamically, and therefore, every single call going through a common r...
Using Common Resource Templates
Sugar provides a library of common resource templates you can use to help more quickly transform fields provided by some of the most frequently used types of adapters into single, normalized resources. For more information about Common Resources and...