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!

3 REPLIES 3

sachinvic
Mega 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.

Hi @sachinvic,
 
please Refer Below Snap shots 
from Demand Workbech (All ->Demand->Demads->Workbench)

ShubhamR0335370_0-1788842710588.png

From the Workspace,

ShubhamR0335370_1-1788843192664.png


Also, how can we compare how the standalone Demand Workbench works with the configuration being used when it is loaded inside Portfolio Planning Workspace?

 

Hi Shubham,

Yes, the standalone Demand Workbench is a good baseline for comparison. Since the demand list is loading in the Workspace but the bubble chart is empty, please compare the Demand Workbench configuration and context between the standalone page and the iframe version.

 

In particular, check the Workbench configuration, filters/query, and the demand fields used by the bubble chart. If the same demands and configuration work correctly in the standalone Workbench but not through the iframe, that would point more toward the iframe/workspace context rather than the demand data itself.

 

Also, since Portfolio Planning Workspace has its own demand experience in the current Australia release, it would be worth confirming that the iframe approach is supported for the Demand Workbench rather than relying on the standalone page behavior.

 

FYR: https://www.servicenow.com/docs/r/it-business-management/portfolio-planning/demand-workspace-ppw.htm...