locked
Iframe with Custom Web Page RRS feed

  • Question

  • Hi All,


    I tried to customize crm with external aspx file and IFRAME. I found a problem that when I call javascript (in external aspx file) in onsave event then error pop up.

    "There was an error with this field's customized event."
    "Field: crmForm"
    "Event: onSave"
    "Error: Permission denied"

     

    When user clicks save button on CRM form it will clicks the another button in iframe on custom ASPX page

    and below script i have used

    IFRAME_IFRAME.document.getElementById('BtnSubmit').click();


    shivakumar
    Wednesday, January 18, 2012 4:52 AM

Answers

  • Iframe behavior will not allow cross domain/ page hosted on other side to interact. (suspect your custom page is hosted on another location..)

    You using CRM2011? You should use the silverlight with deploy to web resources method instead. (xap file)

    regards,
    Toong Yang
    http://eastoceantechnical.blogspot.com/
    Wednesday, January 18, 2012 5:16 AM