VDRs - How to Retrieve a List of All Available Fields in the Custom Javascript

Within the JavaScript of a VDR, get a list of all of the fields in the object definition by calling:

Object.keys(transformedObject)

Note this returns all of the fields, not a subset based on the level of the VDR (e.g. Organization or instance level).

If remove unmapped fields is set to true, unmapped fields will not be present in the `transformedObject` and thus, not returned in the list when calling `Object.keys`.