This section introduces how to use a Qapp to assign values to the properties of a device in the Detail Details pane. A new Qapp will be created to populate the Serial Number properties.
3.Double-click the Canvas node, keep the default settings for the Device Queue node.
4.In the Device Queue node, keep the default settings.
5.Extend a Device (this) node from the Device Queue node, and keep the default options.
6.Extend a CLI node from the this node.
7.At the Command1 node, enter the show version command in the Command field, and select show version (Cisco IOS Switch,Cisco Router) from the drop-down menu.
9.Extend a Basic Output node from the Table1 node. At the Output node, you can set conditions to trigger the defined output. You can also use the default condition "True", which means "if the serial number exists".
10. Extend a Device Property action node from the Output node.
11. Define the Device Property1 node as follows:
1)Keep the default $_device option in the Device field.
2)Click Add in the Device Property pane. The application property is displayed by default. Point to the application cell and select sn from the drop-down list (sn means the serial number).
12. Save and run the Qapp on a map with Cisco IOS switches included. Once the Qapp execution is finished, double-click a device to view whether the Serial Number field is populated in the Device Details pane.