web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • James Profile Picture
    2 on at

    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

  • Philipp Lwn Profile Picture
    on at

    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

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans