Activity Forums Salesforce® Discussions What is the Syntax to Search through SOSL in query Editor in Salesforce?

  • What is the Syntax to Search through SOSL in query Editor in Salesforce?

    Posted by MOHIT on January 23, 2020 at 1:33 pm

    What is the Syntax to Search through SOSL in query Editor in Salesforce?

    Marziya replied 4 years, 11 months ago 3 Members · 2 Replies
  • 2 Replies
  • Anjali

    Member
    January 23, 2020 at 1:41 pm

    For searching some word in SOSL query, It must be written inside the curly braces '{}' and remaining syntax of writing the SOSL query remains same as used in Apex.

    • This reply was modified 4 years, 11 months ago by  Anjali.
  • Marziya

    Member
    January 23, 2020 at 1:45 pm

    Hello Mohit,

    The Syntax  to search through SOSL is :-

    FIND {Wingo} IN ALL FIELDS RETURNING Account(Name), Contact(FirstName,LastName,Department)

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos