Skip to main content

Configuring Templates for the Smart Detail Panel

The Detail panel of Flatplan Content Assignment stage can be configured to only show sub-content which is relevant for the template. So if the template expects sub-plannings of media assets to show the correct images, the detail panel should show the sub-tab for media assets. If the template needs sub-plannings for showing the correct child buckets, the sub-tab for them should be shown.

This configuration is done via tags in the main template configuration file. Go to ISON Repository explorer, connect to your pubserver and open the path com.priint.pubserver.comet.config.CometConfiguration/<tenant>/custom/<project>/template. Open the template configuration file for editing. If it had no tags before, it will contain <tags:tags/>.

Change this to:

<tags:tags>
  <tags:tag>ui.detail:BUCKET+TEXT(1:2)+MEDIAASSET</tags:tag>
</tags:tags>

What does ui.detail:BUCKET+TEXT(1:2)+MEDIAASSET mean? ui.detail defines the tag for the smart detail panel. The string after the : defines the sub-tabs. The panel supports

  • ui.detail:NONE​
  • ui.detail:ALL​ (default, since this is the current behavior)
  • ui.detail:BUCKET(3:5)+MEDIAASSET(0:1)+PRICE(1:1)​
  • … any combination of the possible tabs (BUCKET, MEDIAASSET, TEXT, KEYVALUE, PRICE, LINK) with minimum and maximum hints in brackets.

If there is the tag ui.detail, only sub-tabs listed in the tag are shown for the selected template, using + as delimiter. The sub-tab can show a hint to the user how many sub-plannings should be created. It is only a hint, the UI does not force its fulfillment. The sub-tab can be added without brackets. Then no hint is shown on this sub-tab.

Examples:

  • ui.detail:NONE​: no sub-tabs
  • ui.detail:ALL​: all sub-tabs
  • ui.detail:BUCKET(3:5)+MEDIAASSET(0:1)+PRICE(1:1)​: sub-tabs sub-content, media assets and price with the configured limits
  • ui.detail:BUCKET+TEXT(1:2)+MEDIAASSET: sub-tabs sub-content, text and media assets, text with the configured limits
  • ui.detail:LINK: sub-tab link