-1
에서 IFrame을의 내용 창에 액세스하는 방법 :나는 아래의 구문을 사용하여 CRM 2016 폼에서 iframe이에게 내용 창에 액세스하려고 CRM 2016 양식
var Rkn= window.Rkn|| {};
$("#WebResource")[0].contentWindow.RKN.Scheduler.load();
하지만 콘텐츠 창 오류에 액세스 할 수 없습니다 얻고있다. 아래 대안을 사용했습니다.
Xrm.Page.getControl("#WebResource").getObject().contentWindow.RKN.Scheduler.load();
하지만 getObject 또는 null 참조 오류에 액세스 할 수 없습니다. 도움을 주시면 감사하겠습니다.
가능한 중복 :
그래서 당신의 webresource 이름은 당신을 통해 IFRAME의 contentWindow에 액세스 할 수
WebResource_MailingRecipients
이었다 가정 http://stackoverflow.com/questions/40220751/contentwindow-iframe-crm-2016 – pen2