12 Replies Latest reply on Sep 1, 2016 1:20 PM by jweiss RSS
    jweiss Explorer

    LikeFilter syntax for multiple patterns?

    Hi all,


    I'm trying to use the LikeFilter infotable function to filter some results in an infotable. I'm using the basic syntax like below:


    var paramsForFilteredResult = {

        inclusive: true,

        fieldName: "ResultID",


        pattern: "Result1"


    var FilteredByResult = Resources["InfoTableFunctions"].LikeFilter(paramsForFilteredResult);


    But I am wondering, is it possible using this function to search for multiple patterns? For example, what if I want to show Result1 and Result2, not just Result1? I have tried incorporating forloops and a number of different syntax approaches, but I don't seem to be having luck.


    Any help is greatly appreciated!


    - Jon