Loading a website to an Iframe RRS feed

  • Question

  • Good Afternoon,

    I have been trying to get an iframe to update with the Accounts website but can not seem to get it to work, essentially I am adding this code to the onLoad event:

    function LoadWeb()

    var AccountURL = "\"" + Xrm.Page.getAttribute("websiteurl").getValue() + "\"";
    alert (AccountURL);
    if (AccountURL != null)

    It tries to load but comes up with HTTP Error - 404. I have tried it with or without the quote marks so not sure what I am doing wrong but I guess it may be with the way I have set up my iFrame rather than the code? but i can't see anything in the properties that may be causing it.

    Thanks for any help that is offered

    Using MS Dynamics 2013 Online

    Wednesday, May 7, 2014 1:28 PM