Announcements
No record found.
Hi,
I get this script error when I open a Lead record:
The Log file:ReferenceError: Web resource method does not exist: Sales.DocumentsTabController.shouldShowDocumentsTab at Nu.execute (myinstance.crm11.dynamics.com/.../app.js at myinstance.crm11.dynamics.com/.../app.js at o (myinstance.crm11.dynamics.com/.../app.js at Iu._executeIndividualEvent (myinstance.crm11.dynamics.com/.../app.js at Iu._executeEventHandler (myinstance.crm11.dynamics.com/.../app.js at Object.execute (myinstance.crm11.dynamics.com/.../app.js at O._executeSyncAction (myinstance.crm11.dynamics.com/.../app.js at O._executeSync (myinstance.crm11.dynamics.com/.../app.js at O.executeAction (myinstance.crm11.dynamics.com/.../app.js at t.dispatch (https://myinstance.crm11.dynamics.com/uclient/scripts/app.js?v=1.4.583-2004.2:846:5545)
We have just added the Leads entity to the sitemap and haven't to my knowledge done any customisation. Has anyone come across and managed to fix this before?
Sales.DocumentsTabController.shouldShowDocumentsTab handler is to show preview features only in preview enabled orgs. This handler is no longer required.
Most likely you've removed sales_ClientCommon.js from form but the handler is still there:
if it was on my org I would simply remove the handler but it's not so deactivate the handler by double clicking on the highlighted handler and uncheck (if something comes up you can activate back):
Thanks! That worked :-)
perfect. please mark it as answered.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 192 Super User 2026 Season 1
11manish 129
CU11031447-0 100