jeudi 28 juillet 2016

Enterprise Architect document template conditions like `if` and `else´

I'm working on my first Enterprise Architect custom document template to export our use cases considering the company design guidelines. Unfortunately, I am not able to print data based on certain conditions. E. g. hide fields with specific values or change their layout.

In my example or screenshot below I would like to hide {ElemScenario.Type} if the value is Basic Path, in example something like (I highlighted the position red):

if ({ElemScenario.Type} != "Basic Path") {
    {ElemScenario.Type}
}

enter image description here

How can I change the document template in Enterprise Architect with certain conditions? Is it even possible?

Aucun commentaire:

Enregistrer un commentaire