search component formula field

BillBill 💎
edited May 12, 2020 in Questions
I have a formula field "Search_Name__c" that I am trying to use with Search Component.  I can return the values of the "Search_Name__c".  But the "Search_Name___c" field is not being searched.
image

Comments

  • Zach McElrathZach McElrath Principal Software Engineer Chattanooga, TN 💎💎💎
    edited February 25, 2018
    Formula Fields are not searchable by SOSL, so they are not searchable using the Search component. One way to get around this is to have a Workflow Rule that copies the values of your Formula Field into a regular Text field any time that the fields which are involved in your Formula Field get updated. Text fields are searchable, so you can then use the text field here instead of the Formula Field, and it should work.

    https://salesforce.stackexchange.com/questions/14387/search-formula-fields-using-sosl
  • BillBill 💎
    edited May 12, 2020
    Worked. Thank you
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!