Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Quick Create Form is not working for custom entities in Dynamics 365 Unified Interface

(0) ShareShare
ReportReport
Posted on by 135

Hello,

I am trying to open the Quick Create Form for the custom entity but it's opening default form instead Quick Create form. Quick Create does not works for custom entities?

Below is the code which I used to open the Quick Create form. please suggest on this.

function openCF(executionContext) {
    var formContext=executionContext.getFormContext();
    var entityFormOptions = {};
    entityFormOptions["entityName"] = "msdyn_payment";
    entityFormOptions["useQuickCreateForm"] = true;
    entityFormOptions["formId"] = "62F07FB4-A0AC-4312-A22A-0768E4C6BB86";
    var formParameters = {};
    formParameters["hsl_case"] = formContext.data.entity.getId();
    formParameters["hsl_casename"] = formContext.data.entity.getPrimaryAttributeValue();

    //Xrm.Utility.openQuickCreate("msdyn_payment", parentCase , formParameters).then(
    Xrm.Navigation.openForm(entityFormOptions, formParameters).then(
        function (success) {
            Xrm.Utility.alertDialog(success.message);
            console.log(success);
        },

        function (error) {
            console.log(error);
        });
}

Thanks

Srikanth 

  • Verified answer
    Srikanth Reddy Profile Picture
    Srikanth Reddy 135 on at
    RE: Quick Create Form is not working for custom entities in Dynamics 365 Unified Interface

    Thanks Wahaj! After adding custom entity to the app then it's started working! I appreciate your help on this.

  • Suggested answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 11,319 on at
    RE: Quick Create Form is not working for custom entities in Dynamics 365 Unified Interface

    Hi,

    Thank you for your query.

    Did you enable the custom entity for Quick Create? If not, follow these steps:

    • Go to Solutions -> Open Default or your custom solution.
    • Expand Entities -> <your entity name>.
    • Under Data Services section, check "Allow Quick Create".
    • Save and Publish.

    Here are detailed steps:

    https://docs.microsoft.com/en-us/dynamics365/outlook-app/add-a-custom-entity-to-quick-create

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans