Forum Discussion
Suhas
5 years agoCreator III
Hello Nilesh,
You can write "OnBeforeNew "client side method to restrict user to create Item from UI.
Please find the below code to restrict user to create Item from UI.
var inn = top.aras;
if (window.itemID === undefined){
aras.AlertError("You cannot create Epac Item from the main grid!");
return false;
}else{
return this;
}
Regards,
Suhas