Package net.pricefx.server.dto.calculation.dashboard


package net.pricefx.server.dto.calculation.dashboard
Embedding one dashboard in another, so that the embedded one reacts to events.

A dashboard logic can show another dashboard as one of its portlets. Clicking a result in one portlet fires an event, and the event changes the inputs of the embedded dashboard. The embedded dashboard can show in place, or open in a new tab or a modal window. It can also open in the side panel of a document such as a Quote.

Entry point: PublicGroovyAPI.dashboard(String). The example embeds a product dashboard and passes it a customer.


 return api.dashboard("ProductDetails")
         .setParam("Customer Id", "CD-00067")
         .showEmbedded()
 

Reference

  • DashboardApi configures where an embedded dashboard shows, and on which events it recalculates.