Does anyone know if it's possible to use the Locate Slave tool to find slaves with a particular custom label or a custom title?
For the former, use the third textbox (
Their data should meet this condition):
Code:
slave.custom.label == "INSERT_YOUR_CUSTOM_LABEL_HERE"
Note that the rule above is case sensitive: you may miss a few slaves. These alternatives are safer:
Code:
slave.custom.label.toUpperCase() == "INSERT_YOUR_CUSTOM_LABEL_HERE_IN_CAPITAL_LETTERS"
slave.custom.label.toUpperCase() == "INSERT_YOUR_CUSTOM_LABEL_HERE".toUpperCase()
If you are not looking for the exact label, but just part of it, both these rules are good:
Code:
slave.custom.label.includes("INSERT_PART_OF_YOUR_CUSTOM_LABEL_HERE")
slave.custom.label.indexOf("INSERT_PART_OF_YOUR_CUSTOM_LABEL_HERE")>-1
If part of the label is, say, "red", these rules will return slaves labelled as redhead, credent, impaired. Again, they are case sensitive.
As for "title", just replace
slave.custom.label
with
slave.custom.name
.
Why
name
instead of
title
? I don't know, I added a custom title to a slave and it has been saved there. A bug, maybe?