Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

How to use Dynamics CRM's advanced find in custom solution

Posted on by 90

I have a custom solution where I want to integrate advanced find feature that dynamics CRM has.

For example: I will click on a custom button to open up the advanced find interface and when will press results it will generate the fetchXml and my custom solution will show the result on my custom page.

Is it possible?

  • RE: How to use Dynamics CRM's advanced find in custom solution

    Hi,

    I'm searching for a similar functionality.

    What I came across until now is the "Manage Members" functionality of dynamic marketing lists. If you click the "Manage Members" ribbon button of such a list a simplified Advanced find dialog is displayed. If you then click on Find and Use Query, the fetchXml is saved to the query-field of the list.

    That's exactly what I also need, but couldn't find how MS is opening this dialog...

  • erhan.keskin Profile Picture
    erhan.keskin 2,247 on at
    RE: How to use Dynamics CRM's advanced find in custom solution

    This is a very old method but it can give some idea about what you want to do. (aspx is not supported, you might need html one of this solution)

    www.codeproject.com/.../How-to-get-Advanced-Find-FetchXml-Query-in-Dynamic

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: How to use Dynamics CRM's advanced find in custom solution

    Hi partner,

    As far as I know, Advanced Find page does not support customizations.

    About how to open Advanced find from custom ribbon on the form, you could refer to this blog.

    www.magnetismsolutions.com/.../advanced-find-from-form-command-bar-in-dynamics-crm-2013

    Best Regards,

    Leo

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: How to use Dynamics CRM's advanced find in custom solution

    Hi S. Hossain,

    This JavaScript code opens Advanced Find.

    javascript: (function () { var form = $("iframe").filter(function () { return $(this).css("visibility") == "visible" })[0].contentWindow; window.open(form.Xrm.Page.context.getClientUrl()   "/main.aspx?pagetype=advancedfind"); })();

  • S. Hossain Profile Picture
    S. Hossain 90 on at
    RE: How to use Dynamics CRM's advanced find in custom solution

    Could you please suggest Javascript code to open up the interface.

  • erhan.keskin Profile Picture
    erhan.keskin 2,247 on at
    RE: How to use Dynamics CRM's advanced find in custom solution

    Hi,

    You can have a custom button to open up the advanced find interface. However, in order to trigger a function when "results" button is clicked is not possible. There are different approaches to achieve what you need with losing some user friendly abilities.

    For instance; on the Advanced Find form, the user would download the Fetch XML of the query by pressing the "Download Fetch XML" button. Whether the user would upload the Fetch XML file to the custom page or Copy/Paste the query into a text box on the custom page. And then, you can do what you need to do on the custom page.

    Regards,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans