Useful Sharepoint Designer Custom Workflow Activities
CodePlex Home
Register
|
Sign In
|
CodePlex Home
Home
Downloads
Discussions
Issue Tracker
Source Code
People
License
Close
RSS
All Project Updates
Discussions
Issue Tracker
Releases
Reviews
Source Code
Wiki & Documentation
RSS
Show Page Comments
|
Print View
|
Page Info
|
Change History (all pages)
Home
Available Activities
Grant Permission on Item
Grant Permission on Item
Value of permission field by default can be one of the following values:
Full Control
Design
Contribute
Read
If any custom permission levels are defined, you can also specify those. For help on creating custom permission levels see
http://technet2.microsoft.com/Office/en-us/library/c5dd8b7e-202d-4d33-8535-5c03f88ea1ff1033.mspx?mfr=true
Last edited
Jul 13 2007 at 6:34 PM
by
unclepaul84
, version 8
Comments
ldadams
Aug 10 2007 at 6:30 PM
This seems to be setting the permission on the list not the list item. Any ideas?
Ak
Aug 22 2007 at 8:35 AM
I seem to have the same problem with permissions as Idadams has...
sameerkumar
Aug 22 2007 at 9:30 PM
hello unclepaul84,
I wanted to grant contribute permissions to a 'Reviewer' and 'Approver'(columns created by me) in my document library.
but, Grant Contribute permission on 'Documents in Draft' to 'Documents in Draft:Reviewer' does not work for me. The workflow never stops and nothing happens, i have to terminate it.
I typed in the 'Contribute' and 'Documents in Draft:Reviewer' manualy.
Help!!??
Sameer
sameerkumar
Aug 22 2007 at 10:55 PM
Ok i got it. I changed in the .xoml file to change to reviewer and approver.
But it doenst work with multiple users entered in Reviewer and Approver.
adjohnson
Oct 9 2007 at 6:29 PM
I was able to update item level permissions on the current item with no problem but when I try to update permissions on an item in a different list, the workflow fails. Is this by design?
atjordan
Dec 11 2007 at 2:10 PM
I have been trying to grant users access to an item in another document library. I get an error in the workflow if the user does not have some sort of access before the workflow starts. I can change the users access level but I can not grant a user access who did not previously have access. Any one have any solutions to offer?
fflynn
Jan 24 2008 at 1:52 PM
No matter what permission I grant, when I look up the permissions on the doc library after running the work flow it says limited access?
kaipirinha
Feb 13 2008 at 2:03 PM
Hi unclepaul84,
thanks for that nice Workflow - Action.
But there is the problem, that when adding mutiple users in one field - only the first user gets the permission to that item.
Is there a workaround or was it my falt that this action doesn`t work?
--kai
kford
May 19 2008 at 4:20 PM
This command, in conjunction with the Delete Permission command, allowed me to meet client requirement to make item read-only based on a specific field value in the list. Created workflow to fire on Change, deleted edit rights to groups, granted read rights to groups. Done.
Thanks so much.
jxupi
Jun 3 2008 at 8:51 AM
hi, i'm having problems with this action. at the moment to select the permission sharepoint designer doesn't show me any permission levels. I can select anything, like columns. what can i do? thanks
kel2525m
Jun 4 2008 at 5:41 AM
This action is really wonderful. Like kford, combinding this action with specific Permission Level, allowed me to complete some requirement without coding. For example, we can automatically make user who create or upload item is only user who can modify that item.
kford
Jun 4 2008 at 8:12 PM
I agree with unclepaul84. The ability to use this action when the Person field contains multiple values would be a huge help. I am currently trying to parse the field and run the actions against the values. But since SPD doesn't offer looping it makes it very difficult to anticipate how many values will be in a multi-value field.
Saulius
Jun 12 2008 at 5:31 AM
It's a best WSS "add-on" I have ever seen! Thanks.
I'm waiting modifications that will allow to work with multiple users. I wish a good look to kford. :)
CFlorian
Jun 30 2008 at 1:53 PM
HELP: Can anyone tell me if this is for MOSS 2007 ONLY, or will it work with stand-alone WSS 3.0?
Particularly the Permissions part.
sakons
Jul 14 2008 at 10:54 AM
Hi
I am trying to to give permissions to an Active Directory Group whitch its name is composed from several words - something like "student grooup 2007"
when I give the permission in the workflow (after the item was added in sharepoint)- it is granted but there is an error (An error has occured in Set Permission for Appeal Record) on an action that the sharepoint /system created - I dont use that account literaly
Many thanks
sakons
sakons
Jul 14 2008 at 8:32 PM
Hi everyone
My problem from above was solved - the permission problem was becuse of a weird user name - the activity works fine
pier71
Aug 21 2008 at 12:07 PM
Hi all,
even if i specified "Edit Items" or "Full Control" for value of permission, what i get is the "Limited Access" instead of those specified. Anyone has the same problem?
matteomancusoplex
Oct 15 2008 at 9:59 AM
Hi,
any news for the multiple user grant permissions?
Thanks
petpet
Oct 16 2008 at 10:34 AM
Hi
I can't understand completely this action
I have a user that is reader. I need to assign him contribute permission fro one action and then remove it again
But it doen;t work cause I cannot add Contribute permission to someone who's reader because he hasn't rights to change the permission to Contribute ( cause his reader )
E.g:
Grant Contribute permission MyList to Mylist:Created By
But the creator is Reader therefore he cannot change the permission to Contribute
Do you have any idea /
thanks
br
peter
ASFJacobW
Nov 18 2008 at 5:31 PM
Fantastic work on the custom workflow activities - hopefully these will be included in the next version.
I have a question about the "Grant Permission on an Item" activity. I'm using this in a workflow that processes forms to give only the designated approver access to the item. The designated approver is a field on the form. I've currently got it working if the submitter puts in the approver's userID, but it looks like SharePoint won't resolve the name using display name (ie - John Doe) or email address (ie - john_doe@company.com). Is this a limitation of the activity or SharePoint, or is it something I'm doing wrong perhaps? I've tried passing the display name as concat(FirstName, " ", LastName) as well as a whole string (ie - "FirstName LastName"). Any help is appreciated. Thanks!
octane165
Dec 3 2008 at 9:30 AM
A very nice improvement would be to allow working with multiple users Thanks a lot !!
KellyB
Jan 8 2009 at 5:21 PM
I have a workflow that has 6 levels of approval for a form. I used the contact field to look up the email address and that seemed to work. It assigned an item, sent an email and logged to the workflow history. The data source is Contacts, Field email address, the list item Field is Contacts: job Title and the value is the actual title.
Hope it helps.
costabella
Jan 24 2009 at 12:10 AM
I have a registration list. I'd like to grant read permission on a library item (separate from the registraition list). Can I grant the read permission for an item in another list? I can't seem to get it to work. Any workaround ideas?
deepaksamvictor
Feb 10 2009 at 5:47 AM
I have a list for item level permission. While uploading a document i got this error
The file WFPermission Documents/KB Test page.doc has been modified by SHAREPOINT\system on 10 Feb 2009 10:06:44 +0530.
But the permission level is assigned correctly.
Can anyone help me to solve this issue?
2009user
Feb 25 2009 at 6:44 PM
There is no way to grant permission to the user who created current list item to another list. The user has contribute permission for List1, when ever a new item is created in List 1, a workflow copies the list item to List 2 (For which this user doesn't have any permissions). And that is why the copy item workflow fails. I would like to use Grant Permission on Item action to grant the user permission to Add to list 2 and then copy item. But there is no way to do it. Any ideas, suggestions will be much appreciated.
crenstrom
Mar 3 2009 at 10:15 PM
Fantastic addition to SharePoint Designer. Thanks!
dtandukar
Mar 4 2009 at 8:17 AM
hi this tool seems to be very useful but could not figure out where/how to get permission level? I would be grateful if someone could tell me.
Gopalm
Mar 10 2009 at 7:56 AM
Hi dtandukar,
Just you need to Type the Permission level as a Text, there is no lookup to get the existing permission levels in the site.
parth8
Mar 23 2009 at 9:47 PM
When I bring up my SP Designer and click "Grant permission..." under actions, nothing happens (i.e. the action does not get added)... Can someone help? Did anyone had similar issue? Thanks ...
dtandukar
Mar 24 2009 at 6:20 PM
I always have this message in red, what does this mean?
The ID specified for replacement or deletion, 'MenuItem_Settings', does not exist as a menu item
still not able to make this work :-(
Akthar
Apr 2 2009 at 11:22 AM
HI Parth8,
the action does not appear because you need to active the feature in Central Admin for the web application first, pelase see the readme file attached to the download
dtandukar
Apr 20 2009 at 5:53 AM
can this workflow be attached to multiple lists? if yes how?
Deependra
ASFJacobW
Apr 27 2009 at 2:25 PM
UPDATE: We found a workaround for the issue we were seeing. By using a Contact Selector field for the approver instead of a text box, we were able to validate the name from Active Directory and provide the username to SharePoint. The only downside is that after an item is deleted, the item-level permissions stay in the library (ie - if jxdoe had access to a form and the form is deleted, jxdoe still shows as having 'Limited Access' in the library permissions). I haven't found a way to clean up the permissions after the item is deleted but otherwise its working like a charm.
RInf
Jun 2 2009 at 9:12 AM
Hi .. even I'm also facing prob of parth8 .. I'm able to add conditions such as 'Is user a member of sharepoint group' etc.. but when I try add action item such as 'Delete List Item Permission'.. the action is not added to the action list .. Please help
bullish35
Jun 10 2009 at 1:48 AM
I have a workflow attached to a form library. At several points throughout the workflow, I need to update a separate document library with metadata contained in the form library.
I have tried using the Grant Permission action to elevate the permissions in the document library, so that I can update the metadata. I keep receiving 'Error updating a list item' messages. Shouldn't I be able to use a workflow to update fields in a document library with data from a form library after elevating the permissions with this action? Any insight would be greatly appreciated.
ianrichardson
Aug 26 2009 at 4:01 PM
Hi first off I know this stuff is a year or two old but the whole project helped me with 3 items I felt should have been out of the box so thanks!
My query is relating to choosing a SharePoint Group when granting permissions on a list item, My workflow works fine for individuals regardless of current permissions in my test list but as soon as I choose a group the following happens:-
1. The Workflow states "in progress" for a a long time at least 30 seconds (normally 1-2secs) - bad
2. The workflow eventually assigns the correct permissions to the group against the list item - good
3. The workflow returns "Error Occured" and does not process any subsequent actions or steps - bad
This would seem similar to a comment from "sakons wrote Jul 14 2008 at 10:54 AM ", yet he said it was a problem related to weird user names?? I don't think I have weird user names and this is the case with whichveer group I try and on multiple lists.
Does any one have an idea what the issue is? or can you confirm it works fine for you when choosing SharePoint Groups?
Thanks in advance.
nabeelnasser
Sep 16 2009 at 9:31 AM
Hi, i've just installed the addin and i'm trying to grant permission to an item. although it shows the item as having the correct permission level it doesn't allow the user to view it? would the sharepoint permissions take precedence over this item? for example if i've set the list to only allow users to view their own entry and those they approve would this override setting an item level permission for someone else to view/approve that item? it seems to, so how do i get around it?
mellenburg
Oct 21 2009 at 2:21 PM
I'm having the same issue as parth8. I have installed the code and activated it though central administration. I see the new custom workflows in Sharepoint Designer, but when I click on any of the new ones, nothing happens. The others work fine.
jamin824
Oct 29 2009 at 8:13 AM
I have the same problems as mellenburg and parth8. It has been installed and activated but the new workflows don't get added in SPD
tjl11
Nov 4 2009 at 4:12 PM
I was able to update an item in the list , say list B during the workflow running on List A.
I have course and registration list where user has only read permission to course list, but contribute to registration list. When course has limited seat available, as users register or unregister for the course, the filled seat column in the course list need to updated accordingly.
What I did was created 2 workflows on course list,one to increment and another to decrement the filled seat column. I set both workflow to launch manually. I have two workflows on the registration list, one when the new item is added(registration) and another when the item is deleted. First one is set to run when item is added and second one is set to run when item is changed( for deletion or unregistration). Then, I use "Start a workflow" action in the workflow that runs for the registration list when an item in added to launch decrement seat workflow on course using course ID as look up that is same in both list. Similarly, when item is deleted from registration, I use the "start a workflow" action in the workflow that runs for the registration list when an item is changed to launch increment seat workflow on the course. This doesn't seems to have permission issue even though user has read only rights to the list that is being updated.
I am glad that it works after struggling for a long time. I haven't tried copying an item, but I think it should work with similar technique. With document library similar approach should work as well since it is special type of list.
Hope that helps!!
knfitz
Dec 1 2009 at 9:41 PM
I'm having a little trouble. I'm trying to change the user permissions to any document that saved to the library. If the user already exists then it will update the permissions, but if they don't exist it will not add them and will error out. How can I make this work. everyone in the company will be using it, but I only want the managers plus the contributor to be able to see the submitted documents.
SycoDuck
Dec 15 2009 at 9:12 PM
jamin824, mellenburg, and parth8. I too was having this problem, then remembered that I had more than one site, and had to activate the "Web Application Feature" for the correct Web application, just switch to the correct "Application/Site" at the top of the Manage Web Application Features Page, then activate it for the correct Application. I know the post is old, but maybe this will help somebody else. Once activated, it appears in SPD as expected. Now to hopefully make it work, looks great so far. Thanks for sharing this!!!!!!
Sign in to add a comment
Downloads
Recommended release:
SPDActivities 0.5.0 Alpha
Mon Jan 21 2008 at 8:00 AM
17 ratings
29099 downloads, 14 reviews
More info
Recent reviews
(
more
)
5 stars.
Thanks for this release! It was very heplful for me :)
5 stars.
I got the actions to come up by looking at the issues sections and adding the auth... (
more
)
Microsoft Permissive License (Ms-PL) This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 1. Definitions The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. A "contribution" is the original software, or any additions or changes to the software. A "contributor" is any person that distributes its contribution under this license. "Licensed patents" are a contributor's patent claims that read directly on its contribution. 2. Grant of Rights (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. 3. Conditions and Limitations (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
Ads by The Lounge
Activity
7
30
All
days
Page Views
6423
Visits
2459
Downloads
397
Related Projects
Custom SharePoint Workflow Starting Event Handlers
Updating...
© 2006-2010 Microsoft
|
About CodePlex
|
Privacy Statement
|
Terms of Use
|
Code of Conduct
|
Advertise With Us
|
Version 2010.1.12.16187