From the 'Custom Fields' table view, one can go to 'options' and then 'record info'. There is an option to download a script to regenerate this data.
In order to do this, I need to write a script on the back end to import the data and copy/paste the downloaded script in order to apply it.
The issue I am hitting is the System prevents me from automatically importing on custom fields. When I create a runnable class on 'Custom fields' it says 'Unauthorized to modify custom fields'.
Is there any way to get past this limitation? All I am trying to do is export custom fields from one environment and import them into another.
Images below here in higher resolution: https://imgur.com/a/vKJ0Us5
