1

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

2

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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