web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Possible to open quick create form as model dialog using Xrm.Page.navigateTo()?

(0) ShareShare
ReportReport
Posted on by 293

As the title says - is it possible to open the quick create form in the navigatoTo method? I managed to open a Main form, but it did not work for quick create forms. Any approach to make that happen? 

I have the same question (0)
  • Suggested answer
    prt33k Profile Picture
    6,907 on at

    You can open a quick create form - but it won't appear like it usually appears in a side vertical. But you can open it in a dialog format which might serve the purpose you are looking for... you just need to pass the formid. Below is the code the 

    var pageInput = {
      pageType: "entityrecord",
      entityName: "account",
      formId: "C9E7EC2D-EFCA-4E4C-B3E3-F63C4BBA5E4B"
    };
    var navigationOptions = {
      target: 2,
      height: {value: 80, unit:"%"},
      width: {value: 70, unit:"%"},
      position: 1
    };
    Xrm.Navigation.navigateTo(pageInput, navigationOptions).then(
    function success(result) {
      console.log("Record created with ID: " + result.savedEntityReference[0].id + " Name: " + result.savedEntityReference[0].name)
      // Handle dialog closed
    },
    function error() {
      // Handle errors
    }
    );

    pastedimage1610778250566v1.png

  • KVa Profile Picture
    293 on at

    Thank you.

    Unfortunately, the code and screenshot you are showing are still opening a Main form as modal, not the Quick create form as modal.

    Using the formId of a Quick create form does not work here for me. Or am I missing something?

  • Suggested answer
    prt33k Profile Picture
    6,907 on at

    Yes, in chrome the quick create doesn't appear to work, it was working in Mozilla though.

    I tried with a custom form and that worked on chrome as well.

    So the alternate approach could be to create a new form(main) similar to quick create the layout and pass the formid as in above code. 

    Remember to add the form in the custom app and give proper role access.

    pastedimage1610862500597v1.png

    Thanks,

    Prateek

  • KVa Profile Picture
    293 on at

    Do you think this is a browser issue? Should that be supported on all browsers?

  • Verified answer
    prt33k Profile Picture
    6,907 on at

    It is a browser issue - however we are using the supported version only so you can also raise a support ticket.

    But the alternate approach to create a new form(main) similar to quick create the layout and pass the formid seems to work fine.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 184 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 125

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans