7. September 2015 14:46
Xrm.Page.getControl("WebResource_TinyMCE_deutsch").setSrc(Xrm.Page.getControl("WebResource_TinyMCE_deutsch").getSrc());
Xrm.Page.getControl("WebResource_TinyMCE_fremdsprache").setSrc(Xrm.Page.getControl("WebResource_TinyMCE_fremdsprache").getSrc());
Das Object unterstützt die Eigenschaft oder Methode "getSrc" nicht.
8. September 2015 08:21
8. September 2015 13:38
9. September 2015 12:22
var productField = Xrm.Page.getAttribute(productIdField).getValue();
if(productField != null){ debugger
var productId = productField[0].id;
if(typeof productId != 'undefined' && productId != null){
// 20130904 avit merging to odata
var result = GetAttributeValueWithOData("/ProductSet?$select=OPD_html_description_de,OPD_html_description_en&$filter=ProductId eq guid'" + productId + "'");
if(typeof result == 'undefined' || result == null){
// Testen?
alert('Error: ProduktBeschreibung WYSISWIG ist null oder undefined');
}
if(result.OPD_html_description_de != null){
Xrm.Page.getAttribute("opd_html_description_de").setValue(removeNL(result.OPD_html_description_de));
}
if(result.OPD_html_description_en != null){
Xrm.Page.getAttribute("opd_html_description_en").setValue(removeNL(result.OPD_html_description_en));
}
Xrm.Page.getControl("WebResource_TinyMCE_deutsch").setSrc(Xrm.Page.getControl("WebResource_TinyMCE_deutsch").getSrc());
Xrm.Page.getControl("WebResource_TinyMCE_fremdsprache").setSrc(Xrm.Page.getControl("WebResource_TinyMCE_fremdsprache").getSrc());
}
}
9. September 2015 13:16
9. September 2015 13:47
10. September 2015 11:23
15. September 2015 11:21
var tinymce_deutsch = Xrm.Page.getControl("WebResource_TinyMCE_deutsch");
tinymce_deutsch.getObject().contentWindow.location.reload();
16. September 2015 10:06