Displaying only mini portlets in the home page
The customization framework provides a registry mechanism to register the custom portlets
that you added or override the application-provided portlets.
The registry mechanism reads the portlet configuration from the /extensions/override-static-assets/portlets/config/isf-persona-config.json file.
By default, both main portlets and mini portlets are displayed in the home page. To display only
mini portlets, configure the following properties of the
/extensions/override-static-assets/portlets/config/isf-persona-config.json file.
showOnlyMiniPortlets- Displays only the mini portlets for a persona. The default value is set to false.numberOfMiniPortletsPerRow- Optional. By default, in the mini portlet card, three mini portlets are present on each row. For the desktop view, you can set the value to 4.
For example, the following configuration displays four mini portlets in each row for the
Order_Fulfillment persona.[
{
"personaName": "Order_Fulfillment",
"personaIconClass": "app-icon-order_fulfill_20",
"showOnlyMiniPortlets": true,
"numberOfMiniPortletsPerRow" : 4,
"portlets": []
}
]