conflicting attribute names in scripted attributes

Rod Widdowson rdw at steadingsoftware.com
Wed Jun 14 11:59:28 EDT 2017


> What do you do if you have a scripted attribute that has multiple data connectors as dependencies, 
> and the same attribute name is defined in each connector?

Funnily enough this resonates with my remark yesterday about ' the somewhat weird distinction between "attributes
from a dataconnector" and "attributes from a definition"'

If you want them separate then they have to have different names.  If you want the values glommed together then give them the same name.

> Define attributes for each data source and feed /those/ as dependencies into the scripted attribute?

Yup. The attribute called "foo" from dataconnector "bar" is different from the "foo" from dataconnector "toto" for as long as both "bar" and "toto" are not dependencies to the same attribute.  If they feed into the same attribute (or dataconnector) then the values get added together (for that attribute definition). 

/Rod



More information about the users mailing list