5 Replies Latest reply on Apr 20, 2017 6:23 AM by sdurante

    PatternCount Portal Filter

    sdurante

      I am trying to get a portal to show occurrences of a text string, typed into Globals::GFQuickCommentsSearch, in a specific record field, Search Comments::CurrentComments. The portal context is Search Comments.

      Here's my filter:

      (IsEmpty ( Globals::GFQuickCommentsSearch )

      or

      PatternCount (Search Comments::CurrentComments; $QCS ))

       

      $QCS refers to the contents of the search box, Globals::GFQuickCommentsSearch. The variable is set OnObjectExit from Globals::GFQuickCommentsSearch, which lives outside the portal.

       

      The result I get shows no finds whatever I type in Globals::GFQuickCommentsSearch.