Page tree
Skip to end of metadata
Go to start of metadata

Score models are not only for page components or templates. They can also be used and assigned to contents.

Score models on content apps

  • Decoupled from rendering layouts/templates
  • One score model applies to multiple components/pages
  • Focus on the content consumption instead of element interactions


Integrate score models into detail form


/my-module/decorations/target-module/apps/app-name.yaml
subApps:
  detail:
    editor:
      form:
        tabs:
          - !include:/magnolia-recommender/dialogs/scoreModel.yaml

Integrate score models into template script


<a class="yourButton" ${scorefn.getComponentScoreModelMetaTag("your node id", 'your node workspace')}}>...


  • No labels