1 Reply Latest reply on Mar 24, 2020 10:53 PM by N Varma

    Condition to retrieve all assets from a site

    3349974

      Hello,

       

      Is it possible to retrieve all assets of type "Product_C" from a specific site say "FirstSiteII" using create condition method.

       

      Like,

      Condition c = ConditionFactory.createCondition( "Site", OpTypeEnum.EQUALS, "FirstSiteII" );

      Query query = new SimpleQuery( "Product_C", "FSII Product", c, Collections.singletonList( "name" ) );