Book a Demo

Author Topic: Access LinkedFile by transformation template  (Read 4483 times)

Kenny

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Access LinkedFile by transformation template
« on: July 27, 2016, 08:41:54 pm »
Hi,
I am writing a transformation template, where I want to convert the linked files (Class Property->Related->Files) of a class into a tag of the target class. I haven't found a way to access the linked files with the code generation template macro. A set of macros I found is "Linked File Field Substitution Macros" http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/standard_uml_models/file_field_substitution_macros.html

but since the files are in a list, I need to write a line that is something like %list="LinkedFile"%. But there is no list macro called "LinkedFile".
Can anyone help me to do this?

Thanks.
/k