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

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


Note this returns all of the fields, not a subset based on the level of the Common Resource (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`.