locked
javascript to upload file on the disk RRS feed

  • Question

  • is there a javascript(which can be up on crm form) to upload file on local disk.

    can anyone provide a hint on code or code or reference to such code plz.
    Saturday, March 31, 2012 3:16 PM

Answers

  • Hi,

    This u can't able to achieve via Jscript, instead of that create one aspx page write the C# code and call in IFrame.

    Using IFrame its achieveable.


    Thanks & Regards, MS CRM Consultant, V.Surya.

    Sunday, April 1, 2012 9:38 AM
    Answerer

All replies

  • Hi,

    This u can't able to achieve via Jscript, instead of that create one aspx page write the C# code and call in IFrame.

    Using IFrame its achieveable.


    Thanks & Regards, MS CRM Consultant, V.Surya.

    Sunday, April 1, 2012 9:38 AM
    Answerer
  • By turning on the always prompt for credentials in CRM I can get onto two different orgs, but they are on different servers in different domains. But I can access them from two tabs in the same browser. Since it appears to be a CRM error you are getting, I would try to turn on tracing or enable the CRM 2011 diag trace tool and recreate the problem and see if it provides useful information.
    article publié
    Sunday, April 1, 2012 4:04 PM
  • Hello high_fly,

    Surya is correct that this won't work in jscript for security reasons.  Just think of it from the standpoint of whether or not you would be comfortable with script on websites being able to reach into your file system.



    Jamie Miley
    Check out my about.me profile!
    http://mileyja.blogspot.com
    Linked-In Profile
    Follow Me on Twitter!


    Sunday, April 1, 2012 4:25 PM
    Moderator