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 want to know if it’s possible to write en Event Receiver in VB for automating the creation of a document set: the user only click “new document set” and then the code generates the document set with an automated name, without the windows where the user input the name and other properties for the doc set.

If it’s possible, what are the basic steps? (Which function to override, etc ) ?

By the way, is it possible in the same code to create inside this document set a new empty form based on form template ?

Thanx

share|improve this question

1 Answer 1

I didn't work with document sets yet but I can suggest a solution. You can replace the related buttons in the ribbon with your own via declarative ribbon customization and redirect users to the custom aspx page with the code (and with no UI at all) to take all the required actions. Then you need to redirect user to the result page or back to the original list view.

share|improve this answer

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.