Sharepoint 2010:使用工作流更新查找字段多个值
我想使用 Sharepoint Designer 2010 通过工作流更新包含多个值的查找字段。
目前,旧值始终会被覆盖,我想将旧值与新值“合并”。
以下是迄今为止我的测试列表:
1)我已设法保留旧的或新的,但不能同时保留两者。 2)我尝试添加关键字,例如:& ; ,在字段之间,但仅将第一个元素写入列表中(示例:[%first Element: id%] ;[% Second Element: ID%] --> 列中的结果:First Element Id)
I'我不知道了。你有什么建议吗?
您需要更多信息吗?
在 Sharepoint 设计器中可以做这样的事情吗?
I want to update a lookup field that contains multiple values through a Workflow, using Sharepoint Designer 2010.
For the moment, the old value is always overwritten, and I would like to "merge" the old value with the new one.
Here is the list of my test by so far:
1) I've managed to Keep the old or the new one, but not both of them.
2) I've tried to add key words like : & ; , between the fields, but only the first element is written in the list ( Example : [%first Element: id%] ;[% Second Element: ID%] --> Result in the column : First Element Id)
I'm out of idea. Do you have any tips?
Do you need more information?
Is this possible to do such things in Sharepoint designer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这可以在 SharePoint Designer 中完成。您需要设置 ID 和查找值(查找字段中显示的文本) - 并且需要用 ;# 分隔它们,
然后将其设置为字符串查找值。
在上面的示例中,第一项是原始多选查找列表。第二个是要添加到查找的项目的 ID,第三个是要添加的项目的标题(或在字段中显示的值)。
Yes this can be done in SharePoint Designer. You need to set both the ID and the lookup value (the text that is displayed in the lookup field) - and these need to be separated by ;#
Build the following as a string before setting it to the lookup value.
In the example above, the first item is your original multi-select lookup list. The second, is the ID from the item that you want to add to the lookup, and the third is the title (or the value you're displaying in the field) from the item you're adding.