I went thru AF SDK Couse,
it was really excelent, but i cant figure out how to make an CDR (Custom Data Reference) for assign Element Category.
INPUT: AFElement (element name to set category)
AFAttribute condition value (0 or 1)
AFElementCategory to set for element (string)
OUTPUT: SET (NEW or EXISTING) category to INPUT(element)
Perhaps a Target Attribute to say it works fine or not.
Thanks in Advance