Formatting of area path values

Use the areaPath helper to output area path values the way you need.

Open in playground

Template

Given the following template


## Output area path for each work item

{{#workItems}}

### {{ field 'Title' }}

- {{ areaPath }}
- {{ areaPath separator=' > ' }}
- {{ areaPath display='last' }}

{{/workItems}}

## Group by area path

{{#group 'AreaPath'}}

{{#each groups}}

### {{areaPath $key display='last'}}

{{#workItems}}
- {{ field 'Title' }}
{{/workItems}}

{{/each}}

{{/group}}

Work items

Given these work items were added

Id Title AreaPath
1 🍇Story 1 Bravo Notes\Templating
2 🍇Story 2 Bravo Notes\Templating
3 🍇Story 3 Bravo Notes\Export

Result

Bravo Notes generates the document like this:

Output area path for each work item

🍇Story 1

  • Bravo Notes\Templating
  • Bravo Notes > Templating
  • Templating

🍇Story 2

  • Bravo Notes\Templating
  • Bravo Notes > Templating
  • Templating

🍇Story 3

  • Bravo Notes\Export
  • Bravo Notes > Export
  • Export

Group by area path

Templating

  • 🍇Story 1
  • 🍇Story 2

Export

  • 🍇Story 3
Open in playground
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us