使用多个数据连接根据多选列表将表单提交到不同的位置 [英] Use multiple data connections to submit a form to different locations depending on a multiple choice list

查看:71
本文介绍了使用多个数据连接根据多选列表将表单提交到不同的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我正在创建一个表单,并且试图弄清楚如何解决我的问题.人们提交表单时,我希望根据表单中的答案将表单保存在子文件夹中.这样,我们可以对提交的表单进行分类.

I'm creating a form and I'm trying to figure out how to resolve my problem. When people submit the form I want the form to be saved in subfolders depending on a answer in the form. This way we can categorise the forms submitted.

假设表单有3个答案:

1.阿姆斯特丹

2.埃因霍温

3.登博斯

选择的答案是阿姆斯特丹.提交表单后,我想制定一条规则,内容如下:

The answer choosen is Amsterdam. When the form is submitted I want to have a rule that says the following:

如果field1 =阿姆斯特丹,则将表单提交到/sharepoint/list/amsterdam/

If field1 = Amsterdam then submit form to /sharepoint/list/amsterdam/

如果答案是埃因霍温,那么规则必须为if field1 = Eindhoven然后将表格提交到/sharepoint/list/Eindhoven/等.我想您明白了.

If the answer is Eindhoven the rule has to be If field1 = Eindhoven then submit form to /sharepoint/list/Eindhoven/ etc. I think you get it.

我找到了这个答案:

嗨:

我刚刚进行了快速测试,并且能够创建与库中子文件夹的提交连接.当我提交完成的表格时,它会出现在我的子文件夹中.

没有代码(或类似grules的加载项) ,您将无法即时更改文件位置,因此您必须添加多个根据您要提交到的文件夹,向您的模板提交连接,然后在您的 提交规则添加逻辑(如果field1 = A,则提交到文件夹A").

Without code (or an add-in like grules) you aren't going to be able to change the file location on the fly, so you'll have to add multiple submit connections to your template, based on the folder you want to submit to, and then in your submit rules add the logic ("If field1 = A, submit to folder A").

该文件夹的URL为:

站点/库/文件夹

并且在设置数据连接时,提示文本表示斜杠:

//sites/library/folder

这是您设置提交连接的方式吗?

这是解决方案,但是正如我的用户名所说,我在这个领域完全是菜鸟.

and that is the solution but as my username says I'm a total noob in this area..

有人可以向我解释如何进行这项工作,您是否需要像表单库一样使用任何特定的库?在子文件夹中,我也应该能够放置Word/Excel文档,而不只是.xml文件.

Can someone explain to me how I can make this work and is there any specific library u have to use like a Form Library? In the subfolders I should also be able to place Word/Excel docs so not only .xml files.

谢谢您的帮助.

推荐答案

我在我的环境中进行了测试:1.如果用户选择Amsterdam>将表单提交到表单"库folder01; 2.如果用户选择Eindhoven>将表单提交到表单"库folder02.

如何实现:

1.选择使用规则执行自定义操作"作为提交按钮.

2.创建数据连接:

3.设置表单提交规则.

最好的问候,

王恩(Dean Wang)


这篇关于使用多个数据连接根据多选列表将表单提交到不同的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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