Marking fields used in Integrations
Another way to mark fields used in Integrations.
2 years back I conjured up this approach to prevent deletion of fields used in integrations.
I still needed a better way to flag these fields. Description field is pretty good, but wanted to add the picklist value “Integrated” to the field usage
picklist.
Turns out that you can only do this via the metadata api, so this is how to do it
- create a file named package.xml with the following content
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>FieldBusinessStatus</members>
<name>StandardValueSet</name>
</types>
<version>54.0</version>
</Package>
- login to workbench.developerforce.com and go to migration - retrieve
- upload that package.xml file
- click ‘download zip file’
this downloads the existing values for Field Usage picklist, in case someone has customized it before you!
- Unzip the file
- Edit the file...