Submitted by jimspoon on 2016/01/04 16:26
Is it possible to auto-assign the value of a parent field based on the value of any child field?  That is, if I have a parent field "Animals" with child fields "Alligators", "Bears", and "Crocodiles", all yes/no fields, is it easy to set it up so that "Animals" will also be checked if any of those child fields is checked for a particular item?  For example, if for Item "Alfred" the child field "Alligator" is checked, the parent field "Animal" will also be checked?

Comments

I am also very interested in achieving similar functionality. Do we need to do it with VBScript, I remember reading something along those lines in the documentation.

You got my very confused once you added Alfred into the equation.  Is Alfred an alligator connoisseur ?  Or is Alfred the alligators parent and therefore also an alligator?

Currently, field hierarchy is solely used for convenience, as an organisation tool. It is not used by IQ in any other way.
So, no, it cannot be done based on field hierarchy. 
 
You can however use auto-assign rules to set Animals when Alligators is set. As long as your list of sub-fields of Animals is not too long and does not change too often, this is a workable solution.
 
You can also ask for this feature, perhaps it will be added to the wish list... 
 

Jon

2016/01/05 13:36

In reply to by Pierre_Admin

Are you talking about hierarchical tags? That would be great.
 
Jon
 
--
Sony Vaio Z, Intel Core i7, 8 GB RAM, 800 GB SSD
Windows 7 Professional 64 bit

Pierre_Admin

2016/01/05 13:55

In reply to by Jon

Yes, I'm pretty sure that the original post was referring to hierarchical tags...
 

Armando

2016/01/05 18:31

In reply to by Pierre_Admin

[quote=Pierre_Admin]
Currently, field hierarchy is solely used for convenience, as an organisation tool. It is not used by IQ in any other way.
So, no, it cannot be done based on field hierarchy. 
 
You can however use auto-assign rules to set Animals when Alligators is set. As long as your list of sub-fields of Animals is not too long and does not change too often, this is a workable solution.
 
You can also ask for this feature, perhaps it will be added to the wish list... 
 
[/quote]

Autoassigns would probably be workable; just a tad tedious
If jim used text fields to manage his tags, it would also be possible to do use column equations for that purpose. (I can only imagine what such an equation could become though...)
-
Disclaimer: "Testing IQ with the most advanced/complicated IQBase in the world". I.e. slower than average.
Windows 8.1
CPU: Intel i5 2.6ghz