Hello Experts,
Can we switch the form from Quick Create to the Main form based on the requirement?
I have the requirement to show the quick create form in some scenarios and in some scenarios I need to show the main form, Can we do this by using JS.
Thanks & Regards
-Sri
Hi Srikanth,
Yes. You can open an entity form or a quick create form though javascript.
Below is the syntax:
Xrm.Navigation.openForm(entityFormOptions,formParameters).then(successCallback,errorCallback);
You can refer following document for more details:
openForm (Client API reference) in model-driven apps - Power Apps | Microsoft Docs
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.