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

We have a requirement of saving the document open from a custom menu into the document library as the way it behaves when we open a document from the outofbox 'New menu' in a document library.

When we open document from the New menu, tries to save it, by default gets saved in the document library(i.e. http:// sp2010:4444/NewDocLib). When open from the custom menu and tries to save, it saves to the library’s content type path(i.e. http://eccoe-sps2010:4444/NewDocLib/Forms/III Level here "III level" is content type name).

We have to save it to document library directly and not the content types path. Any help is highly appreciated.

share|improve this question

Try to use editDocumentWithProgID2 js function in your custom menu. This function is called in standart SharePoint menu. You can see more details in this post.

share|improve this answer

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.