Tag Info

Hot answers tagged

2

I think you should be using the ItemDeleting event to get the name of the task. Since ItemDeleted event happens after the item is deleted you cannot get information about something that already does not exists. There is a reference about the event properties : ...


2

If you want a view of overdue tasks which have not been completed, you do not need the start date. You need the current date, and the Target Completion Date. If current date > Target Completion Date, the task goes on the list. Not sure why you're referring to End Date (Actual End Date). Once there's an Actual End Date, that means the task is done - it was ...


2

Here is one technique from MSDN forums: Create a new custom column of type User and Group. Check the "Allow multiple selections" option. Add users and/or groups to the new column created in step 1. Ref: How to assign values to workflow task person or group custom field? You can adjust the My Tasks view on the task list to show where new column is equal ...


2

I had the same problem, but this solution worked for me SP Designer WF Email doesn't go to SP Group All you have to do is: - Give everyone view acces to the group Go to the Group Settings, then, set everyone on "Who can view the membership of the group?", click OK - Add read permissions for the Sharepoint group to the site. Just be sure to give "read" ...


2

I think you have two "no code" options to do this, but both require some scripting (which to me is code): Have mypage.aspx be an initiation page for a SharePoint Designer workflow. You'd set the initiation values for the workflow in the page, probably using some script to get the value for Reference and pass it into the workflow. Do the whole thing with ...


2

By default it is displayed for 2 days. You can override it with STSADM: http://technet.microsoft.com/en-us/library/cc287681(office.12).aspx If you are using SharePoint 2010, you should also be able to override it using PowerShell.


1

There are a few libraries out in the wild that create PDF files from ASP.NET pages. What you could do is have an application page that displays your tasks in the form of a datatable or SPGridView, and uses one of those PDF libraries to write that page to a PDF. Here's an example: http://www.codeproject.com/KB/aspnet/Creating_PDF_documents_in.aspx Here's a ...


1

This is part of the reason I don't like alerts. I'd turn them off and use a workflow that handles all this. When the isue is assigned, it emails the user, in a format you want, and that's it. Changes to the item don't have to trigger additional emails, unless there's something specific you want to account for where a notification might be required.


1

As far as I'm aware there is no way to put these workflows back to 'In Progress' - once they have been terminated their state is essentially locked in the database. I have attempted to do something similar but outside of the workflow you cannot modify an SPWorkflow. I think the only way would be to terminate them properly. You could perhaps write some code ...


1

Seems that the new Task list needs this feature to be activated: f9ce21f8-f437-4f7e-8bc6-946378c850f0 I see you already have the feature in your SiteDefinition, but you will need to remove the {} surrounding it, and you can trim some of the other markup you have as well: <!--HierarchyTasksList Feature--> <Feature ...


1

The site has to be in the trusted pool of you internet explorer. Also, Active x and JS permissions has to be enabled. (By Jürgen Stürmer]) Add your SharePoint site to trusted and try this as well PROBLEMS WITH INTERNET EXPLORER 10 (IE10) AND SHAREPOINT Also, disable extra add-ons (if any)


1

