I create my own Task list (I want to have some extra fields).

I go to Visual Studio > New item... > List > "Create a customizable list template and a list instance of it:" > Tasks.

When I deploy this list, unlike out-of-the-box task list in Project Site template, this list does not have a timeline in default (AllItems.aspx) view.
Can I add timeline to a view, and how, from Visual Studio?

  • Do you mean a Gantt view?
    – user2536
    Commented Apr 15, 2014 at 8:33
  • No, I mean the timeline, that is above the view. I don't know, maybe it's a webpart, but how can I add it to AllItems ?
    – Tschareck
    Commented Apr 15, 2014 at 9:32

2 Answers 2


I had the same issue. Making custom lists out of base types in VS creates a new template type. You need to set the Type back to 171 in bot List Template Elements.xml, and List Instance Elements.xml. But my problem is opposite, I would like the base type as 171, because then I also get the new hierachical list where I can indent and outdent tasks. But I would like to remove the Timeline. Anyone?

    Description="My List Definition"

<ListInstance Title="TaskTest"
            Description="My List Instance">

  • 1
    Please separate your answer (which is in the right place) and your question (which should be added as a new question and not in the answers section) Commented May 11, 2014 at 17:48

Timelines are found on the list folder properties. There we can either remove or add additional timelines. I usually handle this in a way that allows the user to add additional timelines on demand.

A solution is to use JavaScript COM and clone the timeline property. You can also add JavaScript to allow the user to change the default timeline graph or just use the web properties to select the default view. This way you can have a master timeline as well as secondary timelines.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.