Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Global Search via API

(0) ShareShare
ReportReport
Posted on by 2

Hi all

Is there any way to invoke the Global Search via the CRM API? I can't seem to find any decent info on it at the moment.

If it makes a difference, we would like to turn on FTS for this feature.

Thanks
James

*This post is locked for comments

  • James Profile Picture
    2 on at
    RE: Global Search via API

    Thanks for your reply. Unfortunately that mechanism doesn't work well since if you replace the {0} in the XML returned from the SavedQueries and execute that, it doesn't work on Lookup fields, which SavedQueries do.

  • Philipp Lwn Profile Picture
    on at
    RE: Global Search via API

    I have no experience with the "multientitysearchentity" but you can execute FetchXml with the Web API:

    msdn.microsoft.com/.../mt607533.aspx

  • James Profile Picture
    2 on at
    RE: Global Search via API

    Ok, so I still haven't found anything specifically relating to calling the Global Search via the API. 

    But after some more investigation, it seems the functionality can be mimicked but querying the "multientitysearchentities" entity and then retrieving the savedqueries for the returned entities and a querytype of 4. 

    This would be great, except multientitysearchentities only seems available using ExecuteFetchRequest and a) I'm using JavaScript in a Web Resource (sorry, I should've provided this info earlier) and I can't find a way to execute ExecuteFetchRequest, and b) the message is deprecated, anyway!

    Can anyone help me out here?

    Thanks
    James

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans