Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

provision SPTimelineWebPart xml sharepoint 2013

$
0
0

I need to provision an SPTimelineWebPart (its under content rollup -> timeline) I'm provisioning a ListviewWebPart with the following XML (through a page in a module)

<View List="Lists/TeamEvents" BaseViewID="0" WebPartZoneID="LeftWideColumn" WebPartOrder="2"><![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="Title" type="string">Calendar</property><property name="DisableViewSelectorMenu" type="bool">True</property><property name="InplaceSearchEnabled" type="bool">False</property><property name="ShowToolbarWithRibbon" type="bool">False</property><property name="ChromeType" type="chrometype">TitleOnly</property></properties></data></webPart></webParts>]]>
I need the SPTimelineWebPart equivalent. Does anybody know a trick to get this XML (e.g. by adding it manually and saving it somehow) or even better post the correct XML below.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>