Creating a custom platform- Devices and the custom entity-Printer

Let us use the Create new entity schema option and create an entirely new platform and entity for managing the physical assets or devices in the enterprise. You can create a new platform, Devices and create multiple entities that are based on the platform as Printer, Scanner, Monitors, Keyboard and so on. You can then create asset types based on each of the entities and use the asset types to import the data for the entities.

You must use the Create new entity schema option from the Schema Manager view to create a new platform and an entity.

To create a custom platform- Devices and the custom entity- Printer

  1. Go to Settings > Schema Manager.

  2. Select Create new entity schema to launch the Create New Entity Schema wizard.

  3. In the Select or Create New Platform panel, select Create a new platform.

    In the Name box, type Devices.

    Enter the name of the new platform. This platform is used to create the header information in the CSV file.

    See Creating a CSV file .

    In the Display Name box, type Devices and click Next.

  4. In the Specify Entity Details panel, in the Name box, type Printer as the name of the entity

    In the Display Name box, type Printer and click Next.

    The display name of the entity appears in the evaluation report that is generated for the collected data of the asset.

  5. In the Add Fields panel, click Add to add new fields for the entity.

  6. In the Create New Field dialog box, create fields with the following details:

    Name:

    Printer Name

    String data type

    Mark as primary field

    Name:

    Printer Type

    String data type

    Name:

    Is double sided?

    Boolean data type

    In the Add Fields panel, click Next.

  7. In the Specify Entity Name Fields panel, PrinterName from the Available fields list and add them to the Selected fields list.

    Click Next.

  8. In the Specify References panel, click Next.

    Let us not specify any field from the existing entities as the reference fields for <Devices><Printer>.

    You can alternatively specify a field from the existing entity and establish a relation between the two fields. In this case, the field from the parent entity becomes the primary asset type if you want to import the assets from the Printer asset type.

    See Primary and secondary assets.

    See About referenced entity fields.

  9. In the Summary panel, review the details of the created entity and click Finish.

  10. Close the Control Compliance Suite Console.

  11. Copy the XMLs at the following paths:

    • <installdir>\Symantec\CCS\Reporting and Analytics

    • <installdir>\Symantec\CCS\Reporting and Analytics\Application Server

    • <installdir>\Symantec\CCS\Reporting and Analytics\DPS

  12. Go to Start > Run, type services.msc, restart the Symantec Application Server Service and re-launch the Console after two minutes.