Hot answers tagged

10

You should use Search for this task - it's the fastest and most efficient way. Only downside is a slight update delay (until it's incrementally indexed agina).


10

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("...


7

SharePoint does not support using today's date in a calculated column and the fields are not recalculated unless a value in the item changes. Here is a solution you could try using SharePoint Designer and conditional formatting: Create another calculated column to hold [Due Date]-3 (e.g. Warning Date) Create your [Almost Due] column and put your message ...


7

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

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 ...


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

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 ...


5

Partly inspired by this question, and partly because we developed a product that has this functionality, I've written a blog post (linked at the bottom) on how to achieve this. The summary is: JavaScript: Use a Content Editor Web Part. Designer: Create a custom view in SharePoint Designer (as already proposed by @Laurie). Code: Make your own custom field ...


5

There are a few products in the market that currently do this, for example Lightning Conductor by Lightning Tools: http://www.lightningtools.com/lightning-conductor-2010-web-part.aspx. This tool (I think) can even rollup across web applications too.


5

Sure, "collect feedback" should work for your needs. I would do something like this: Create a new Tasks list, called "Reading List" Add the Collect Feedback workflow to the list Add the group or users you want to assign tasks to in the "reviewers" field Configure the workflow like so: set it to assign tasks in parallel so all members get a task ...


5

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(...


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

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.


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

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 "...


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

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 ...


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

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

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 ...


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

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

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

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


3

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"];...


3

From what I understand, this option is only available in lists where the Assigned To Column is present within the content type. It is used to notify the person or group that the task has been assigned to them, rather than to notify the creator that someone has picked it up. When your create a new item in a list where this enabled the following message ...


3

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); ...


3

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 ...


3

Use CSOM / JSOM with CAML to get all tasks where ParentID is NULL, i.e. all top level tasks. // Create Context etc first List list = context.Web.Lists.GetByTitle(listTitle); CamlQuery query = new CamlQuery(); query.ViewXml = @"<View> <Query> <Where> <IsNull><FieldRef Name='ParentID' />&...


2

Im on the search wagon here. A way of avoiding the the indexing delay, you could build your own custom federated search web part that looks at SharePoint through the API (SPSiteDataQuery)



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