The following JavaScript code can be used to make a field Visible in Dynamics 365 app.
function showField(executionContext){
var formContext = executionContext.getFormContext();
var attributename = formContext.getAttribute("attributename");
if (attributename == true){
formContext.getControl("attributename1").setVisible(false);
}
}
No comments:
Post a Comment