desk-mapping

The desk-mapping section of a cue-print processor determines which CUE Print newsroom, product and desk/subdesk a content item is sent to, based on its Content Store home section.

    desk-mapping:
      - newsrooms:
          tomorrow-today: Tomorrow
          living-tomorrow: Living
        products:
          tomorrow-today: TT
          living-tomorrow: Living
        desks:
          ece_frontpage:
            desk: Home
            layout: Frontpage
          news:
            desk: News
            layout: News
          politics:
            desk: News
            subdesk: Politics
            layout: News

The desk-mapping section contains an array, each element of which contains the following entries:

newsrooms (required)

One or more mappings from Content Store publication names (specified as YAML keys) to CUE Print newsroom names (specified as values). In the example shown above, all content items belonging to the Content Store tomorrow-today publication will be directed to the CUE Print Tomorrow newsroom, and all content items belonging to the Content Store living-tomorrow publication will be directed to the CUE Print Living newsroom.

content (required)

One or more mappings from Content Store publication names (specified as YAML keys) to CUE Print product names (specified as values). In the example shown above, all content items belonging to the Content Store tomorrow-today publication will be directed to the CUE Print TT product, and all content items belonging to the Content Store living-tomorrow publication will be directed to the CUE Print Living product.

desks (required)

One or more mappings from Content Store section unique names to CUE Print desk names, layout names and optionally subdesk names. The mappings take advantage of standard Content Store section inheritance rules. The first entry in the above example defines a default mapping for all the sections in a Content Store publication. Content items that belong to the root section (ece_frontpage) and all its subsections will be assigned to the CUE Print Home desk and given a Frontpage layout. This mapping can, however, be overridden for specific subsections. In the above example such overrides have been created for the news and politics sections.

These override mappings are in turn inheritable and can also be overridden. Content items that belong to the news section and all its subsections will be assigned to the CUE Print News desk and given a News layout. Content items that belong to the politics section and all its subsections will be assigned to the Politics subdesk of the News desk and given a News layout in CUE Print.

If the desk mappings are the same for all publications, then the array may have only one entry (as in the example shown above). If, however different groups of publications require different mappings, then multiple entries will be needed.