Find us at our new Help Center where we've combined our documentation and knowledgebase articles in one easy-to-search location.
We aren't updating the Developer Portal anymore, except for the Element Docs — all updates happen in the Help Center. We're retiring the Developer Portal as you know it in:
With common resources, you can transform fields provided by your service providers to a single, normalized resource at Cloud Elements. This allows you to take advantage of our one-to-many integration approach where you write to a single common resource to integrate the transformed resources from your various service providers.
A frequent example is to create a common resource to represent your /contacts
for various CRMs, and then transform the /contacts
resources from those CRMs. You know that you want your contacts to look a certain way, regardless of the CRM system. You want firstName
, lastName
, and email
. But some elements call FirstName
something else, like FirstName
, F_Name
, or properties.firstname
. You need to create a single common resource with fields named firstName
, lastName
, and email
. Then you can map all of the like fields from other elements to the fields in your common resource. We transform those mapped fields, so you can write to a single API to integrate many services.
This example shows fields in the /Contact
resource from Salesforce mapped to fields in a common resource called myContacts
.
You can use common resources to do more than normalize resource names. You can transform data types, so when a resource returns a string and you need a date, Cloud Elements transforms the data. Using our JavaScript Editor, you can create logic to manage complex problems. For example, you can write a simple script to combine fields like firstName
and lastName
into a single field called name
. Or tackle even more complicated issues like transforming a number based priority value (1-10) to a descriptor based value (low, medium, or high).
You define the fields in common resources within a hierarchy that includes three levels: organization, account, and instance. Only users at the organization level can create common resources, while users at other levels can configure the common resources for specific transformations.
To help you understand common resources, review the definitions in this section.