Skip to main content
Version: Latest (4.60.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. If the field is a nested object, the value will display as [object Object].

For example:

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

The field that the metadata items are extracted from depends on the source:

SourceProperty
Alfrescosource.properties.succinctProperties
OpenTextsource.properties.categories.<subcategory>
Any other sourcesource.properties

Additional Property Locations

In addition to the default metadata fields, users can optionally include metadata fields from additional objects located under <sourceOrTarget>.properties.

This can be configured using the additionalPropertiesPaths setting.

Only objects located under <sourceOrTarget>.properties are supported.

When additionalPropertiesPaths is configured with one or more paths, only the metadata fields found under the specified paths are included in the report. In this case, the default metadata fields are not included.

If additionalPropertiesPaths is an empty array, only the default metadata fields are included.

Example

- Without additionalPropertiesPaths set (empty array):

The report includes only the default metadata fields, such as:

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

- With additionalPropertiesPaths set to

["source.properties.objectProperties", "source.properties.test"]

The report will include only fields located under the specified paths. Default metadata fields are not included.

KindContent type system nameContent type display nameTotal objectsField nameField pathField occursField filledField emptyMax lengthSample objectIdSample Value
RECORDFileFile40objectProperties_namesource.properties.objectProperties.name40400178f888fef625a261...file.pdf
RECORDFileFile40test_Customer Departmentsource.properties.test.Customer Department40400178f888fef625a261...65

Settings

mongoConnection

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

reportPath

Path to save the Excel file containing the report to.

sheetName

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

additionalPropertiesPaths

Optional list of additional property paths to include in the report.

sourceOrTarget

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

Allowed values:

  • source

  • target