• Jon Riehm
  • NEWBIE
  • 5 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I am trying to use javascript remote objects and can't find a way to filter on a multi picklist.  In SOQL, it would be an INCLUDES statement, but I don't think you can use includes in remote objects. Does anyone have an example of setting a multi select picklist value in a where clause in remote objects.
 
coupons.retrieve({limit: 100, where: {Brands__c: {includes: ('brand1','brand2')}}, orderby:[{Name: 'ASC'}]}, function(err, couponRecords){
//process records
}

//Brands__c is a multi select picklist