在Sharepoint 2010中 启用 构建动态字符串 活动

来源:互联网 发布:雷克萨斯rx350 知乎 编辑:程序博客网 时间:2024/05/01 06:28

http://sharepointresourcecenter.com/build-dynamic-string-spd-workflow-activity-in-sharepoint-2010.html

 

By default the [LINK=/sharepoint-workflow-actions-build-dynamic-string.html]Build Dynamic String action[/LINK] is not available in Sharepoint Designer 2010 (anyone knows the rationale behind this?).

There are a few [LINK=/sharepoint-2010-workflow-actions-string-manipulation.html]string manipulation activities[/LINK] that can be used instead - however, they using them may prove to be much more tricky and time consuming than the old 2007 action we've all grown to love.

The good news is you can re-enable the action in SPD 2010 with just a few clicks.

1) Navigate to /Program Files/Common Files/Microsoft Shared/web server extensions/14/TEMPLATE/1033/Workflow on your system drive

2) Open the WSS.Actions file (this is where information about all default SPD actions is stored)

3) Find "Build Dynamic String" and change the "AppliesTo" parameter from "DisplayOnly" to "all". Save the file

4) Run IISReset, re-open SPD - you should now have the Build Dynamic String action available

 

[IMG]/images/PostsImages/2010.06.23-18.53.36.png[/IMG]

Note: Direct modifications of WSS.ACTIONS file are probably not recommended or potentially not supported by Microsoft. Use this hack at your own risk.