Sharepoint 文档库内容类型
因此,我希望当用户在我的共享点文档库中创建新文件夹时,4 个模板文档也会添加到新文件夹中。 我知道用户只需单击每个模板的文档模板即可,但我希望始终添加它们。
似乎没有将模板文档添加到文档库文件夹内容类型的选项。
Sooo ....是我创建自定义共享点工作流程的唯一选择,该工作流程检查我的文档库中的文件夹创建情况。 (理想情况下,可能将其限制为仅在创建自定义内容类型的特定文件夹时。)这似乎是一个简单的创建工作流程,但我想确保我什至需要创建一个,因为我实际上还没有创建一个自定义共享点工作流程尚未...
谢谢,
克里斯
So I would like it when a user creates a new folder in my sharepoint document library that 4 template documents also get added inside the new folder. I get that the user could just click on the document template for each template individual but I want them added all the time.
There doesn't seem to be an option to add template documents to a document lib folder content type.
Sooo.... Is my only alternative to create a custom sharepoint workflow that checks for the folder creation inside my doc lib. (Ideally maybe restricting it to only when a specific folder of my custom content type is created.. ) This seems like a simple workflow to create but I want to make sure that I even need to create one since I haven't actually created a custom sharepoint workflow yet...
Thanks,
Chris
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你说得对; 没有为此的内置功能。 编写一个工作流程应该相当简单,该工作流程在将某些内容添加到库时运行,检查它是否是文件夹,然后将项目添加到文件夹中。 最简单的方法可能是将模板文档放在另一个文件夹中,然后将它们复制过来。
祝你好运!
You're right; there's no built-in functionality for this. It should be reasonable simple to write a workflow that runs when something is added to a library, checks to see if it is a folder, and adds the items into the folder. It would probably be easiest to have the template documents in another folder somewhere, and then copy them over.
Good luck!
我发现这个例子很有帮助:
http://www.codeproject.com/ KB/sharepoint/MOSS_FolderContentTypeWF.aspx
I found this example that helped out a lot:
http://www.codeproject.com/KB/sharepoint/MOSS_FolderContentTypeWF.aspx