I'm trying to use a string query for AFSearch as below:
var Token = "Root:'" + tPath + "' Name:'" + Name + "' Template:<>'Location'";
I get an error that <> is not valid for template search. ("Invalid comparison operator for search criteria Template").
Is there another way to do this search excluding the Location template?
Can i search for multiple templates names?