Dipen Shah

Dipen Shah

  • NA
  • 7
  • 2.9k

Hide timeline from task list view template ID: 171

Dec 29 2015 12:09 AM

How can i set "ShowTimelineIfAvailable" Property of Timeline in tasklist view using XML ?

I want to hide time line from the task list view. I have sandbox solution with page provisioning.

i am creating web part using below code:

 <View List="Lists/Tasks" 
BaseViewID="5" 
WebPartZoneID="Header" 
WebPartOrder="1" 
ShowTimelineIfAvailable="False"> // It gives me Error.          
<![CDATA[            
<webParts> 
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> 
<metaData> <type name="Microsoft.SharePoint.WebPartPages.XsltListViewWebPart,Microsoft.SharePoint,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" /> 
<importErrorMessage>Cannot import this Web Part.</importErrorMessage> 
</metaData> <data> <properties> <property name="AllowConnect" type="bool">True</property> 
<property name="Title" type="string">My Task</property> 
<property name="AllowConnect" type="bool">True</property> 
<property name="AllowClose" type="bool">False</property> 
property name="ChromeType" type="chrometype">TitleOnly</property> 
</properties> </data> 
</webPart> 
</webParts>          
]]>       
</View> 

Answers (2)