Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Open Entity Form list mode

Posted on by Microsoft Employee

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. 

Categories:
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Open Entity Form list mode

    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.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Open Entity Form list mode

    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.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Open Entity Form list mode

    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 -

    community.dynamics.com/.../265434

    community.dynamics.com/.../302374

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans