08 Temmuz 2008 Salı 20:04
I have a dynamic iframe set up in crm that displays a .aspx page that has data i would like to bring into the from based off of this dynamic value. Basically what i need is how to pull a specific attribute from the aspx to a field in crm.
If anyone could help with this it would be greatly appreciated
09 Temmuz 2008 Çarşamba 02:13ModeratörJust to clarify, why don't you just use attributes on the CRM form to accomplish this?
09 Temmuz 2008 Çarşamba 08:08Moderatör
From my understanding of what you're trying to do, you'll need some client script. The section 'Allow Access to Form Data' at http://msdn.microsoft.com/en-us/library/cc150846.aspx describes how to do this
09 Temmuz 2008 Çarşamba 13:43
If you "push" from the aspx page use this:
parent.document.forms.all.crmFieldName.DataValue; (this will take the value of a field in the general tab '0')
You should be abble to set and get the value you need,
Hope it helps,
17 Temmuz 2008 Perşembe 13:31
i understand what i have to use im just having trouble writing the code itself. i need to bring a value from the asp on the iframe to a field in crm. i am trying to use something like this...
fromIframe = parent.document.forms.all.name.DataValue;
crmForm.all.new_fromASP.value = fromIframe;
however im not 100% sure what to put in the first line for the items like document, name, and if thats what i need for form.
this is what i have now
fromIframe = document.all.IFRAME_ASP.document.forms_form.element_Name.value;
im using crm3.0 any help would be greatly appreciated