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

I've found this page which explains how to add a ‘Create New Document’ link to a page :

<img alt="" src="/_layouts/images/rect.gif">&nbsp;
<a onclick="createNewDocumentWithProgID('http:\u002f\u002fvm-moss2007\u002fMod Props\u002fForms\u002fMod Props\u002fModPropTemplate.xlsx', 'http:\u002f\u002fvm-moss2007\u002fMod Props', 'SharePoint.OpenDocuments', false);return false;" href="#">Create new Mod Prop</a>

My question is if it's also possible to add a link to a web-page which goes directly to the 'Add Document Set' functionality.

share|improve this question

1 Answer 1

The code below will allow you to perform a redirect to a given page when the user clicks on New Item

$("a[id$='NewMenu']").click(function(e) { window.location = '/_layouts/smartaudit/UploadAudit.aspx'; return false; });
share|improve this answer
Would you care to put some more context around that? How would you integrate that into the html snipped in the question? Where does the Document Set come in? –  teylyn Jul 21 '13 at 23:57

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.