Exporting fileds script error

Discussion created by sherab4 on Mar 6, 2017
Latest reply on Mar 6, 2017 by sherab4

I have a script the exports container fields (see attached screen capture) for the layout Correspondence Log. Some of the container fields in the older records are empty, and I get an error message (see attached screen capture), I think because it tries to export the empty fields. Is there a step to add to the script that can bypass these records with empty container fields.