Can we modify wss.actions file in 14 hive structure?

Hi All,

I want to add custom action to my workflow?

Can I modify the Wss.Actions file?

If I modify, will there be any effect on the SharePoint farm? I mean to ask will my other sites in farm work properly?

It would be good if you link me to msdn article which says it is OK to modify the wss.actions file.

If you have the link please share it.

Imp NOTE:- I am not allowed o do changes in 14 hive. I need to inform SharePoint admin team that changing Wss.Actions is also recommended by Microsoft.

Thanks & regards,

Manish


May 25th, 2015 7:41am

Hi Manish

Default workflow actions are contained in the WSS.ACTIONS file, which is an XML file 

So Direct modification of the WSS.ACTIONS file is not recommended or supported. However, you can expand the actions that are available to your code-free workflow editor by creating and adding additional custom .ACTIONS files to the same directory.

https://msdn.microsoft.com/en-us/library/office/bb897644.aspx(Look into Note section)

Please mark it as answer if it helps you solving your problem

Free Windows Admin Tool Kit Click here and download it now
May 25th, 2015 8:09am

Hi Amit,

Thanks for your reply.

But my query is:- I am developing workflows in SharePoint designer 2013. I have a scenario wherein I want to send emails to multiple users.

I am unable to achieve it. So goggled and found one link:- http://www.mpspartners.com/2012/05/spdesigner2010workflowsendingemailstomultipleusersfromasinglepeoplepickerfield/

It says to append one of the parameter.

I want to try this option out but my admin team won't do it until they find it on MSDN site.

So can you please give me the link from Microsoft which says we can append one of the parameters.

I tried a lot to find the link but with no success.

Thanks & regards,

Manish

May 25th, 2015 9:23am

hi

Yes you can change the .actions file,but make sure you take back up as changes will have effect on the entire form.

The recommend way is to create your own custom file and not to touch the standard SharePoint functionality.

http://blog.symprogress.com/2011/01/spd-2010-custom-workflow-activity/

see below link to send email to multiple user

https://social.msdn.microsoft.com/Forums/en-US/98af5442-c059-4acd-8e4c-1a893f812007/sending-mail-to-multiple-users-from-desinger-workflow?forum=sharepointcustomizationlegacy

https://chayadigital.wordpress.com/2012/07/23/passing-multiple-users-as-a-string-to-a-persongroup-lookup-column-in-a-sharepoint-2010-workflows/

http://www.manvir.net/send-email-to-multiple-users-using-sharepoint-designer-sharepoint-2007/

Free Windows Admin Tool Kit Click here and download it now
May 25th, 2015 9:29am

thanks Rajendra for the reply,

but is it possible to share a link from MSDN or TechNet which says there is no problem in modifying the wss.actions file.

Thanks & regards,

Manish

May 25th, 2015 10:04am

Hi

My bad,changing action file is not supported by Microsoft.you can create your own and placed in 14 folder.

The first thing you need to know about the WSS.Actions file is that like any other SharePoint default file, you should never modify it. Instead, you must make your own ACTIONS file in the same directory

https://msdn.microsoft.com/en-us/library/office/cc546558(v=office.12).aspx

by Microsoft.

https://msdn.microsoft.com/en-us/library/bb897644(v=office.12).aspx

https://msdn.microsoft.com/en-us/library/office/bb897890.aspx

in the blog they have mention the same.

Direct modification of the WSS.ACTIONS file is not recommended or supported. However, you can expand the actions that are available to your code-free workflow editor by creating and adding additional custom .ACTIONS files to the same directory. Windows SharePoint Services 3.0 will parse all files with the .ACTIONS file extension and create a combined list that it then presents to the declarative, code-free workflow editor.

Free Windows Admin Tool Kit Click here and download it now
May 25th, 2015 10:13am

Hi Manish

1) Create a variable ,  new action of type Build Dynamic string:

        Click on "Actions" and choose "Build Dynamic string". Click on "Dynamic string" this open a new multiline textbox. Click on Add lookup , choose Source as Current Item and select your multiple user people picker column. You DO SEE Multiple values column only while creating dynamic string. Store it in a new variable something named like "EmailUsers".

2) Create another action to send email and in TO section , choose "EmailUsers" variable under Workflow data.

http://mysharepointt.blogspot.in/2013/11/send-email-to-multiple-person-or-group.html

May 25th, 2015 1:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics