function openEntityForm() { | |
var entityFormOptions = { | |
entityName: "account", | |
useQuickCreateForm: false | |
}; | |
var formParameters = { | |
name: "Sample Account", | |
description: "This is example of how you can prepopulate the fields on opened entity" | |
}; | |
Xrm.Navigation.openForm(entityFormOptions, formParameters).then( | |
success => { | |
console.log(success); | |
}, | |
error => { | |
console.log(error); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment