using entity Name we can set plural name Manually in MS CRM

   var result = ename.slice(-1);
    if (result == "s") {
        result = ename + "es";

    } else if (result == "y") {
        result = ename.replace(entName.slice(-1), "ies");
    } else {
        result = ename + "s";
    }

Comments

Popular posts from this blog

Sample CRUD Operations Using C# in MSCRM

Calling Action using javascript with web api request in mscrm

how to get the XRM/FromContext on html page in D365.