从内容类型路径打开的新文件,需要直接保存到文件库。 [英] New document opened from content type path, need to save to document library directly.
问题描述
我们要求保存文档文档库中的自定义菜单,就像我们从文档库中的outofbox"New
menu"打开文档时的行为一样。
< p style ="margin:0in 0in 0pt"> 当我们从"新建"菜单打开文档时,尝试保存它,默认情况下保存在文档库中(即
http:// sp2010:4444 / NewDocLib )。从自定义菜单打开并尝试保存时,它会保存到库的内容类型路径(即
http:// eccoe-sps2010:4444 / NewDocLib / Forms / III 等级
此处"III级"是内容类型名称 )。
< span style ="font-family:Calibri">我们必须直接将其保存到文档库而不是内容类型路径。如果有人有任何想法/工作类似的东西,分享你的想法是高度
赞赏。
在自定义菜单的网址中提供内容类型ID。
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. if anyone has any thought/worked on similar stuff, sharing your thoughts is highly appreciated.
Provide the Content Type ID in the url of custom menu.
这篇关于从内容类型路径打开的新文件,需要直接保存到文件库。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!