Report on Catalogs

The following types of Catalog objects are present in Mart:

  • Mart
  • Library
  • Model
  • Version

Follow these steps:

  1. Edit the reports.xml file and include the report definition for the Catalog objects and their properties that you want to report on.
  2. Edit the reports_schema.xml file and include the schema definition for the report. You can also generate the schema definition using a tool of your choice and include it in the reports_schema.xml file.

    The following report definition script reports on the Catalog table that includes Model and Versions:

    <report>
    
        <Name>Library Model Version</Name>
    
            <Catalog_Type>
    
                <Name>Model</Name>
    
                <Report_Output>
    
                    <Property>
    
                        <Type>Catalog_Name</Type>
    
                        <Type>Catalog_Path</Type>
    
                    </Property>
    
                </Report_Output>
    
                <Catalog_Type>
    
                    <Name>Version</Name>
    
                    <Report_Output>
    
                        <Property>
    
                            <Type>Catalog_Name</Type>
    
                        </Property>
    
                    </Report_Output>
    
                </Catalog_Type>
    
           </Catalog_Type>
    
    </report>
    

The list of Type tags or valid column values are listed below:

Column Name

Description

Id

Unique identifier for the catalog

Name

Name of the catalog item

Type

Type of the catalog

Container_Id

Owner of the catalog item

Catalog_Name

Name of the catalog item

Catalog_Path

Complete path for the catalog item not including the name of the catalog item in context

Catalog_FullPath

Complete path for the catalog item including the name of the catalog item in context

Catalog_Container

Name of the owner of the catalog item

Description

Description of the catalog

CreatedOn

Date and time identifying the catalog creation

UpdatedOn

Date and time identifying the catalog latest update

User_Id

User identifier responsible for creating the catalog item

LongId

Identifier for the catalog

Version

Version number for the catalog item