Hot answers tagged

12

In SharePoint 2013, there are two task list templates and, consequently, two types of task lists: SPListTemplateType.Task (Id==107) – this one is from SharePoint 2010 SPListTemplateType.TasksWithTimelineAndHierarchy (Id== 175) – this one is introduced in SharePoint 2013. The second list is quite different, both visually and internally, for example it has ...


11

Tasks new and edit forms, use JavaScript code that embed inside these form to show unrequired controls. When click the “Show more” button, this will fire rlfiShowMore JavaScript function. Then if you want do disable this functionality, you can call this function after page loaded: <script> (function () { _spBodyOnLoadFunctionNames.push("...


10

So in SPD Workflow there is limit of using 50 variables. There are following options to solve the issue. You can limit the number of variables to 50. Increase this limit. So to increase this limit there is no other way then to update the database directly, that we strongly not recommend this to be done. Update WorkflowServiceMaxArgumentsPerActivity row in ...


8

Go to your Tasks List and go into the List Settings. Click on the Due Date column and tick the Calculated radio button. In the formula, put [Today]+2 and click OK. Go back to the list and select New and you'll see the Due Date is 2 days in the future. If you need to do this within the workflow, you'd use an Add Time to Date action, setting it up to add 2 ...


7

Purpose Send e-mail when ownership is assigned option corresponds to EnableAssignToEmail property in List and according to MSDN: this value specify whether e-mail notification is enabled for the list Alerts are sent to recipient specified in Assigned To field There is no dependency to Due Date field Alert types When Send e-mail when ownership is ...


7

to anyone who finds this in the future here is how i got around it.


6

Create a custom permission level for the site based on Contribute, but deselect the delete option. Adjust the permissions of the task list so that the users with Contribute access now use this custom permission level and they should no longer be able to delete items, just read, add, and edit.


6

SharePoint does not provide a method of restarting a workflow. You can however cancel a running workflow and start it again. A good example of canceling a running workflow can be found here: http://blog.brianfarnhill.com/2008/10/how-to-cancel-a-workflow-programmatically The snippit of code below will start your workflow. private static void StartWorkflow(...


6

There's a simple No code solution there. Just change the order of the columns in the content type. Task Status should come before Priority for e.g. If Priority is at 8 and Task Status is at 9, just switch the column order value so in the end it would be Priority at 9 and Task status at 8.


5

I understand you want approval workflow on a item and approval task is assigned to group. the item is considered approved when any one person in the group approves it but considered rejected only if two persons reject it. Assuming you start a new custom workflow in SHarepoint Designer, following the pseudo code below should help you. You may leverage "...


5

I don't know how many projects will be created throughout the span of your application or the background of your requirement , but i would suggest an alternative plan of considering to make your Project as a sub site instead of Document Set, since you need a separate task list,risk list, site feed etc for each project. So alternative way would be : Create ...


5

Considering that you are using a SharePoint group and presuming that the Assign a task step is not running inside an App Step, then make sure that everyone can view the membership of the group. Go to the group settings page and the select Everyone option under the "Who can view the membership of the group?" question. The reasoning behind this is that the ...


5

The ID field you are trying to use in your Calculated Column is not known until the Item is saved . Hence using it in your calculated column may not give you the required output.You can use an event handler or a workflow to update the list items. My preference would be a simple workflow that runs when the items are created.


5

It isn't really an issue either way, but the preferred approach is to create a list or library like "ChangeRequests' then after it is created, rename it to "Change Requests". Emailing a link shouldn't cause problems, the browser will handle it correctly. It is really more of a personal preference than anything, but CAML casing it makes it easier to read in ...


4

follow these steps to solve the notification issue / problem with the Task process in SharePoint 2010 workflow (share point 2010 designer) (this apply to the custom task process too) : on the main workflow designer (2010) page click "Edit Workflow" then on the next page where you see all your workflow steps point to the step which has the task process, a ...


4

Well I can't believe I didn't check, but the ParentId should be ParentID, a typo. I got the answer from here.


4

Before That i suggest one condition, Trim Assigned to Column (Group having Current User or Created by User).


4

Not sure if anyone's paying attention to this question anymore, but I just had the same issue. I had been using the "Start a Task Process" activity in the workflow, but I wanted to link the user directly to the edit page. Normally, the email contains a link to the view properties page for the task (i.e., the [%Task:URL%] variable). But then users need to ...


4

I know that this is a rather older post. I was dealing with the same issue. The Timeline component stores most of the configuration data in a property bag stored off of the RootFolder for the specific Task List. var list = SPContext.Current.Web.Lists["Tasks"]; list.RootFolder.Properties["TimelineDefaultView"]; list.RootFolder.Properties["Timeline_Timeline"];...


4

The easy way to accomplish this is by changing the AssignedTo field in the task list, although I know this isn't the preferred method. To do this I had the JavaScript update the task list with two fields I created called "Approval" and "ReassignedTo". In the Approval Field I placed the value "reassigned" and in the ReassignedTo field was the value of the ...


4

How to approve workflow task item using JSOM The following example demonstrates how to approve task item using JSOM function approveTask(listTitle,itemId, success,error){ var ctx = SP.ClientContext.get_current(); var list = ctx.get_web().get_lists().getByTitle(listTitle); var item = list.getItemById(itemId); item.set_item('Completed',true); ...


4

This is limitation. The additional fields cannot be of type Currency, Person, Lookup, Calculated, Custom Columns. See here for more information: https://social.msdn.microsoft.com/Forums/en-US/0753df63-8b30-4594-a8bd-ef8ba9514103/content-type-or-lists-lookup-column-cant-show-additional-fields-which-are-choice-or-lookup-columns?forum=sharepointgeneralprevious


4

Yes, but the other Answer is just part of the Answer All this applies to Language Localized values as well % Complete is set to 0 when you set the Status to Not Started % Complete is set to 100 when you set the Status to Completed % Complete is set to 50 when you set the Status to any other value This is rather annoying behaviour when you add an extra ...


4

1. Recording completion date of task when it is marked as completed. ( In your case a check box so below formula may change or you) You can create a calculated column Completion Date =IF([Status]=="Completed",[Modified],"Not Completed") This will capture the date when task is marked completed in the task list. 2. To track tasks which are already ...


4

You have to edit the view and filter completed tasks. It can be confusing because there isn't an intuitive value to filter for the Completed column. Open the view menu and click Modify this view. Scroll down and expand the Filter option (if not already expanded). Select Show items only when the following is true: Specify the following criteria: Column: ...


4

Internally, percent complete is stored as a value from 0.00 to 1.00 so 100% would be 1. Change the Value you set in the workflow to 1 and the problem should be resolved.


3

SharePoint isn't really that hierarchical, it is all based on flat lists. That being said let me show you some hierarchy: You can have related lists. So you could have task list 1 which references task list 2. Now could have One main task in task list 2 which is being referenced from multiple "sub tasks" in task list 1 You can use the regular task list for "...


3

You can use calculation field =[Created]+2


3

I would not use a workflow for this because... You want it to execute at a specific time You want it to run for / check multiple items. Workflows are bad at both those things. I would put the code in a console application or powershell script and schedule it to run everyday at 4:00PM in task scheduler. As mentioned by @Alexander, a timer job would also ...


3

Yes. Any users that need to be approving or reject must have contribute (aka edit) rights on the workflow task list. Thanks


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