Author Topic: RTF Template and Tagged Notes  (Read 687 times)

A. Engle

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
RTF Template and Tagged Notes
« on: December 13, 2013, 07:53:48 am »
I have found plenty of documentation on getting Tagged Values into RTF templates, but I cannot find any information on how to get Tagged Notes data into an RTF template.

Yes, I can spit out ALL of the data from ALL of the Notes type of tagged values for each element, but I need to be able to get the data for a specific Tagged Note of an element.

How do I do this?


A. Engle

Helmut Ortmann

  • EA User
  • **
  • Posts: 924
  • Karma: +39/-1
    • View Profile
Re: RTF Template and Tagged Notes
« Reply #1 on: December 14, 2013, 01:33:55 am »

you can do this by fragment scripts together with fragment templates.

Just call a fragment template inside the rtf template. This fragment template calls a fragment script with the element-id. The fragment script than decides what to output (your tagged value).

The example model contains an example fragment script and the usage of fragment templates.

- Fragment script:  docProperties
- Fragment template: docProperties
- Template Main: Use docPrpperties


Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)