Skip to main content
Version: 4.61.0

Metadata Fields

This flow generates an Excel file reporting the following information about the (top-level) metadata fields of RECORD and CONTAINER objects present in the Content Store:

  • Kind: Object type: RECORD or CONTAINER.
  • Content type system name: Content type (<sourceOrTarget>.contentType.systemName).
  • Content type display name: Content type (<sourceOrTarget>.contentType.displayName).
  • Total Objects: Total number of objects of that kind and content type.
  • Field Name: Name of a metadata field present in those objects.
  • Field Path: Full path of the field in the Content Store.
  • Field Occurs: Number of objects that contain the field.
  • Field Filled: Number of objects where the field is set to a value.
  • Field Empty: Number of objects where the field is empty.
  • Max Length: Longest string length of values for the field (0 if the field is not a string).
  • Sample objectId: _id of an object containing the field.
  • Sample hierarchy: Hierarchy of the object in the Content Store.
  • Sample Value: Example value for the field from the object with ObjectId.

For example:

KindContent type system nameContent type display nameTotal objectsField nameField pathField occursField filledField emptyMax lengthSample objectIdSample Value
RECORDFileFile40mappingsource.properties.mapping40400078f888fef625a261...[object Object]
RECORDFileFile40rootIdsource.properties.rootId404003678f888fef625a261...ec25fead-229c-4cac-b279-02ad115993f2
RECORDFileFile40rootHierarchysource.properties.rootHierarchy404004978f888fef625a261.../sites/demo-site/Shared%20Documents
CONTAINERFolderFolder4mappingsource.properties.mapping440039e578b6acabb210...[object Object]
CONTAINERFolderFolder4rootIdsource.properties.rootId4403639e578b6acabb210...ec25fead-229c-4cac-b279-02ad115993f2
CONTAINERFolderFolder4rootHierarchysource.properties.rootHierarchy4404939e578b6acabb210.../sites/demo-site/Shared%20Documents

Excluded Property Locations

By default, all properties under <sourceOrTarget>.properties are listed. Properties can be excluded using the excludedPropertiesPaths setting.

Example​

Without excludedPropertiesPaths set (empty array):

KindContent type system nameContent type display nameTotal objectsField nameField pathField occursField filledField emptyMax lengthSample objectIdSample Value
RECORDFileFile40mappingsource.properties.mapping40400078f888fef625a261...[object Object]
RECORDFileFile40rootIdsource.properties.rootId404003678f888fef625a261...ec25fead-229c-4cac-b279-02ad115993f2

With excludedPropertiesPaths set to ["source.properties.mapping"]

KindContent type system nameContent type display nameTotal objectsField nameField pathField occursField filledField emptyMax lengthSample objectIdSample Value
RECORDFileFile40rootIdsource.properties.rootId404003678f888fef625a261...ec25fead-229c-4cac-b279-02ad115993f2

Settings​

mongoConnection​

The Mongo connection string including the database name to connect to.

reportPath​

Path to save the Excel file containing the report to.

reportName​

Name of the Excel file containing the report.

sheetName​

Name of the sheet for the report in the Excel file.

excludedPropertiesPaths​

Optional list of property paths to excluded in the report.

sourceOrTarget​

Specifies whether the metadata fields are extracted from source or target.

Allowed values:​

  • source
  • target