Skip to main content

Data import

Connection details

ParameterDescription
Base URL{baseURL}
Authentication typeOAuth2 Client Cridentials
Token endpoint{baseURL}/services/oauth2/token
Client ID{Client ID}
Client Secret{Client Secret}
Test connectionSelect the checkbox
Test query/services/data/v61.0/query?q=SELECT FIELDS(All) FROM USER ORDER BY Name LIMIT 10

Mappings

The connectivity package provides the following mappings as default.

Users - Accounts

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT +id,Name,IsActive,Email,Alias,Username+ from+User
Advancedhttp verbGET

Mappings:

DestinationOperatorSource
Business keyMapId
Unique IDMapAlias
Account NameMapAlias
Display nameName
DescriptionMapEmail
StatusExpression(IsActive == true) ? "Active" : "Disabled"
Distinguished nameMapId

Permission Set – Resources

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT+Id,Name,Label,Description+from+PermissionSet
Advancedhttp verbGET

Mappings:

DestinationOperatorSource
Business keyMapId
Security resource business keyMapId
NameMapLabel
CategoryConstantPermission
TypeConstantSalesforce Permission Set
Display nameMapLabel
Short nameMapId
Logical keyMapId
DescriptionMapDescription

User Roles - Resources

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT+Id,Name,ParentRoleID,RollupDescription+FROM UserRole
Advancedhttp verbGET

Mappings:

ParameterDescriptionValue
Business keyMapId
Security resource business keyMapId
NameMapName
CategoryConstantPermission
TypeConstantSalesforce Role
Display nameMapName
Short nameMapId
Logical keyMapId
DescriptionMapDescription
ParentIdMapParentRoleID

Groups – Resources

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT+Id,Name,DeveloperName,Type+FROM Group
GeneralFilterString.Equals(Type,"Regular")
Advancedhttp verbGET

Mappings:

ParameterDescriptionValue
Business keyMapId
Security resource business keyMapId
NameMapName
CategoryConstantPermission
TypeConstantSalesforce Group
Display nameMapName
Short nameMapId
Logical keyMapId
DescriptionMapDescription

Profile – Resources

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT Id, Name, UserType, Description FROM+Profile
Advancedhttp verbGET

Mappings:

ParameterDescriptionValue
Business keyMapId
Security resource business keyMapId
NameMapName
CategoryConstantPermission
TypeConstantSalesforce Profile
Display nameMapName
Short nameMapId
Logical keyMapId
DescriptionMapDescription
UserTypeMapUserType

Permission Set - Assignments

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT+AssigneeId,PermissionSetId, Id+from+PermissionSetAssignment
Advancedhttp verbGET

Mappings:

ParameterDescriptionValue
Resource business keyMapPermissionSetId
Account – business keyMapAssigneeId
AssignmentIDMapId

User Role - Assignments

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT Id,Name,UserRoleId FROM User
GeneralFilterUserRoleId !="000000000000000"
Advancedhttp verbGET

Mappings:

ParameterDescriptionValue
Resource business keyMapUserRoleId
Account – business keyMapId

Groups - Assignments

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT UserOrGroupid, GroupId, Id FROM Groupmember WHERE UserOrgroupId in (SELECT Id FROM User)
Advancedhttp verbGET

Mappings:

ParameterDescriptionValue
Resource business keyMapGroupId
Account – business keyMapUserOrGroupId
GroupAssignmentIdMapId

Profile - Assignments

Parameters:

ParameterDescriptionValue
GeneralURL/services/data/v61.0/query?q=SELECT Id, ProfileId FROM+User
Advancedhttp verbGET

Mappings:

ParameterDescriptionValue
Resource business keyMapProfileId
Account – business keyMapId

Account rules

The Omada Salesforce connectivity has the following account rules:

Ownership rule
The account owner is set to the identity where the Email value of the identity matches the Description value of the account.

FieldValue
TypeIdentity lookup
Join reasonExact Match
Account attributeDescription
Identity attributeEmail

Classification rule
If an identity with the account attribute Identity join reason equals Exact Match, the account type is set to Email.

FieldValue
Account typePersonal
Scope attributeIdentity join reason
Scope operatorEquals
Scope valueExact Match