4 Replies Latest reply on Aug 22, 2018 2:47 PM by alexbarata

    AFElementSearch Query String Not Equal Template

    alexbarata

      Hi,

       

      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?

       

      Regards,

      Alex.