Notifications
Announcements
No record found.
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?
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 } );
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?
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.
Thanks,
Prateek
Do you think this is a browser issue? Should that be supported on all browsers?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 170 Super User 2025 Season 2
#ManoVerse 61
Gerardo RenterÃa Ga... 52 Most Valuable Professional