Grouping

Multiple itemsPlanned can be grouped by a criterion, created by a XSL template, defined in the process flow preference itemsPlannedLocalExtraGroupingTemplate. The template processes the extra fields of a task's itemPlanned.

itemsPlannedLocalExtraGroupingTemplate
Type Default Value Example Android HTML 5
XML Undefined See below + -
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
        <xsl:output method="text" omit-xml-declaration="yes" 
        indent="no" />
        <xsl:template match="/">
             <xsl:choose>
                <xsl:when test="//@Level1">
                    <xsl:value-of select="//@Level1" />
                    <xsl:text> - </xsl:text>
                </xsl:when>
             </xsl:choose>
             <xsl:choose>
                    <xsl:when test="//@Level2">
                         <xsl:value-of select="//@Level2" />
                         <xsl:text> - </xsl:text>
                    </xsl:when>
             </xsl:choose>
         </xsl:template>
</xsl:stylesheet>

If the template creates the same string for multiple itemsPlanned, then all of these entries are visually grouped within the list of itemsPlanned, each group headed by this string as group title.

results matching ""

    No results matching ""