Found a work around : Defined attribute in EF template e.g. Tagname and use substitution parameters to get value ('.\Elements[.]|AttributeTagName'). Used %@Attribute% in the naming pattern to fix it. I can reference element using %element% in naming pattern but due to restriction of "|" symbol in naming pattern I can't use Attribute name.
Please suggest if there is any direct method to achieve the same.
I think you have to use the workaround you suggested.
2 of 2 people found this helpful
Could you use the same syntax that you used for the EF attribute configuration in the Naming Pattern field: %@.\Elements[.]|AttributeTagName%. I set up a quick example and this works for me (AF 2018 SP1).
Attributes on the test element:
EF Template config; note the first substitution parameter in the naming pattern:
After triggering a few EFs to test, I see the value of the TagName attribute in the EF name:
Please let us know if this is what you are after or if there is some other roadblock.
Thank you for above example. It worked really well .
It is really helpful to me,
Now I just want to show the Element's some alphabets like as string builder, could we use that into naming pattern of event frame templates?
Like as below,
Element Name:- DEPOSITION-01
I want to show "DEP-01".