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 2 years, 8 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.

  • 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