Skip to main content
Outside service Partner
Hitachi Vantara Knowledge

Managing content properties for a content class


You can add, modify, and delete content properties for a content class at any time. You can also test the properties against XML that you supply. Additionally, you can export the properties to a content property file.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Adding, modifying, and deleting content properties


To add, modify, or delete content properties for a content class, on the Search page:

1.In the list of content classes in the Settings panel, click on the name of the content class for which you want to add, modify, or delete content properties.

2.Take one or more of these actions:

oTo add content properties, take one or more of these actions:

Add one or more properties individually (see Adding content properties individually)

Extract one or more properties from XML that you supply (see Extracting content properties from sample XML)

Import properties from a content property file (see Importing content properties from a content property file)

A row for each new content property appears in the list of content properties for the content class. The row is highlighted in green.

To remove a new row, click on the delete control ( DeleteControl.png ) for the row.

oTo modify a content property, in the row for the property, make the changes you want.

oTo delete an existing content property, click on the delete control ( DeleteControl.png ) for the row containing the property.

The row turns red. To undo the deletion, click again on the delete control.

3.Optionally, test or export all the listed content properties. For instructions for these actions, see Testing content properties and Exporting content properties.

4.Click on Update Settings.

If you also typed a new name for the content class in the Name field, clicking on Update Settings changes the content class name.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Adding content properties individually


To add an individual content property to the content property list for a content class:

1.Above the content property list, click on Add.

2.In the new row that appears in the content properties list, fill in the definition for the new content property.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Extracting content properties from sample XML


To extract content properties from sample XML and add them to the content property list for a content class:

1.In the Sample Custom Metadata field, type or paste the well-formed XML from which you want to extract properties.

2.Above the content property list, click on Extract.

The Extract Content Properties window opens. The window lists all the content properties HCP was able to extract from the sample XML.

3.Select each content property you want to add to the content class.

To select all the listed content properties, click in the checkbox at the top of the list. To deselect all the properties after selecting all, click in the checkbox again.

4.Click on Add Selected.

A row for each content property you selected appears in the list of content properties for the content class.

5.Optionally, modify the definitions of the new content properties.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Importing content properties from a content property file


To import content properties from a content property file and add them to the content property list for a content class:

1.Above the content property list, click on Import.

2.In the Import Content Properties window, click on Browse. Then select the content property file you want.

3.Click on Import.

A row for each content property defined in the content property file appears in the list of content properties for the content class.

4.Optionally, modify the definitions of the new content properties.

For more information on content property files, see Content property files.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Testing content properties


You can test the definitions of the content properties for a content class at any time. You do this by having HCP extract content property values from sample XML that you supply. The test applies to all the content properties in the content property list, including those that have not yet been committed.

To test the definitions of the content properties in the content property list for a content class, on the Search page:

1.In the list of content classes, click on the name of the content class with the content properties you want to test.

2.In the Sample Custom Metadata field in the Settings panel, type or paste the well-formed XML you want to use for the test.

3.Above the content property list, click on Test.

HCP extracts the values it can find for the content properties in the content property list. The extracted values appear in the Test Value column in the content property list.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Exporting content properties


You can export the definitions of the content properties for a content class to a content property file at any time. The resulting file includes the definition of each property in the list, including those that have not yet been committed.

To export the definitions of the content properties in the content property list for a content class to a content property file, on the Search page:

1.In the list of content classes, click on the name of the content class with the content properties you want to export.

2.Above the content property list in the Settings panel, click on Export.

3.When prompted, save the content property file to the location of your choice.

For more information on content property files, see Content property files.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.