Improve Salesforce/Confluence Cloud query

Improve SOQL query, to avoid user to have to modify the query.

i.e

this does not:

SELECT Name FROM Account WHERE Ad_Servers__c INCLUDES (Freewheel)

the operator INCLUDE must be of type string and should be enclosed in quotes. Also includes or excludes operator only valid on multipicklist field

 

Works 

SELECT Name FROM Account WHERE Ad_Servers__c INCLUDES ('Freewheel')

But user mus quote the value to work.

  • Samuel Gatica
  • Jun 13 2018
  • Needs review
  • Attach files