HTML webresource fails on VBScript when call from ribbon CRM 2011?? RRS feed

  • Question

  • Hi All,

    My problem is I want to create an pdf attachment to email using Javascript and I am getting that pdf as part of XMLHTTP request's response to report viewer, which is in binary format, JavaScript somehow can't parse it. So I found a sample which uses VBScript to parse the binart data returned by XMLHTTP reponse. All that's fine if I use it in an IFRAME, but as soon as I start calling that VBScript contained web resource from a  Ribbon button it fails. The HTML webresource that works well with IFRAME falls over on the VBSCRIPT that it contains. Any Ideas on how to get the binary response parsed for Internet Explorer? Or how to achieve the above said functionality?

    Thanks Vaibhav
    Sunday, October 2, 2011 10:37 PM

All replies