Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4077

Fill in custom values in a newly created document

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Outdated
    • r2.12.07
    • None
    • addon-cms-prototype
    • None

    Description

      In 2.12.07 it is possible to fill in some property values dynamically when creating a new document. For example, the current date can be automatically filled in by adding a property-path -> value mapping in the hippostd:modify property of the query template. However, this mechanism only supports a limited set of predefined variables, such as $name, $now, $holder.

      What I was looking for for our project is to fill in the "title" property of a document with the label of the document. I can't use $name, because that is the node name of the document, and not the translated label. So maybe a new variable $translated-name (or smt similar) could be added to the set of predefined variables?

      To go even further, I would like to have a mechanism where I can plugin my own variable resolver. For our project we might need this later to fill in custom user-related values.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dennis dam Dennis Dam (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: