How can I open quote form with pagetype=entitylist from another form. My code is as following
Xrm.Utility.openEntityForm("quote", null, parameters, windowsOptions);
It always opens the form with pagetype=entityrecord.
How can I open quote form with pagetype=entitylist from another form. My code is as following
Xrm.Utility.openEntityForm("quote", null, parameters, windowsOptions);
It always opens the form with pagetype=entityrecord.
Ravi Kayshap I have tried both window.open and Xrm.Navigation.openUrl. They open it in the new tab but I want to open it in the same window. I have passed _self as the second parameter in window.open and also tried window.location.href but nothing is working.
Hi,
You can use the below url with window.open
https://<your CRM>.crm6.dynamics.com/main.aspx?etn=quote&pagetype=entitylist&viewid=%7b008FBB15-98E9-4C5D-A81A-E685FF8CCC2C%7d&viewtype=1039&web=true&cmdbar=true
Also take a look here: docs.microsoft.com/.../openurl
Hope this helps.
I believe you know that Xrm.Utility.openEntityForm has been deprecated in Dynamics 365. Instead you can use Xrm.Navigation.openForm (docs.microsoft.com/.../xrm-utility
). Please note that you can only open entity forms or quick create forms using this method but you cant open entity list page using openform (docs.microsoft.com/.../openform).
To navigate list page you need to prepare the URL , have a look below old thread -
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156