- August 3, 2018 at 1:09 pm #30990shradha jain #14
Why can we not query fields of type long text in Salesforce?
Why can we not query fields of type long text in Salesforce?August 7, 2018 at 6:13 am #31153Avnish Yadav #3
In SOQL you simply cannot filter on long text areas, well the reason maybe Salesforce is doing some optimizations to prevent it from reaching the heap size.
Hope this will help you.
Thanks.September 12, 2018 at 12:08 am #33678shariq #1
Hi Shraddha and Avinish,
You can query records for long text type field but you can’t put these fields in WHERE clause.
For more understanding the scenario, lets get deep into it, what is stopping those fields to be used in a where clause, answer is field’s length. Salesforce don’t allow the fields to be used in where clause if their length is greater than 255.
Hope this helps.September 12, 2018 at 4:51 am #33695
Please Register to reply to this topic. /