Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

thanks

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.