locked
How to open Custom Quick Create form Ribbon Button in MS CRM 2015 (not update 1)? RRS feed

  • Question

  • Hi Experts,

    I am having requirement to open Quick create form from ribbon button but I am unable to find any option for the same.

    I tried to use the below script but it is not available in MS CRM 2015 .Please suggest.

    Thanks

    Baji Rahaman

    function openForm() {
        var thisAccount = {
            entityType: "new_customentity",
            id: Xrm.Page.data.entity.getId()
        };
        var callback = function (obj) {
            console.log("Created new " + obj.savedEntityReference.entityType + " named '" + obj.savedEntityReference.name + "' with id:" + obj.savedEntityReference.id);
        }
        var setName = { new_name: "Child account of " + Xrm.Page.getAttribute("new_name").getValue() };
        Xrm.Utility.openQuickCreate("new_customentity", thisAccount, setName).then(callback, function (error) {
            console.log(error.message);
        });
    }

    Friday, July 24, 2015 4:15 AM

All replies


  • I am having requirement to open Quick create form from ribbon button but I am unable to find any option for the same.


    tell that the requirement is not doable because it's not possible using supported methods in CRM 2015 before the Online Update 1.

    My blog: www.crmanswers.net - CRM Theme Generator

    Friday, July 24, 2015 4:44 AM