Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2690

More methods available than documented

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • None

    Description

      I am not sure if this is intended or not but as a customer reported there are way more methods available in the cmsfn templating function than we have in the documentation. In their case they needed one of the not documented ones and searched very long for it. 

      Code:
      https://git.magnolia-cms.com/projects/PLATFORM/repos/main.pub/browse/magnolia-templating/src/main/java/info/magnolia/templating/functions/TemplatingFunctions.java

      Documentation:
      https://docs.magnolia-cms.com/product-docs/6.2/Developing/Templating/Template-scripts/Templating-functions/cmsfn.html

       

      Missing examples: (there are more just to name some of them)

      • public Node inherit(Node content)
      • public Node inherit(Node content, String relPath)
      • public Node inherit(Node content, String relPath, String nodeTypes, String nodeInheritance, String propertyInheritance)
      • public boolean isInherited(Node content)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              amansell Alex Mansell
              tobias.kerschbaum Tobias Kerschbaum
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: