Adding custom fields to the Asset View
As a Smart IT administrator, you can add custom fields to the Asset View. The recommended process to add a field to the data model in BMC CMDB. However, you can also use Remedy Action Request System forms if the custom fields are not part of the CMDB data model, but are managed by Asset Management. With either approach, complete the process by adding the fields to Smart IT.
To add custom fields to the data model in BMC CMDB
This is the recommended process to add a field to the Asset View.
- In BMC CMDB, add the custom field to the data model.
- Perform the CMDB synchornizing process, as described in Modifying views of forms in BMC Remedy IT Service Management applications.
Make sure to set the Has Asset UI option to Yes. - Restart Smart IT.
- Add the custom field in Smart IT.
Remedy Asset forms to add custom fields
For the Asset view, you can add custom fields to the specific asset type form:
Business service | Computer system | Equipment | Hardware | Network | Other | Software |
---|---|---|---|---|---|---|
AST:BusinessService | AST:ComputerSystem | AST:Equipment | AST:CDROMDrive | AST:AdminDomain | AST:Account | AST:Application |
AST:Mainframe | AST:Card | AST:Cluster | AST:Activity | AST:ApplicationInfrastructure | ||
AST:Printer | AST:Chassis | AST:CommunicationEndpoint | AST:BusinessProcess | AST:ApplicationService | ||
AST:DataBaseStorage | AST:ConnectivityCollection | AST:ConcreteCollection | AST:ApplicationSystem | |||
AST:DiskDrive | AST:ConnectivitySegment | AST:Document | AST:BIOSElement | |||
AST:FloppyDrive | AST:IPConnectivitySubnet | AST:LogicalSystemComponent | AST:DataBase | |||
AST:HardwarePackage | AST:IPEndpoint | AST:PhysicalLocation | AST:DiskPartition | |||
AST:HardwareSystemComponent | AST:IPXConnectivityNetwork | AST:Role | AST:FileSystem | |||
AST:Keyboard | AST:LANEndpoint | AST:ServiceOfferingInstance | AST:OperatingSystem | |||
AST:LocalFileSystem | AST:LNsCollection | AST:Transaction | AST:Package | |||
AST:Media | AST:LAN | AST:Patch | ||||
AST:Memory | AST:NTDomain | AST:Product | ||||
AST:Monitor | AST:NetworkPort | AST:ResourceAllocationSettingData | ||||
AST:PointingDevice | AST:ProtocolEndpoint | AST:Share | ||||
AST:Processor | AST:WAN | AST:SoftwareServer | ||||
AST:Rack | AST:SystemSoftware | |||||
AST:RemoteFileSystem | AST:VirtualSystemEnabler | |||||
AST:ResourcePool | AST:VirtualSystemSettingData | |||||
AST:SystemResource | ||||||
AST:TapeDrive | ||||||
AST:UPS |
To add custom fields to Asset forms in Remedy Developer Studio
Each type of Asset has a Type-Specific area to which you can add custom fields that are relevant to that Asset type. There is also a Generic area into which you can add custom fields that apply all assets. In the Screen Configuration, you can add custom fields to the asset view that are part of either the Generic Area or the Type-Specific Area of the Asset View of the Remedy Action Request System form.
Process overview for adding fields in Remedy Developer Studio
The following image displays an overview of the conditions for making the fields available for customization in the Asset View:
To add a custom field to the Generic Area of Asset View, perform the following tasks:
- Add the field in the AST:Attributes form.
- Add the field in the AST:BaseElement form.
- Add the field to the related asset-specific form.
- Add the custom field in Smart IT.
To add a custom field to the Type-Specific Area of Asset View, perform the following tasks:
- Add the field in the AST:Attributes form.
- Add the field to the related asset-specific form.
- Add the custom field in Smart IT.
To add a custom field to the AST:Attributes form
- Open Remedy Developer Studio in Best Practice Customization mode (the default).
- In AR System Navigator, double-click Forms under the All Objects option.
- In the Filtering Options, AST:Attribute for the form name.
- Click the form name to open the form.
From the pallet appearing on the right side of the form, select the field type from the Data Fields group.
Note
Currently, you cannot add the Diary and the Currency field types in the Data Fields group. Additionally, you cannot add the fields types of Display Fields and Composite Fields groups.
- Drag the field from the palette to the specific area of the form where you want to add the custom field.
- Modify field parameters as per the field requirements. Check the Field Properties section to set field properties such as permission etc. For more information about creating fields, see
Creating and managing fields
.
- Save the form.
The following message is displayed:You have specified an id for following fields which is outside the BMC reserved range. Do you wish to continue?
<Field name> - Click OK.
Important
When the Sandbox Dataset is enabled in the Asset Management Settings, if there is an existing record for the CI in the Sandbox Dataset, the details that are populated in the custom attribute reflects properly on AST<Class Form>/Smart IT. When there is no record for the CI in the Sandbox Dataset, the system creates a new record in the Sandbox Dataset, and the custom attribute never gets populated. This is due to the fact that the filter "ASI:SHR:All_PushToAssetAttribute_SandboxOnCreate`!" has a Push field mapping to the AST:Attributes form where the custom attribute is not included. Either you should modify the existing workflow with an additional mapping or use Match Id option in Push field action. Otherwise, a similar workflow (custom) needs to be created to push the Custom attributes.
When Sandbox Dataset is disabled in Asset Management Settings, the custom field gets reflected without any customization issues.
To add custom fields to the AST:BaseElement form
- In AR System Navigator, double-click Forms under the All Objects option.
- In the Filtering Options, enter AST:BaseElement as the form name, and click the form name to open the form.
- Right-click the form.
- Click the Add Fields from AST:Attributes option.
- In the Add Fields dialog box, select the field that you added from the list and click OK.
- Save the form.
Note
The custom fields added in the AST:BaseElement forms are not visible in the Type-Specific Area.
To add custom fields to the type-specific asset form
After you add a custom field in the AST:Attributes form, you must add it in the corresponding type-specific asset form of Remedy Action Request System. For example, to add a printer-related field, you must add the field to the AST:Printer form.
- In AR System Navigator, double click on Forms under the All Object option.
- In the Filtering Options, enter AST:Printer as the form name, and click the form name to open the form.
- Right-click the form.
- Click the Add Fields from AST:Attributes option.
The field that you have added in the AST:Attributes form, appears in the Add Fields dialog box. - Select the field and click OK.
- Save the form.
For more information on about the asset-specific forms, see Adding custom fields to your views using Smart IT.
To add the custom fields to Smart IT
After you add a custom field in the Remedy Action Request System forms, you must add the field in Smart IT.
- Log on to the Smart IT universal client as an Admin user with a fresh session.
- From the Configuration menu, choose Screen Configuration.
- Under Asset View, click Refresh Metadata.
- In Asset View options, click Type-Specific Area, to add a field in the Type-Specific Area or click Generic Area to add a field in Generic Area.
For Type-Specific Area, from the Select Asset Type list, select the asset type; for example, Printer.
Note
You must select the specific asset type that corresponds to your custom field. For example, if you have added a custom field related to printers in the AST:Printer form, you need to select Printer from the Select Asset Type list. Your added field does not appear if you select another asset type, such as Mainframe, from the Select Asset Type list.
- From the asset type list, type your custom field name in the Available Fields box, and Search.
- Click the + sign next to your custom field name to move the field to the Selected Fields section.
- Click Save.
The field configuration is updated successfully. Now the custom field becomes available for the related asset.
Troubleshooting changes that are not reflected in Smart IT
In BMC.Core:BMC_Application Class, create a custom attribute that has selection values, and run the Asset Sync UI so that the custom attribute is reflected in the AST forms. In Smart IT, refresh the metadata for Asset View, and add the custom field. In the backend form, if you remove one of the selection values, you can notice that the changes are not reflected in Smart IT. You can still see the removed value even after you refresh the metadata. In Smart IT, to reflect the changes made in the backend form, you must remove the specific custom field, add it again, and then refresh the metadata. Sometimes you might need to restart the Smart IT server.
For additional troubleshooting information, see Smart IT troubleshooting.
Where to go from here
Transferring Smart IT customizations and definitions between servers
Comments
Log in or register to comment.