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.
1 of 1 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 .