Hi David, if the substitution brings back multiple attributes that have the same set of categories then, Pi AF would populate the templatized element with multiple attributes. For the AF substitution, we would expect to see something like %AttributeCategoryName|Category1:Category2:CategoryN%.
Thanks,
Edward
I share Edward's idea. If an element has multiple categories, it would be nice to have the same amount of attributes. By using the power of templates, we will gain a lot of time.