SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So if I reference the upload.aspx with guid, show that dialog from a link or something from a page, is there anyway I can get to the elements of that form? I only have javascript/jquery and designer to work with.

I would like to auto uncheck the overwrite, and hide that option like you can do on edit forms with jquery....something to that effect. is this possible without having access to the file system/layouts folder, etc?


share|improve this question
up vote 2 down vote accepted

With a sandboxed solution you can add your custom JavaScript and jQuery globally. And your custom JavaScript can be uploaded into Style Library and referenced there.
All you need access to is solution gallery to upload, install and activate sandboxed solutions.

Then you can check location.pathname for Upload.aspx, select the checkbox with jQuery and alter it in any way you want. For example:

location.pathname.match(/upload\.aspx/i) && $(':checkbox').attr('checked', false);

Referencing javascript files using CustomAction in Sharepoint 2010 Sandboxed Solutions

share|improve this answer
thanks for the help/information. appreciate it. – Justin Sep 15 '12 at 11:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.