Skip to main content

Where report-to-list mappings live

Two places, one switch​

Report-to-list mappings can be stored in either of two places. Only one is live at a time, and a single switch decides which.

SourceEdited inWho can edit
Custom MetadataSalesforce SetupA Salesforce administrator
Custom SettingThe EasyCRM portal's List Mappings tabA portal Super Admin

The switch​

Setup → Custom Settings → FrontSpin Report List Control → Manage

One tick box: Use Custom Setting.

StateThe live source is
Unticked (the default)Custom Metadata, in Setup
TickedThe Custom Setting, edited in the portal

The switch defaults to off and fails to off, so its mere existence changes nothing until somebody deliberately ticks it.

Which to choose​

Choose Setup whenChoose the portal when
Mappings change rarelyMappings change often
Only Salesforce admins should change themPortal admins should manage their own
You want them deployed between orgsYou want changes to take effect without a deploy

Custom Metadata travels with a deployment; a Custom Setting does not. That is the real trade-off: repeatability versus immediacy.

The trap​

Editing the source that is not switched on changes nothing, and gives no warning.

If somebody adds a mapping in the portal while the switch is off, the portal shows it correctly, the scheduled job never sees it, and nothing anywhere reports a problem.

So when a new mapping has no effect, check the switch before checking anything else.

Only the source differs​

Both sources are turned into the same shape before anything looks at them, so validation, error messages and behaviour are identical either way. Nothing else about the sync changes.

What goes wrong​

SymptomCause
A new mapping does nothingIt was added to the source that is not switched on.
Mappings vanished after switchingThey are still there, in the other source. Switch back.
Setup and the portal disagreeExpected. They are two separate stores; only one is live.

Where this fits​

The portal end is List Mappings. What a mapping does is Report to List.