and more in a single search tool across platforms. Read the announcement here. |
02/15/2023 03:32 AM - edited 02/15/2023 03:34 AM
Hi Team,
We have Salesforce OOTB connector - We have below mapping for one of the entitlements ( PermissionSet)
"permissionsetfield_mapping": {
"entitlementID": "Id~#~char",
"entitlement_value": "Name~#~char",
"description": "Description~#~char",
"displayName": "PermissionSet_Label~#~char",
"customproperty2": "LastModifiedDate~#~date",
"customproperty4": "UserLicenseId~#~char",
"customproperty7": "CreatedDate~#~date",
"customproperty8": "CreatedById~#~char",
"customproperty9": "LastModifiedById~#~char",
"customproperty18": "UserType~#~char",
"customproperty19": "SystemModstamp~#~date"
}
By default Connector is mapping below , though we didnt specify in the cp10 in the mapping.
"customproperty10": "PermissionSet_Label~#~char"
Is there way we can map this value CP10 to displayName ?
02/15/2023 05:20 AM
Hi,
Copy pasting from guide,
To filter the attributes of the account that you want to import, specify the value of the ACCOUNT_FIELD_QUERY parameter. This is not a mandatory parameter.
Review the following guidelines before creating the query:
Specify the account attributes as comma separated values. If not specified, the connector imports default account attributes.
Name and Id are mandatory attributes and must be mapped in FIELD_MAPPING_JSON.
All attributes in ACCOUNT_FIELD_QUERY must be mapped in FIELD_MAPPING_JSON. If any attribute in ACCOUNT_FIELD_QUERY is not mapped in FIELD_MAPPING_JSON, the import fails.
Do no specify FeatureLicense in ACCOUNT_FIELD_QUERY. You can map it to any customproperty in FIELD_MAPPING_JSON and this information is read from FEATURE_LICENSE_JSON.
The following attributes are recommended for filtering accounts: UserID, Name, DisplayName, Status, FirstName, LastName, CompanyName, Email, RoleID, ProfileID, LastModifiedDate, Freeze/Unfreeze
Sample value is:
Id, Username, LastName, FirstName, Name, CompanyName, Email, IsActive, UserRoleId, ProfileId, UserType, ManagerId, LastLoginDate, LastPasswordChangeDate, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, ContactId, AccountId, FederationIdentifier, UserPermissionsSupportUser
Have you defined ACCOUNT_FIELD_QUERY in your connector ?, if not it will import everything default,
Thanks,
S
02/15/2023 06:49 AM
Defaulting mapping changes are support for account and profile. But looking at your response you need it to for permissions set which is not supported at least as per document