/ Forums / Advansys Formativ / Creating Solutions with Formativ / searching for document with formativ

  • Creator
  • #4148

      i am making a query with formative to search all the document where the type is modèle

      my query returns no résults,

      isyntax = “(DOCUMENT_TYPE CONTAINS ” + “””Modèle””” + “)”
      call GroupWise.ThrowToken(isyntax , iresults)

      When i look to the query the objet box was transform on text and contains my query

      how can i perfom this query ?
      thanks for help


    • Author
    • #7276
      Support 1a

        You cannot perform a query/find operation by using ThrowToken(). ThrowToken() is designed to accept a string representing a GroupWise token (such as ‘AboutDlg()’. You cannot pass it a query/find string and have it do anything.

        To perform a find, you need to pass the query string to one of the Find/Query methods, part of the Object API, which are exposed in Formativ via the GroupWise.Account() object.

        For example, the Messages() collection has a Find() method. This method accepts a query string. See the following for more information:


        I hope this helps clarify the issue.

        Advansys Support

      Viewing 1 replies (of 1 total)
      • You must be logged in to reply to this topic.