Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Displaying Demand Workbench in Portfolio Planning Workspace – Bubble Chart Not Showing Demands

ShubhamR0335370
Tera Contributor

Hi Everyone,

 

I have a requirement to display the **Demand Workbench within Portfolio Planning Workspace. As an approach, I created a custom page in Workspace and used the iFrame component to load the Demand Workbench using the following URL:

 

/$demand_workbench.do?sysparm_workbench_id=e86095b3c30031009a08d27af3d3ae8e&sysparm_fixed_query=sys_class_name%3Ddmn_demand&sysparm_query=state%3D-4&sysparm_use_polaris=false

ShubhamR0335370_0-1788776931396.png

 

 

ShubhamR0335370_0-1788777036249.png

 

 

 

 

The Demand Workbench loads successfully within the Workspace page, and I can also see the Demand list populated with the expected records.
However, the Bubble Chart is displayed as empty. The demands are not being plotted as bubbles even though the corresponding Demand records are visible in the list. I checked the implementation and found that the Bubble Chart in the Demand Workbench is associated with the "Demand Bubble Chart" Service Portal widget.

 

 

Are there any additional parameters, page configuration, or Workbench context that needs to be passed when loading the Demand Workbench through an iframe in Workspace for the Bubble Chart to populate correctly? Has anyone successfully embedded the Demand Workbench in Portfolio Planning Workspace using an iframe and managed to get the Bubble Chart to display the demands?

 

 

Thanks in advance!

1 REPLY 1

sachinvic
Kilo Guru

@ShubhamR0335370 

Hi,

Since the Demand Workbench is loading and the demand list is populated, the iframe itself appears to be working. The first thing to check is the bubble chart configuration and the values used for its X, Y, and Z axes.

Please check:

  1. Navigate to All > Project Administration > Settings > Workbench Config - Demand and open the Demand Workbench configuration.
  2. Check a few demands that are appearing in the list and confirm that those fields have valid values. For the OOB configuration, the bubble chart uses the demand Risk, Value and Size scores.
  3. Also verify that the demand meets the criteria used by the Workbench. If the records are visible in the list but the required score fields are empty, the chart can remain blank.
  4. Since the standalone Demand Workbench works, compare its Bubble Chart configuration with the configuration being used when it is loaded inside Portfolio Planning Workspace.

Check the Bubble Chart fields and their values first before changing the iframe URL or adding additional parameters. If those values are populated and the chart is still empty, then the next step would be to trace the Workspace/iframe configuration and compare it with the OOB Demand Workbench.