Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Answered

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

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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans