17.2. Adding Content to a Catalog

Once you have created a catalog, you can add objects to it. An object is a type of container, in that you can upload files, folders, or any other object to it. The catalog definition determines what types of objects are allowed to be added to the catalog. Referring to the tutorial in this chapter, the WidgetCatalog.type.xml file permits the addition of objects whose type is Widget. This means that we can add widgets to the widget catalog using the   New menu. When you add a widget to the catalog, you will need to define values for the required properties (Material, Diameter, Pressure Rating and Length) that are specified for the Widget type. These properties will be searchable when you later perform a search on the catalog.

To add an object to a catalog:

  1. Select   (New) > Widget (or whatever object you are adding). If you completed the tutorial, this option is available because there is a custom widget type defined in your workspace. A dialog appears prompting you to specify the object’s properties. In this example, the New Widget dialog box appears:

    Figure 17.2:  New Widget Dialog Box

    New Widget Dialog Box

    If a specific display order for the properties is defined for the custom type, as is the case in this example, then the properties will be listed in that order. Otherwise, they will appear alphabetically by name. See Defining Properties in the Administration Guide for more details on defining custom properties.

  2. Specify the object’s properties. Required properties are marked with a red asterisk (*). Note that objects are named for you automatically. See Automatic Naming of Catalog Objects for details.

  3. Click OK to add the object to the catalog. Note that the object will not be visible in the file list window. Remember that catalogs are special containers that do not show all of their content every time you select them. You must perform a search on the catalog to display objects in it. See Searching a Catalog.


Release 18.2 - © ANSYS, Inc. All rights reserved.