javascript - Unable to save data set by iframe in Dynamics CRM 2011 -
javascript - Unable to save data set by iframe in Dynamics CRM 2011 -
i’m having iframe javascript running, dynamically add together more textboxes page, according how many dates need add.
when pushing send button on iframe page i’m able set value on dynamics crm form using:
parent.document.forms[0].all.new_running.value = koersler;
where koersler info combined textboxes.
this works fine, when saving form, info in textbox, new_running, not beingness saved.
i have tried set setsubmitmode(“always”) on save event on form, little luck sine dsb_running seem null, though info can seen on page.
any hints on how save data???
looking forwards help.
could issue of form command not matching attribute data.
from sdk:
for script development work outside of microsoft dynamics crm, developers may accustomed referring page elements using document.getelementbyid method. microsoft dynamics crm form scripts method not supported. of import recognize attribute stores info , command presentation of attribute in form. controls bound attributes may need adjust way accustomed accessing info in form.
i seek setting value of attribute xrm.page scripting library.
var command = xrm.page.data.entity.attributes.get("new_running"); control.setvalue("koersler"); javascript dynamics-crm dynamics-crm-2011
Comments
Post a Comment