Get Custom Attributes
Custom attributes are stored as part of an item.
- Connect to the configuration web service.
- Specify the unique identifier of the required item.
- The user must have read permissions to the item.
Code Sample
# Get the item.
$item = $xia.GET_Item(1234, 0);
# Display the custom attributes.
foreach ($customAttribute in $item.CustomAttributes.CustomAttribute)
{
Write-Host $customAttribute.DisplayName;
Write-Host $customAttribute.Identifier;
Write-Host $customAttribute.DisplayValue;
}