Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Unanswered

Global Search via API

Posted on by

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

  • James Profile Picture
    James 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
    Philipp Lwn 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
    James 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans