Assigning SharePoint tasks to groups<p align=left><font face=Arial size=2>I've noticed that when I assign a task to a SharePoint group where my useraccount is a member of; that task doesn't appear in the task list under SharePoint-sites in my site.</font></p> <p align=left>When I assign a task directly to my useraccount that task does appear in the task list in my site.</p> <p align=left>Is there a way to make tasks assigned to a group where your useraccount is a member to appear in the task list in my site?</p> <p align=left> </p> <p align=left>I get the same when I use the webpart contentquery in Sharepoint. </p> <p align=left>When I filter for content type tasks and use the filter assigned to equals [me] I only see the tasks directly assigned to my useraccount in the list, not those assigned to the group(s) whereto my useraccount belongs.</p> <p align=left> </p> <p align=left>Is there a workaround or something because this is really important.</p> <p align=left> </p> <p align=left>Thanks in advance.</p> <p align=left> </p> <p align=left>Davy</p> <p align=left> </p> <p align=left> </p>© 2009 Microsoft Corporation. All rights reserved.Thu, 12 Nov 2009 14:49:57 Z9dfce274-02d9-4232-80c0-8139a94e96eahttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#9dfce274-02d9-4232-80c0-8139a94e96eahttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#9dfce274-02d9-4232-80c0-8139a94e96eaDavy Maeshttp://social.technet.microsoft.com/Profile/en-US/?user=Davy%20MaesAssigning SharePoint tasks to groups<p align=left><font face=Arial size=2>I've noticed that when I assign a task to a SharePoint group where my useraccount is a member of; that task doesn't appear in the task list under SharePoint-sites in my site.</font></p> <p align=left>When I assign a task directly to my useraccount that task does appear in the task list in my site.</p> <p align=left>Is there a way to make tasks assigned to a group where your useraccount is a member to appear in the task list in my site?</p> <p align=left> </p> <p align=left>I get the same when I use the webpart contentquery in Sharepoint. </p> <p align=left>When I filter for content type tasks and use the filter assigned to equals [me] I only see the tasks directly assigned to my useraccount in the list, not those assigned to the group(s) whereto my useraccount belongs.</p> <p align=left> </p> <p align=left>Is there a workaround or something because this is really important.</p> <p align=left> </p> <p align=left>Thanks in advance.</p> <p align=left> </p> <p align=left>Davy</p> <p align=left> </p> <p align=left> </p>Thu, 28 Feb 2008 08:45:42 Z2008-02-28T08:45:42Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#9fa176dd-57ca-40bd-9bd5-b9a9c724850bhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#9fa176dd-57ca-40bd-9bd5-b9a9c724850bMichelangelo69http://social.technet.microsoft.com/Profile/en-US/?user=Michelangelo69Assigning SharePoint tasks to groups<p>I am having the same issue. I have 3 kinds of users groups within a project (projectleaders, teammembers and viewers). I want to limit the results of a list based on the person who is logged on (based on group membership).</p> <p align=left> </p> <p align=left>With regards,</p> <p align=left>Michel</p> <p align=left><font face=Arial size=2></font> </p>Mon, 17 Mar 2008 12:32:19 Z2008-03-17T12:32:19Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#8248e30c-44af-494d-8008-67a9bf4a2629http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#8248e30c-44af-494d-8008-67a9bf4a2629Tim_909http://social.technet.microsoft.com/Profile/en-US/?user=Tim_909Assigning SharePoint tasks to groupsSame problem here...<br><br>Does anyone know an overview of wich properties the filter works?<br><br>I have made a custom view (Create View). I can filter on the column 'Assigned To'. I have set this to equal [me]. <br><br>I understand [me] stands for the tasks that are assigned to the user and not to the group of users.. <br><br>Does anyone know what the parameter is of identifying the group in place of the user?<br><br><br>The problem is that I want to see all tasks for the current user and all tasks assigned for the group of users the current user belongs.<br>In other words: A combination of the view &quot;By My Groups&quot; and the view &quot;My Tasks&quot;.<br><br><br>Thanx in advance. <br>Wed, 02 Apr 2008 08:05:52 Z2008-04-02T08:05:52Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#1ec49b51-b16f-40bd-9c8b-ec245248d9cbhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#1ec49b51-b16f-40bd-9c8b-ec245248d9cbSeanCansdalehttp://social.technet.microsoft.com/Profile/en-US/?user=SeanCansdaleAssigning SharePoint tasks to groups<p align=left>Hi Tim,</p> <p align=left> </p> <p align=left>I happened to go through the same process of elimination trying to achieve the same results.</p> <p align=left> </p> <p align=left>I did look through the <strong>By My Groups </strong>view to see if there was a setting I could copy, however could not identify such a setting.</p> <p align=left> </p> <p align=left>I presume too that there is a parameter for <strong>My Groups</strong> like <strong>[Me]</strong>.</p> <p align=left> </p> <p align=left>Cheers,</p> <p align=left> </p>Mon, 28 Apr 2008 14:59:08 Z2008-04-28T14:59:08Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#32e9243b-8d6b-4066-8b73-e8ac6815d489http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#32e9243b-8d6b-4066-8b73-e8ac6815d489SeanCansdalehttp://social.technet.microsoft.com/Profile/en-US/?user=SeanCansdaleAssigning SharePoint tasks to groups<div class=quote> <table width="85%"> <tbody> <tr> <td class=txt4> <strong>SeanCansdale wrote:</strong></td></tr> <tr> <td class=quoteTable> <table width="100%"> <tbody> <tr> <td class=txt4 valign=top width="100%"> <p align=left>Hi Tim,</p> <p align=left> </p> <p align=left>I happened to go through the same process of elimination trying to achieve the same results.</p> <p align=left> </p> <p align=left>I did look through the <strong>By My Groups </strong>view to see if there was a setting I could copy, however could not identify such a setting.</p> <p align=left> </p> <p align=left>I presume too that there is a parameter for <strong>My Groups</strong> like <strong>[Me]</strong>.</p> <p align=left> </p> <p align=left>Cheers,</p> <p align=left> </p> <p></p></td></tr></tbody></table></td></tr></tbody></table></div> <p></p> <p align=left> </p> <p align=left>Resolved our problem by creating a new view and setting the filter to.</p> <p align=left> </p> <p align=left>Assign To is equal to [Me]</p> <p align=left> </p> <p align=left><strong>OR</strong></p> <p align=left><strong></strong> </p> <p align=left>Assigned To is equal to &quot;Name of Group&quot;</p> <p align=left><em>Name of Group is a string</em></p> <p align=left> </p> <p align=left>If there are other groups you can click <strong>Show More Columns</strong> to add them.</p> <p align=left> </p> <p align=left>Obviously the only problem with this is it Share Point will not know which group the user is associated with, you'll need to be the intelligent interface.</p>Mon, 28 Apr 2008 15:15:10 Z2008-04-28T15:15:10Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#1efd26b2-fd65-4d9b-8b69-a824e90c4d4ehttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#1efd26b2-fd65-4d9b-8b69-a824e90c4d4eJosep Molahttp://social.technet.microsoft.com/Profile/en-US/?user=Josep%20MolaAssigning SharePoint tasks to groupsI'm having the same problem.<br><br>I want to create a custom list view to show the tasks assigned to the current user group.<br><br>I'm looking for a keyword similar to [Today] or [Me] or another method to make it possible<br><br>Anyone can help me??<br><br><br>thanks<br>Mon, 19 May 2008 11:00:09 Z2008-05-19T11:00:09Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#0b3bfdf2-a311-4e11-860e-9e0963c422b2http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#0b3bfdf2-a311-4e11-860e-9e0963c422b2Murilo Rodrigueshttp://social.technet.microsoft.com/Profile/en-US/?user=Murilo%20RodriguesAssigning SharePoint tasks to groupsHi Guys,<br><br>I think I found a solution without having to code a new web part. The idea is to use the <strong>Membership</strong> comparator, which is used by the &quot;By My Groups&quot; view. The Membership comparator seems to work just like the other comparators (&quot;is equal to&quot;, &quot;is greater than&quot;, &quot;is less than&quot;, etc), but is not available in the &quot;Filter&quot; section of a view.<br><br>Try following these steps:<br><br> <ul> <li>Create a new view, and open the corresponding Aspx in Sharepoint Designer</li> <li>In the source code, locate the <strong>ListViewXml</strong> tag</li> <li>Inside this tag, locate the <strong>Where</strong> clause (begins with &quot;&amp;lt;Where&quot;  and ends with &quot;/Where&amp;gt;&quot;)</li> <li>Replace the contents of this tag with the following:</li></ul> <p> </p> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px"><br>&amp;lt;Where&amp;gt;&amp;lt;Or&amp;gt;&amp;lt;Membership Type=</font><font style="color:blue">&quot;CurrentUserGroups&quot;</font><font style="font-size:11px">&amp;gt;&amp;lt;FieldRef Name=</font><font style="color:blue">&quot;AssignedTo&quot;</font><font style="font-size:11px">/&amp;gt;&amp;lt;/Membership&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name=&amp;quot;AssignedTo&amp;quot;/&amp;gt;&amp;lt;Value Type=&amp;quot;Integer&amp;quot;&amp;gt;&amp;lt;UserID Type=&amp;quot;Integer&amp;quot;/&amp;gt;&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Or&amp;gt;&amp;lt;/Where&amp;gt; <br></font></td></tr></tbody></table></div> <p>Save the page, and you're ready to go.<br><br>Work's for me! Please, give me some feedback if you managed it to work too.<br><br>Regards,<br><br>Murilo</p>Mon, 08 Sep 2008 23:45:41 Z2008-09-08T23:47:06Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#98038b62-da44-44f3-a3e7-f3f40e267919http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#98038b62-da44-44f3-a3e7-f3f40e267919Serge Ghttp://social.technet.microsoft.com/Profile/en-US/?user=Serge%20GAssigning SharePoint tasks to groups Thanks Murilo, that worked for me!!!!<br>Wed, 07 Jan 2009 17:35:56 Z2009-01-07T21:04:47Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#11bed98b-a31c-4077-9395-3ef280f16744http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#11bed98b-a31c-4077-9395-3ef280f16744Shannon722http://social.technet.microsoft.com/Profile/en-US/?user=Shannon722Assigning SharePoint tasks to groups I'm using SharePoint WSS 3.0.  How can I get this code to work.  When I insert the code the view fails to render.Tue, 03 Mar 2009 17:07:46 Z2009-03-03T17:07:46Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#17961ffd-fbe4-42a6-a188-96713b7feccahttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#17961ffd-fbe4-42a6-a188-96713b7feccaShannon722http://social.technet.microsoft.com/Profile/en-US/?user=Shannon722Assigning SharePoint tasks to groups I got it work.  This is wonderful.  Thanks...you're a life saver.Tue, 03 Mar 2009 19:56:21 Z2009-03-03T19:56:21Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#c7720509-7cb5-4a44-b3e4-bca4aa155019http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#c7720509-7cb5-4a44-b3e4-bca4aa155019MadhusudhanHKhttp://social.technet.microsoft.com/Profile/en-US/?user=MadhusudhanHKAssigning SharePoint tasks to groups<font color="#000066"> Hi,<br><br>I have the following requirement with MOSS 2007 workflow:<br>Programatically i want to assign workflow task to  multiple sharepoint groups (to AssignedTo property) of Task list. Assume that i have set the property &quot;Allow multiple selection&quot; = true.<br><br>I want to achieve this using c#.Net code.<br><br>For example:<br>this.workflowProperties.AssignedTo=&quot;MOSSGroup1&quot; + &quot;;&quot; + &quot;MOSSGroup2&quot;;  // Like this i can assign a task to multiple sharepoint groups. Each group may have 10-15 users. <br><br>Through UI it is possible (means it can be achievable using MOSS Object model), by mentioning Group1 (press Ctrl+K) automatically sharepoint picks the group from site groups. <br><br>Please let me know how to achieve this using MOSS 2007 object model? After achieving i can use the filter that you have mentioned.<br><br>Thanks in advance.<br><br><br>with  regards,<br>MHK</font>Wed, 25 Mar 2009 20:55:03 Z2009-03-25T20:58:53Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#a713527f-c140-404f-9917-dba122dbcd46http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#a713527f-c140-404f-9917-dba122dbcd46duncanhopehttp://social.technet.microsoft.com/Profile/en-US/?user=duncanhopeAssigning SharePoint tasks to groupsPerfect, thank you very much.<br/>Thu, 07 May 2009 10:28:39 Z2009-05-07T10:28:39Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#fd31c800-2882-4729-94b6-774e743605a8http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#fd31c800-2882-4729-94b6-774e743605a8Jeremy Mariehttp://social.technet.microsoft.com/Profile/en-US/?user=Jeremy%20MarieAssigning SharePoint tasks to groupsGreat job on this workaround!  I salute you!  This works for me.Wed, 20 May 2009 20:38:40 Z2009-05-20T20:38:40Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#9b8aca45-16c6-432a-bb02-99a083488749http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#9b8aca45-16c6-432a-bb02-99a083488749azzyfordhttp://social.technet.microsoft.com/Profile/en-US/?user=azzyfordAssigning SharePoint tasks to groups<span class=name><span style="color:#008000;font-size:small">Murilo Rodrigues!<br/><br/><span style="color:#000000;font-size:x-small">Thankyou so much for your answer! It worked perfect.<br/><br/>I've tried so many ways to get this to work - and your solution was so simple. Thankyou :-)<br/><br/><br/>You answered this 1 day off a year ago :-)<br/></span></span></span>Mon, 07 Sep 2009 09:15:08 Z2009-09-07T09:15:08Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#e2a76f2f-7bac-4462-a6f6-514a9c03d224http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#e2a76f2f-7bac-4462-a6f6-514a9c03d224Chellappahttp://social.technet.microsoft.com/Profile/en-US/?user=ChellappaAssigning SharePoint tasks to groupsMurilo .. I am not able to get this to work .. is there any way you can send me your ListViewXml code string .. i have the or that connects both the [assignedto]&nbsp; equal to [me] and the or condition appears at the beginning .. it is almost like the code does not see the second selection with the or .. <br />I am going to continue playing with this .. thank you again for this idea .. I have been so nervous about messing with this code (I am an aspx programmer &amp; all this html is so foreign to me ).<br />thanks again for all your help &amp; suggestions ..Tue, 13 Oct 2009 19:43:05 Z2009-10-13T19:43:05Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#916ad5e2-324f-435d-a590-264a3b0a5fe0http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/9dfce274-02d9-4232-80c0-8139a94e96ea#916ad5e2-324f-435d-a590-264a3b0a5fe0valexandroshttp://social.technet.microsoft.com/Profile/en-US/?user=valexandrosAssigning SharePoint tasks to groupsI have the same error to, fails to render, can you please tell me how you fix this error!<br/><br/>Thanks in advance.Thu, 12 Nov 2009 14:49:57 Z2009-11-12T14:49:57Z