Sharepoint - Tasks
Hello,
I have a question. I installed Sharepoint Foundation 2013 and now I'm testing "Tasks". Default settings is, that everyone can see all tasks. I know, I can change the options and everyone will see only self created tasks. But I need to achieve, that
everyone will see his/her private tasks and tasks where is he/she assigned (one person create task and assign other people to this task). Is it possible? Thank you in advance for your answers...
Are private tasks just tasks that have the Assigned To field set? If you filtered for Assigned to '[Me]', then the view would only show tasks that are assigned to that user. You would then set that as the only view or put this filter in for all other views
and control modifying of views with the use of permissions.
Please Mark Answered if my reply solves your problem. Thanks!
Jeff Thai
Technical Solutions Architect, AvePoint
http://www.AvePoint.com
Similar Messages
-
SharePoint Provider Hosted App that can update existing SharePoint Task List
Note: I am unable to take advantage of the Microsoft.SharePoint library directly. Adding a reference results in a 32bit/64bit library mismatch error.
I have to find a solution that uses only the Microsoft.SharePoint.Client extension.
I am looking for example code where provider-hosted SharePoint App loads a SharePoint Task List View that allows users to interact with the tasks.
So far I have only been able to programmatically create and then load the SharePoint tasks list, create and populate a DataTable object and set the datasource of a GridView object to that DataTable.
I am unable to trigger my method linked to my checkbox within the gridview.
Ideally I would like to just customize a Task View that already has this functionality.
Here is my default.aspx.cs code-behind file:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using SP = Microsoft.SharePoint.Client;
namespace SPAppBasicWeb
public partial class Default : System.Web.UI.Page
protected void Page_PreInit(object sender, EventArgs e)
Uri redirectUrl;
switch (SharePointContextProvider.CheckRedirectionStatus(Context, out redirectUrl))
case RedirectionStatus.Ok:
return;
case RedirectionStatus.ShouldRedirect:
Response.Redirect(redirectUrl.AbsoluteUri, endResponse: true);
break;
case RedirectionStatus.CanNotRedirect:
Response.Write("An error occurred while processing your request.");
Response.End();
break;
protected void Page_Load(object sender, EventArgs e)
// The following code gets the client context and Title property by using TokenHelper.
// To access other properties, the app may need to request permissions on the host web.
var spContext = SharePointContextProvider.Current.GetSharePointContext(Context);
using (var clientContext = spContext.CreateUserClientContextForSPHost())
//clientContext.Load(clientContext.Web, web => web.Title);
//clientContext.ExecuteQuery();
//Response.Write(clientContext.Web.Title);
SP.ClientContext cc = new SP.ClientContext("http://server/sites/devapps");
SP.Web web = cc.Web;
SP.List list = web.Lists.GetByTitle("General Tasks");
SP.CamlQuery caml = new SP.CamlQuery();
Microsoft.SharePoint.Client.ListItemCollection items = list.GetItems(caml);
cc.Load<Microsoft.SharePoint.Client.List>(list);
cc.Load<Microsoft.SharePoint.Client.ListItemCollection>(items);
//try
//const int ColWidth = 40;
cc.ExecuteQuery();
DataTable dt = new DataTable();
dt.Columns.Add("Task Name", typeof(string));
dt.Columns.Add("ID", typeof(int));
foreach (Microsoft.SharePoint.Client.ListItem liTask in items)
DataRow dr = dt.NewRow();
dr["Task Name"] = liTask["Title"];
dr["ID"] = liTask["ID"];
//dr["chkTask"] = liTask["Checkmark"];
dt.Rows.Add(dr);
GridView1.DataSource = dt;
GridView1.DataBind();
protected void chkTask_CheckedChanged(object sender, EventArgs e)
//add code here to update Task Item by ID
Response.Write("checkbox event triggered");
Here is my simple default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SPAppBasicWeb.Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" runat="server">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkTask" runat="server" OnCheckedChanged="chkTask_CheckedChanged" AutoPostBack="true" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</form>
</body>
</html>
http://www.net4geeks.com Who said I was a geek?Hi,
Please try to modify your code as below:
using (var clientContext = spContext.CreateUserClientContextForSPHost())
SP.Web web = clientContext.Web;
SP.List list = web.Lists.GetByTitle("General Tasks");
SP.CamlQuery caml = new SP.CamlQuery();
Microsoft.SharePoint.Client.ListItemCollection items = list.GetItems(caml);
clientContext.Load(items);
clientContext.ExecuteQuery();
If the code still not works, I suggest you debug the code or following the blog below to create a Provider-Hosted App for SharePoint and read list items from SharePoint list.
http://blogs.msdn.com/b/steve_fox/archive/2013/02/22/building-your-first-provider-hosted-app-for-sharepoint-part-2.aspx
Best Regards
Dennis Guo
TechNet Community Support -
2013, Resources do not synch if from MS Project to SharePoint task list
SharePoint and Project Professional 2013. I am synching MS Project with a SharePoint task list. Tasks synch just fine, but I continually get the synch error "We can't synch resource 'resourcename' to the tasks list because the resource
does not exist on the SharePoint server. This resource, and any other resource that doesn't exist in SharePoint, will remain assigned to the tasks in your project plan.". If I then select one of the tasks in SharePoint, add the same
resource (same spelling), then the resource gets synched to that and all other tasks in the plan (after I choose to use the SharePoint revisions in the popup window).
I am connected to Project Server and this happens for both a simple site synch to MS Project as well as if I use Project in visibility mode. I am posting to this forum because if I can solve the simple synch to SharePoint resources that will solve
both issues. We will have lots of PMs managing lots of projects and I would like to be able to synch resources from MS Project if possible.
Thank you in advance for your assistance.
Larry Christofaro, PMP, MCITP TribridgeI am also getting this issue, but for few resources, I observed that these resources had a special character in their email address / name in active directory.
When I assign a resource from SharePoint it all works fine as mentioned by you.
Even I am not able to find a solution for this.
It would be great if anybody can guide us through this.
Thanks. -
Error Removing SharePoint Task Attachments via Outlook
Hello,
I'm having some trouble with my SharePoint (2010) task list when handling attachments via Outlook (2007 SP3). I created a set of simple Outlook macros for updating SharePoint tasks. I can create and update the tasks without issue and even attach files to
the task which successfully sync with SharePoint. The error comes when attempting to remove the attachment:
Task 'SharePoint' reported error (0x80004005) : 'One or more items failed to copy. Changes that were made to their attachments are not compatible with the server. The failed items were moved to your Local Failures folder and replaced with copies from the server.
If you need assistance troubleshooting items in your Local Failures folder, a Help topic is available at the following address: http://go.microsoft.com/fwlink/?LinkId=70300. For details, see the log file .'
At first I figured it was my macros so I manually created a SharePoint task and attached a file in Outlook. When I manually attempted to delete the file I received the same error. Researching the error lead to two issues: uploading PDLs and Assigned SharePoint
contact missing valid email. I checked for both and neither are the case.
As info, the SharePoint list was connected to Outlook per the instructions found on other pages. Is there some limitation to removing task attachments in SharePoint? Any help you can give me would be appreciated.
BestHi,
For your issue, it can be related with attachments in the task item. Please make sure attachments have subject that not ends with a dot.
Reference:
http://stackoverflow.com/questions/22472121/synchronizing-tasks-from-sharepoint-list-to-outlook-task-list
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Unable to sync with SharePoint task list
Unable to sync with SharePoint task list
The SharePoint site is invalid - I can hit the site just fine through IE
- The SharePoint site is unavailable. Not so since I can naviagte to it just fine with IE
- The user does not have full or design permissions in the SharePoint site -- My permission level is "Full Control"
All inside a corporate Lan. This is a first time setup? Any ideas?Hi
If you open up the project file from within the sharepoint list and then click sync what happens? -
Integrate Sharepoint task list with exchange server
First question is it possible or not? I have tried to search a lot on this topic but does not find a way to achieve this. I know how to integrate task list with outlook but I want to integrate it with exchange
server. Any help in this regard would be highly appreciated.Hi ,
In SharePoint Server 2010 , tasks lists are blindly synced to the local Outlook desktop application. You can see SharePoint Tasks only on the client computer to which the SharePoint task list was downloaded.
If you log on to another device, you must sync the SharePoint task list to that device in order to see the tasks.
But in SharePoint Server 2013, SharePoint Server 2013 task lists use Exchange Server to sync, tasks are updated in real time and can be seen on any device that you use to access Microsoft Outlook. When SharePoint
Server is connected to Microsoft Exchange Server, and all client computers are connected to Exchange Server, client computers receive information from the task lists directly from Exchange Server.
For a workaround, you can use 3rd Party tool to connect Exchange Server to SharePoint task lists. For more information, you can refer to the blog:
http://www.layer2solutions.com/en/community/FAQs/BDLC/Pages/How-to-connect-SharePoint-lists-to-Exchange.aspx
Reference:
http://support.microsoft.com/kb/2876938
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Documents uploaded from SharePoint Task to a specific document library
This is done in SharePoint online. Users get assigned a task. (I am doing this from workflow using SPD). They need to upload a document and save the task. (I am using a multiline textbox with rich text for this).
Questions:
1. Is there a way to have the documents go to a certain document library? When we have a rich textbox, the default save location is 'site assets'. Is there a way to have the default location to a certain document library?
2. Is there a way to force a certain naming format to the document?
3. Is using a multiline rich textbox the right one?
Would appreciate any pointers.
Thanks, FayeHi Faye,
According to your description, my understanding is that you want to change the destination library where the document would be uploaded to in the multiple line of text column.
#1. We can choose the destination library when we upload the documents, please refer to the picture below:
#2. To force a naming format for the documents, I recommend to create another workflow associated with the destination library to update the name of the documents and set the workflow to start when an item is created.
#3. To achieve this goal, use the multiple line of text column is a good way to upload documents by OOB. You can also create workflows in Visual Studio to enable users to upload documents.
http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8c8ad46-ab67-4966-8b81-3afda8a86da9/upload-a-document-from-a-task-form-in-a-sharepoint-2013-visual-studio-workflow?forum=sharepointdevelopment
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
What I have is a Custom List, that got the following fields for each item.
ApplicationName(SingleText) OwnerApproval(Person) ManagerApproval(Person) InstallExeuction(Person)
Example data:
| ApplicationName: Photoshop
| OwnerApproval: Mister Blue
| ManagerApproval: Mister Red
| InstallExecution: IT Group
What I have now then, is a task list as well. Where the user can press new task, and type in their PC name (singletext) and a dropdown menu to choose what application they want, for instance Photoshop.
I'm not trying to make a workflow that starts when a new item is created to send an email to the OwnerApproval set for this specific application, Photoshop, if he approves it, a new email should be sent to ManagerApproval specific application, Photoshop.
And if the last person ManagerApproval accepts it, a last email should be sent to InstallExecution, which if this person approves the task is marked as completed.
I've been trying for mad now using SharePoint Designer and I almost got it to work.
Can anyone help me? I'm going mad here, I have VERY LIMITED knowledge in sharepoint designer.Hi Plankton,
To achieve this goal, we can create with three Start a task process steps in the workflow and the workflow needs to be set to start when an item is created.
For example, the custom list is called Custom, and the task list is called Task Custom.
We can use the Task Status column for showing as Rejected or Excuted/Installed based on the users’ approval, so we need to add Rejected and Excuted/Installed values to the Task Status column. (same settings for Custom:ManagerApproval and Custom:InstallExecution
as Custom:OwnerApproval with their own column value)
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Tasks re-sorting in the MPP file when synching with SharePoint task list
When synchronizing the MPP file with the ShPt task list, we have seen tasks re-sorting in the MPP file. Very annoying, especially with schedules with a large number of tasks. Just wondering if anyone has experienced this issue, and if you
could point me in the right direction for solving it. FYI, listing below my signature the columns we are synchronizing (in case you know of an issue with one or more of these).
FYI, we are using MS Project 2013 Pro and SharePoint 2010. We tried using the synch feature with MSP 2010 and it did not seem to be available.
Greatly appreciate your help on this topic. Sincerely,
Michael.
Columns to map:
Text30
Text15
Baseline Start
Baseline Finish
Duration
Baseline Duration
Baseline Work
% Work Complete
Flag8
Critical
Number5
Text19
Work
Actual Start
Actual Finish
Columns to uncheck:
Priority
Task StatusHi,
The resource is created as a new resource with no security group and no loggin account, meaning it is strictly a resource and not a user. So this resource can be assigned on others projects but cannot connect to PS in any way (thus does not consume a CAL)
unless you convert it into a user by adding a valid account and a security group.
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
Set mail attribute in SharePoint Task List "107"
We recently migrated to SharePoint 2010 from 2007. During the migration on all task lists the
List Settings > Advanced Settings > "Send e-mail when ownership is assigned" radio button got switched to "No" if it was set to "Yes".
I need to have this switched back to "Yes" on all task lists but have no idea how many of these lists are out there or what their URL may be. I think I found the attribute that needs to be set...
# Send e-mail when ownership is assigned?
$list.EnableAssignToEmail = $true
I need a script that would query each of the 3 site collections we have for tasks list which I believe is
$listTemplate = "107" #Tasks List
and then set the radio button List Settings > Advanced Settings > "Send e-mail when ownership is assigned" to "Yes". Any help would
be immensely appreciated.Updating all Task lists is a bit dangerous as there are SharePoint created Task lists like "Workflow Tasks".
Step 1 is to make sure your PowerShell is selecting the correct task lists. Maybe something like:
Get-SPSite -Limit All |
Get-SPWeb -Limit All |
Select -ExpandProperty Lists |
Where {$_.BaseTemplate -EQ "Tasks" -AND -NOT $_.Hidden -AND -NOT ($_.Title
-EQ "Workflow Tasks") } |
Select Title, BaseTemplate, ParentWebUrl, EnableAssignToEmail
Once you are confident that you have found the correct task lists then you could use something like:
Get-SPSite -Limit All |
Get-SPWeb -Limit All |
Select -ExpandProperty Lists |
Where {$_.BaseTemplate -EQ "Tasks" -AND -NOT $_.Hidden -AND -NOT ($_.Title -EQ "Workflow Tasks") } |
foreach { $_.EnableAssignToEmail = $true; $_.Update() }
BUT... again be very carful to make sure you are only updating the correct task lists!
Mike Smith TechTrainingNotes.blogspot.com -
Outlook email drag and drop to sharepoint task list
We are using using Outlook 2007 (Soon to be switching to 2010) and Sharepoint Server 2010.
We want to allow email drag and dropping which is accomplished through the folder list view. However when doing this this it does not take the attachment.
My question is, is this possible or do we need to develop an add-on for outlook?
ThanksNeither be it SharePoint 2010 or SharePoint 2007, you can not do it without developing an add-on or writing additional code. Depending on your complexity of SharePoint, it is relatively easy to build an add-on if you only want to drag and drop Outlook email
to SharePoint folder.
SharePoint Outlook Integration add on is one of such tool which is functioning well if you have a small number of mails to transfer to SharePoint, but if you drag larger number of Outlook emails to SharePoint, it is quick slow to finish the whole process.
Good luck. -
SSIS Data Flow task using SharePoint List Adapter Setting SiteUrl won't work with an expression
Hi,
I'm trying to populate the SiteUrl from a variable that has been set based on a query to a SQL table that has a URL field. Here are the steps I've taken and the result.
Created a table with a url in it to reference a SharePoint Task List.
Created a Execute SQL Task to grab the url putting the result set in a variable called SharePointUrl
Created a For Each container and within the collection I use the SharePointUrl as the ADO object source variable and select rows in the first table.
Still in the For Each container within the Variable mappings I have another Package Variable called PassSiteUrl2 and I set that to Index 0 or the value of the result set.
I created a script task to then display the PassSiteUrl2 variable and it works great I see my url
This is where it starts to suck eggs!!!!
I insert a Data Flow Task into my foreach loop.
I Insert a SharePoint List Adapter into my Data Flow
Within my SharePoint List Adapter I set my list to be "Tasks", My list view to be "All Tasks" and then I set the url to be another SharePoint site that has a task list just so there is some default value to start with.
Now within my Data Flow I create an expression and set the [SharePoint List Source].[SiteUrl] equal to my variable @[User::PassSiteUrl2].
I save everything and run my SSIS package and it overlays the default [SharePoint List Source].[SiteUrl] with blanks in the SharePoint List Adapter then throws the error that its missing a url
So here is my question. Why if my package variable displays fine in my Control Flow is it now not seen or seen as blanks in the Data Flow Expression. Anyone have any ideas???
Thanks
Donald R. LandryThanks Arthur,
The scope of the variable is at a package level and when I check to see if it can be moved Package level is the highest level. The evaluateasexpression property is set to True. Any other ideas?
I also tried to do the following. Take the variable that has the URL in it and just assign it to the description of the data flow task to see if it would show up there (the idea being the value of my @[User::PassSiteUrl] should just show in the
description field when the package is run. That also shows up blank.
So i'm thinking its my expression. All I do in the expression is set [SharePoint List Source].[SiteUrl] equal to @[User::PassSiteUrl] by dragging and dropping the variable into the expression box. Maybe the expression should be something
else or is their a way to say @[User::PassSiteUrl] = Dts.Variables("User::PassSiteUrl2").Value.ToString()
In my script task I use Dts.Variables("User::PassSiteUrl2").Value.ToString() to display
the value in the message box and that works fine.
Donald R. Landry -
Import task from ms project to special sharepoint list
Hi
Can I import task from ms project to special sharepoint list not to sharepoint task list?
Thanks.From what I understand, it has to be a task list:
http://office.microsoft.com/en-001/project-help/sync-with-a-sharepoint-tasks-list-HA102828524.aspx
The default columns that automatically sync are Task Name, Start Date, Finish Date, % Complete, Assigned To, and Predecessors. If you want to map additional columns, check out this article:
http://support.microsoft.com/kb/2876901
kashif -
I can’t get the Microsoft Office SharePoint Task integration to work with any SharePoint 2010 Workflows. When any end user clicks the “Open this task…”
button from outlook (or any other office application) a warning dialog appears stating that:
“Outlook cannot open a new.
The form contains schema validation errors.”
The error details are:
Element '{http://www.w3.org/1999/xhtml}div' is unexpected according to content model of parent element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}Body'.
Some points to note:
I can replicate this using on several computers running as different users.
I have full control over the site and the task I am trying to open.
When I navigate via the SharePoint site I can open the task.
The Info Path form that cannot be opened was automatically created by automatically SharePoint designer / InfoPath. I have subsequently deleted the form and published
the workflow (which created the InfoPath form again).
I am running Mircosoft Office Professional Plus 2010 version 14.0.5128.5000 (32-bit)
One workaround is to remove the “Open this task…” button as per
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/eb273ee9-6a4b-409c-8eb0-5351bb113386/. This is not ideal and will be my last resort.
Any suggestions and or thoughts appreciated.
Thanks!Yes, I tried that. It did not work for me.
I have 4 site collections. The main site collection is the only one that I receive the error.
When the user clicks on the email link and opens the document for approval, they receive the following error when they click on "Open This Task".
Element '{http://www.w3.org/1999/xhtml}a is unexpected according to content model of
parent element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}Body'.
There is nothing wrong with the task list itself, just the link from the Office 2010 client.
I am wondering if there is a web config or other file on the server that is specific to the site collection??
Tracey -
Sharepoint 2013, MS Project 2013 - Task List not updating when the project file is changed
Hi
I have created a SharePoint task list and timeline from a MS Project 2013 file on my PC. I have then created a new Project file from that task list which then places the new project file in the site asset folder and provides me with a synced copy. I now
only use the SharePoint copy of the project file in my MS Project as any change I make to the project file should be reflected in the Task list and vice-versa
However if I add some tasks into the middle of the project with MS project, the SharePoint Task list is not updated to show these additional tasks. If I open the SharePoint task list with MS Project - from the task list toolbar - the project file shows the
added tasks.....so the MS Project file in the site asset folder is correct but the tasks in the SharePoint task list is not being updated
Anyone seen this before ?
Thanks
GeoffHi Esben,
According to your description, the error occurred when opening the task list with the content approval enabled in Project.
Per my knowledge, when we enable the content approval for the task list, the field named Approval Status which is required will be created in the list.
However, if a project plan doesn’t contain a field that is required in SharePoint, the plan won’t sync.
The error occurs because of the required field Approval Status when the content approval is enabled in the task list, so we need to add the required field as a custom field in Project.
More information:
Sync with a SharePoint tasks list:
http://office.microsoft.com/en-in/project-help/sync-with-a-sharepoint-tasks-list-HA102828524.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support
Maybe you are looking for
-
Error while database export in package SAPDODS_33 (Unicode conversion)
Hello, I am performing Unicode conversion on an upgraded BI 7.0 system. This is running on AIX/DB2. When I take database export for conversion, one package fails (SAPDODS_33) with error "The file system is full". In fact, df -k doesn't show that any
-
TeX 9 - LaTeX ftplugin with lots of firepower
Original Post Hello fellow Archers, Some of you might be interested in trying out my Vim ftplugin TeX 9. If you like to prepare your LaTeX documents with Vim, chances are that you already use some ftplugin for that (LaTeX-Vim, ATP...). So why bother
-
Solaris 10 Update 6 with ISA Bind 9.9.3-P2
Due to CVE-2014-8500, We need to upgrade ISC Bind version to 9.10.2. If we apply Solaris patch 20-Jan-2015 Bind CVE-2014-8500 SPARC: 119783-30 X86: 119784-30 Will it resolve the issue?
-
Wittfella has kindly made a special piece of code, just for me, for his great filemanager Qtfm. I can apply it manually with the aid of nano. and it compiles fine. But, I've tried to make a patch with diff and patch but it is a bit over my IQ. Someho
-
Tracking sales by employee responsible--No HR activated
Hi, Can I make use of the material groups(5 in toatl in sales view1) to generate report for seeing the value/sale of any material instead of using product heirarchy ? If I have created a 3 level heirarchy then how best I can use it to see in a report