Announcements
After Use the new Unified Interface only (recommended) to Yes And Reloading and reloading the page, I get the following error :
"ReferenceError: LCIDUtils is not defined
at ">crm.ZZZZ.com/.../app.js
I disabled the language in Crm and tested again, but it gave the above error again.
app.js Error Line Is :
if (typeof (LCIDUtils) == "undefined") {
LCIDUtils = {} // Error
}
there is no Custom Script in My Crm.
It just Empty Crm!
Hi Soroush,
No, if there is any error with your JavaScript, the error message shows it's coming from app.js only. For this, you can do one thing, identify what is the entity which is having this issue, then take the JS code for that entity and identify piece of code which is referring to Language Id(LCID) and try replacing with new API's as suggested in my previous message.
Hope it helps...
Cheers,
PDMY
thanks Pavan.
but it's not my script. it's microsoft java script (app.js)
I Upgraded V9 To 9.1 And When I Set "Use the new Unified Interface only (recommended)" to "Yes" ،
The above error is displayed...
Hi Soroush ,
The old Client API's to get the user languages are deprecated.
You may proceed to use globalContext.userSettings.languageId instead of Xrm.Page.context.getUserLcid.
You may use this to upgrade your scripts to v9.0 and find any pending issues.
Hope it helps..
Cheers,
PMDY
Blog: https://ecellorscrm.com
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156