Tag Info

Hot answers tagged

7

The simple process of setting item level permission is not available for SharePoint 2013 workflows. The only way I was able to do was through REST api called under Appstep. There are 2 calls made: BreakRoleInheritance AddRoleAssignment This blog by Yuri Leontyev​ ​ over at spssite.pro can be a good start. Excerpt: BreakRoleInheritance​ ...


3

I just tested this on SharePoint 2010 and for OOTB permission levels, it looks like you would need the Design permission level at a minimum to access the Workflow Settings in a list/library. You can also have the Manage Hierarchy permission level, but this would give you a lot more access than to just the Workflow Settings.


2

No, the best you could do I believe is to create your own workflow action that would introduce your own business logic that you could then call in your workflow. http://social.technet.microsoft.com/wiki/contents/articles/13604.sharepoint-2010-create-a-workflow-activity-using-visual-studio-2010.aspx


2

I think these multiple columns only occure, when you rename your workflow during versions. The only downside that comes to my mind is that you will loose your running workflows in that versions (if you have any).


2

You can use "Enforce Unique Values" in the field. Go to the List -> List Settings -> click on the Field you want to change, and select Enforce Unique Values - Yes.


1

Using out of the box workflow actions you can't do it because of security limitations. As solution I would like to suggest to have a look at a Plumsail Workflow Actions Pack. It is extended set of workflow actions for SharePoint Designer which also contains a set of workflow actions for permission management. I'm one of developers of the product and I'm ...


1

It depends a bit on what your actual requirements are. 2010 workflows do have the capability of extracting substrings, but you have to know the indexes ahead of time. There is no functionality similar to indexOf where you can find the index of a certain character. So in your example, if you know that you will always be taking only the first four ...


1

Found the solution.. Thanks to Thiru Srinivasan's blog. Here's what I did.. I developed a custom web part. See the UI and code below. Webpart UI Webpart CS Code protected void CheckIfWorkflowExistsButton_Click(object sender, EventArgs e) { Guid siteId = SPContext.Current.Site.ID; Guid webId = SPContext.Current.Web.ID; ...


1

Basically you need to set EnableModeration = true. var ctx = new SP.ClientContext(siteUrl); var web = ctx.get_web(); var list = web.get_lists().getByTitle('Your list'); list.set_enableModeration(true); list.set_enableMinorVersions(true); list.set_defaultContentApprovalWorkflowId("guid"); list.update()


1

Since this popped up again being refreshed by Community account, I want to summarize the general idea of what you need to do: Workflow Side Use DynamicValue to represent a JSON object to be passed into a REST-service. Also, DynamicValue to receive return values from a REST-service. Use 'BuildDynamicValue' action to add properties to the DynamicValue ...


1

If you cannot use Visual Studio for it, so I would recommend you to take a look on ready solutions, that have already actions you need for SharePoint Designer. You can try Workflows Pack from Virto. And looks like they have that action you need and it's free. Check the actions list it on their website - ...



Only top voted, non community-wiki answers of a minimum length are eligible