Dynamics CRM 2015 Applying custom subgrid with FetchXML (getElementById(“selectedGrid”) returns null)
问题 I am using Microsoft Dynamics CRM 2015 on-premise version. I am applying a custom FetchXml to a subgrid using JavaScript. The issue here is document.getElementById(“selectedGrid”) returns null. I read articles says that this method is not supported anymore in 2015 Version. My question: is there any alternative to this method? 回答1: This works for me, and in fact I've been able to use document.getElementById as well. If you're adding an event or something (and hooking it to onLoad), just make