需要开发可生成唯一文档ID的自定义表格 [英] Need To Develop Customized Form That Produces Unique Document Ids

查看:77
本文介绍了需要开发可生成唯一文档ID的自定义表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的Microsoft SharePoint论坛,

当前,我正在利用Office 365,SharePoint Designer 2013和InfoPath 2013.

我需要开发:

1.该表格将根据一组下拉字段和唯一的序列号生成唯一的文档ID.

2.基于文档ID,我将需要基于文档ID创建一个文件名.默认文档ID类型为Microsoft Word,扩展名为.docx.

是否可以开发这样的表格?如果是这样,那么在表单内部还需要什么附加编码,以便可以执行1.和2.?

任何开发建议将不胜感激.

谢谢

鲍勃·罗瑟尔

解决方案

鲍勃,

您可以通过使用计算列来满足您的要求.

例如:

我们有一个文档库,创建一个名为dropdown的选择字段和一个名为number的数字列.

我们可以使用以下公式创建一个名为document Id的计算列:

然后我们可以创建一个工作流,以将名称"设置为当前项目:documnet ID".

然后,在运行工作流之后,如下所示的文档库:

最好的问候,

Lisa Chen


Dear Microsoft SharePoint Forum,

Currently I am leveraging Office 365, SharePoint Designer 2013 and InfoPath 2013.

I need to develop:

1. A form that will produce a unique document Id based on a set of both drop down fields and a unique sequence number.

2. Based on the document Id, I would need to create a file name based on the document Id. The default document Id type would be Microsoft Word with a .docx file type extension.

Is it possible to develop such a form? If so, what additional coding would be needed inside the form so that 1. and 2. could be executed?

Any development advice would be most appreciated.

Thanks,

Bob Rosell

解决方案

Hi Bob,

You can achieve your requirement by using calculated column.

Eg:

We have a document library, create a choice field named dropdown and a number column named number.

We can create a calculate column named document Id with the following formula:

Then we can create a workflow to set Name to Current Item:documnet Id.

Then after run the workflow, document library like the following:

Best Regards,

Lisa Chen


这篇关于需要开发可生成唯一文档ID的自定义表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