select ELV.Name EntityName, SF.*
from dbo.SystemForm SF
inner join [EntityLogicalView] ELV on ELV.ObjectTypeCode = SF.ObjectTypeCode
where formxml like '%libraryName="My JavaSript Library Name"%'
Thursday, 4 September 2014
Dynamics CRM - Find all Forms using a JavaScript resource
Today I had an interesting task on my hands which was to find all forms using particular JavaScript libraries within CRM. So it got me thinking, there has to be a better way than opening up every form in the system to see what references it. The result was a SQL script that checked the Form XML in the CRM database:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment