Dynamics CRM - Open quick create form from home page ribbon button.
First we will write js code.
function OpenQuickCreate() {
entityFormOptions["entityName"] =
" "; //entity name
entityFormOptions["useQuickCreateForm"] = true;
var formParameters = {};
Xrm.Navigation.openForm(entityFormOptions, formParameters).then(
function(success) {
console.log(success);
},
function(error) {
console.log(error);
});
Note: Please click on the image to see more detail view.
Comments
Post a Comment