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?
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...
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
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
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"); })();
Could you please suggest Javascript code to open up the interface.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Mansi Soni as our August 2025 Community…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Hamza H 141
Daniyal Khaleel 132
DAnny3211 130