IBM Support

How to use the Webservices Policy from Netcool Impact to JAZZSM Dashboard

Technical Blog Post


Abstract

How to use the Webservices Policy from Netcool Impact to JAZZSM Dashboard

Body

In response to a question asked by Bheemanagouda about the video

Using Impact UI data to Integrate with Topology Widget in JazzSM Dashboard


How to use the webservices policy from Netcool Impact to JAZZSM Dashboard,
that would be great help from your side if i got that one.

This answer came from Yasser with Netcool Impact development.

To get webservice policy into JazzSM Dash
1) Create the WebService policy as normal.
2) Create an Array Of Impact Object variable in the policy and feed it with the data you want, ie
Weather = {};
obj =NewObject();
obj.city = "MyCity";

obj2=NewObject();
obj2.city="MySecondCity";

Weather = {obj,obj2};

 

3) Create an output parameter for Weather to expose in the DASH
4) Create a DASH page for that output parameter
And you should be able to view the weather info in the table widget.

More from Yasser on this topic

 

To create an output parameter for Weather object 
1) Open the policy
2) Click "Configure User Parameters" button to open the configuration page
3) In the configuration click "New Output Parameter:"
4) In the popup window:
Enter:
Name: Weather
Policy Variable Name: Weather
Format: Array Of Impact Object
Schema Definition: it will become required, click on the button to open the schema definition configuration page.
In my policy above, I have only one field which is city in the objects.
You will need to create an entry for every field in the objects.
5) Save save and close all the configuration pages.
The output parameter should be available to the UI Data Provider after default max of 5 minutes.
Then you can create the page.
 

 

[{"Business Unit":{"code":"BU050","label":"BU NOT IDENTIFIED"},"Product":{"code":"SSHPN2","label":"Tivoli"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

UID

ibm11276882