Create Custom Components

To support a new technology, create a custom component. You can create a custom component using REST Web Services. You can create an entry that lists all instances of your component in the Inventory menu and create a Context page by creating a custom component. Use a component to create a REST endpoint, or to create attributes that are shared between metric families.
capm250
HID_Create_Custom_Components
To support a new technology, create a custom component. You can create a custom component using REST Web Services. You can create an entry that lists all instances of your component in the Inventory menu and create a Context page by creating a custom component. Use a component to create a REST endpoint, or to create attributes that are shared between metric families.
You cannot extend factory components.
To avoid possible data loss, back up the certification directory before you create or update a custom component.
Create a Component XML Template
Use an existing component to create an XML template.
To retrieve a list of existing components, go to the following REST URL:
http://
da_hostname
:8581/typecatalog/components
Follow these steps:
  1. Set up a REST client with a connection to the data aggregator server.
  2. Select a component that is similar to the component that you require.
  3. Enter the following URL to retrieve the template component:
    http://
    da_hostname
    :8581/typecatalog/components/
    component_name
    component_name
    specifies the name of the template component.
  4. Select
    GET
    in the Method tab, and run the method.
    The REST client returns the XML information for the component.
    Use the XML as a template to create the custom component.
Edit the Component XML
To apply the necessary changes to the component, edit the XML file (the component XML). Make changes to the
<ItemSyncDefinition>
section to create an entry that lists all instances of your component in the Inventory menu and to create a Context page for your component.
For more information about the XML structure, see Component XML Structure.
Import the Component XML
To import the component, use a REST client.
Follow these steps:
  1. Specify http://
    da_hostname
    :8581/typecatalog/components as the URL.
  2. On the Method tab, Select
    POST
    for a new custom component, or select
    PUT
    to update a component.
  3. In the Body settings, set
    application/xml
    as the
    Body Content-type
    .
    Failing to set the Content-type results in a 415 error.
  4. Copy the component XML into the Body tab.
  5. Run the method.
    Your custom component is imported. If no errors occur, the Status field in the HTTP Response section displays the following result:
    HTTP/1.1 200 OK