Bullhorn entity mappings commonly use three Salesforce fields. Account and Contact include these fields in the managed package. Use the Create sync fields card on the Bullhorn Sync Setup tab to add them to other standard or custom objects.
| Field | Type | Purpose |
|---|---|---|
BH_Suppress_Sync__c |
Checkbox, default false | Prevents an inbound Bullhorn update from being sent back to Bullhorn by outbound automation. |
BH_Is_Deleted__c |
Checkbox, default false | Marks a Salesforce record when the related Bullhorn record is soft deleted. |
BH_External_Id__c |
Text (40), External ID | Stores the Bullhorn entity id used to match records during inbound and outbound sync. |
Field creation uses Salesforce's Metadata API and calls the current Salesforce org. Lightning sessions cannot authenticate Salesforce API calls, so configure an OAuth Named Credential once. The credential must have these values:
| Setting | Value |
|---|---|
| Developer name | BH_Salesforce_Metadata_API |
| URL | The org's My Domain base URL, for example https://example.my.salesforce.com |
| Identity | Named principal authenticated as a Salesforce administrator |
| Authentication | OAuth 2.0 through a Salesforce authentication provider |
| OAuth scope | api refresh_token |
| Merge fields in HTTP body | Enabled |
Create the Salesforce authentication provider and its connected app first if the org does not already have one suitable for same-org API access. Authenticate the named principal after saving the credential. For a subscriber-created credential, add the managed-package namespace bh_3b to the credential's allowed namespaces. Grant BH Sync Admin users access to its external credential principal when using enhanced Named Credentials.
If My Domain changes or the org is refreshed into another environment, update the Named Credential URL and reauthenticate its principal.
The card detects existing packaged, namespaced and subscriber-owned fields. Existing fields are marked Already exists, are not selectable and are never modified. The selected missing fields are created together in one Metadata API request. The result identifies every created, skipped or rejected field.
After creation, use the exact field API names in the entity mapping's externalIdField, suppressField and deleteField properties as appropriate. Add the fields to page layouts separately where administrators or users need to inspect them.