Search code examples
iframedynamics-crmmicrosoft-dynamicsdynamics-crm-2013dynamics-crm-online

Dynamics crm + Detect changes in an embedded iframe on CRM Form


I have an iframe embedded on my crm Form, the changes made in the controls within the iframe is not detected and the Form does not show 'unsaved' message on the form. However data in the iframe gets saved on autosave. I would like to know if there is a way i can show 'unsaved' changes message on the form whenever data in the iframe is changed?

Any help would be appreciated.


Solution

  • On an entity form unsaved changes are only tracked for the entity attributes displayed on that form. When you need to track changes in iFrames an option to be considered would be to add a hidden attribute that is modified by a script when data in the iFrame is changed.