Configure IP page's Version selector
Overview
You can customize the properties displayed in the IP page's Version selector to show property values alongside the standard version information so that users can more easily find their versions of interest.
Considerations
-
If no configuration is specified, then the legacy version selector is displayed.
-
If a heading is not specified for a property column, then the property name is used.
-
If more than one property set is defined in the configuration, then only the first is used.
-
If a specified property name in the config has not been added to the property set, then that property specification is ignored. In addition, every property that is specified must have a name in the configuration or it will be ignored.
-
Search input is not supported across property values. Search works the same as the legacy Version selector.
-
When creating properties, ensure that the target is the IPV.
Configure custom property values
As an administrator, you can customize properties displayed in the Version selector.
-
Create the
/etc/mdx/piweb-custom/ipv-selector.jsonfile. -
To make the customization take effect, run Configurator. For more details, see Run the IPLM Web Configurator.
To make any updates to the file, edit the ipv-selector.json file and re-run Configurator.
Configuration options
The following options are used during the configuration.
| Filter Option | Description |
|---|---|
| property_set |
The name of the property set to display. |
| displayed_properties |
The number of properties displayed before scrolling is needed. |
| name |
The name of the property displayed in the column |
| heading | Enter a custom name that is displayed in the column header for the property. |
JSON example
[
{
"name": "ipv_selector",
"type": "MdxIpvSelector",
"description": "JSON used to configure the IP Version selector",
"builtin_properties": {
"property_sets": [
{
"property_set": "SomePropertySet",
"displayed_properties": 2,
"property_columns": [
{
"name": "LifecycleProperty",
"heading": "IP lifecycle"
},
{
"name": "SomeProperty"
},
{
"name": "AnotherProperty"
}
]
}
]
}
}
]