you can try with following script, $list=$spweb.Lists["workflow list name"] Foreach ($item in $list.Items) { $workflows = $item.workflows Foreach ($workflow in $workflows) { $tasks = $workflow.Tasks Foreach ($task in $tasks) { //Add your logic to update task property $task.Systemupdate() } } }


1

This is a not that common but it does happen sometimes kind of issue. Simply put you have an error in your infopath form. Check the rules on the form for errors and/or any code. If you don't see anything then look in the ULS log at that correlation ID and report back the results if you can't solve it instantly from that error.


1

When a workflow expects an action from a user, this action is assigned to a specific person or group as a task ( = item in the task list). When you design the workflow you can define this person or group as receiver of the task. Example: if you have a workflow for a holiday request, the supervisor must confirm the holiday requests of his subordinates. This ...


1

Script returns lookup value. So you can parse the num part of that string - user ID and then find it by command $web.Users.GetById($parsedId) whole script: $value = "1;#user name"; $arr = $value.Split(";#"); $parsedId = $arr[0]; $user = $web.Users.GetById($parsedId); write-host "mail:" $user.Email


1

James, From SharePoint Designer you can customize the approval page.. I am sure you must have got the ID of the "Holiday Request" item in Query String... SharePoint Designer -> Navigate to approval page -> Edit in Advanced Mode -> Drop a Display Form -> From Ribbon select Parameters, choose Query String, name the parameter correctly -> From Ribbon select ...


1

I think I found the answer - they're coming from our Test SharePoint farm! This Microsoft forum helped me find it. Other folks experienced that the Test SharePoint farm still sends out the emails pointing to Production if a backup & restore had recently been performed. I am currently going into Site Content and Structure, deleting all Active Tasks so ...


1

You just have to set up the calendar sync with the appropriate web address using HTTPS. The error is telling you it's trying to connect to http://oldname.com/sites/abc/develop which isn't the URL you want configured. As a fallback, it is attempting to pull the calendar from http://prodname.com/sites/abc/develop, but that's hitting your HTTP Redirect in IIS. ...


1

If it's a single visual studio workflow, then that's how workflows work. When you create a workflow you don't know the name of either the task or history list (visual studio makes you think you know it, but that's only for debugging) when you associate the workflow with a list you specify the task/history lists either as new or existing lists. But all of ...


1

try this: SPSiteDataQuery q = new SPSiteDataQuery(); q.ViewFields = "<FieldRef Name='Title'/><FieldRef Name='Priority'/><FieldRef Name='Status'/>"; q.Webs = "<Webs Scope='SiteCollection' />"; q.Lists = "<Lists BaseType='0' />"; q.Query = "<Where><Gt><FieldRef Name='ID' ...


1

In my application i need to do something similar. I have a custom Task List with custom fields and associate the Workflow with this Task List. Now Inside my workflow code when the Task Completes it triggers my task1CompleteInkove method and inside there i have a reference to a property of type SPWorkflowTaskProperties and access my custom fields as so ...


1

This will require some customization. There are two "easy" routes you can take, depending on your comfort level If you know jQuery, you could throw a script on the page to find the links to the project details, and change them to go to the tasks list, filtered by the project. If you don't, you can use SharePoint designer and convert the web part to a ...


1

From the way you phrased it, the issue has improved since you tried that fix correct? If not, or if you just want to be complete in your debugging, I would open up SharePoint Manager 2010 (or download it from codeplex if you don't have it) and check the version of the workflow by navigating to the associated list, as well as looking for anything that was ...


1

I've come across this before, I think there is a way to check for workflow locks on tasks - checkout the code on this blog post http://geek.hubkey.com/2007/09/locked-workflow.html. I tried to implement this but wasn't successful, hopefully you might have more luck ! Ian.


1

I assume this is 2007? You could check the number of tasks in your task list which is suggested as one of the causes by the following article: http://social.technet.microsoft.com/wiki/contents/articles/2271.sharepoint-2007-workflow-this-task-is-currently-locked-by-a-running-workflow-and-cannot-be-edited-en-us.aspx Don't know if that will help.


1

You have to create a List with a List Schema (Template) where you can specify which Forms are to be used. http://msdn.microsoft.com/en-us/library/aa543477.aspx Refer to Forms Element. You can do it manually using Sharepoint Manager 2010 or similar tool. Hope it helps! Best Regards


1

If I understood your question correctly, this article would answer your question. Basically you enable the group footers in order to display the "Count" of each group. Then you can modify XSL to fine tune the "Count" to how ever you wish it to be.


1

1) Totally do-able from PowerShell. 2) No, IMO it's a good use of the task list. However some Devs might prefer using Tasks in TFS. For the PowerShell, as pseudo script, you'll need to fix the correct field name and input data formats etc (use SharePoint Manager to find what the field names are) #use the url of the site with your task list e.g ...


1

I actually solved this issue by creating two fields and a workflow in SharePoint designer. I added one field for Current Comments, and another field for Comment History. The Comment History was created with "Add to all content types" unchecked. Then I created a list workflow with two steps that runs if Current Comments is not blank 1> Set Comments History ...



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