-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSPO-template-dashboard.xml
119 lines (119 loc) · 6.59 KB
/
SPO-template-dashboard.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0"?>
<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2015/12/ProvisioningSchema">
<pnp:Preferences Generator="OfficeDevPnP.Core, Version=2.1.1602.1, Culture=neutral, PublicKeyToken=3751622786b357c2">
<pnp:Parameters>
<pnp:Parameter Key="WebSiteAbsoluteUrl" Required="true">https://<your tenant>.sharepoint.com/sites/<site name></pnp:Parameter>
</pnp:Parameters>
</pnp:Preferences>
<pnp:Templates ID="CONTAINER-PNP-DASHBOARD">
<pnp:ProvisioningTemplate ID="PNP-DASHBOARD" Version="1">
<pnp:Lists>
<pnp:ListInstance Title="Resource"
Description="js and css files are stored here"
DocumentTemplate=""
OnQuickLaunch="false"
TemplateType="101"
Url="Resource"
EnableVersioning="false">
</pnp:ListInstance>
<pnp:ListInstance Title="Tasks"
Description="Tasks"
DocumentTemplate=""
OnQuickLaunch="false"
TemplateType="107"
Url="Tasks"
EnableVersioning="false">
</pnp:ListInstance>
<pnp:ListInstance Title="Calendar"
Description="Calendar"
DocumentTemplate=""
OnQuickLaunch="false"
TemplateType="106"
Url="Calendar"
EnableVersioning="false">
</pnp:ListInstance>
</pnp:Lists>
<pnp:Files>
<pnp:File Src="o365.dashboard.js" Folder="Resource/scripts" Overwrite="true" />
<pnp:File Src="o365.dashboard.css" Folder="Resource/content" Overwrite="true" />
</pnp:Files>
<pnp:Pages>
<pnp:Page Layout="TwoColumnsHeader" Overwrite="true" Url="{site}/SitePages/Home.aspx">
<pnp:WebParts>
<pnp:WebPart Column="1" Row="1" Title="Script Editor">
<pnp:Contents>
<webParts>
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3"><metaData><type name="Microsoft.SharePoint.WebPartPages.ScriptEditorWebPart, Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /><importErrorMessage>Cannot import this Web Part.</importErrorMessage></metaData>
<data>
<properties>
<property name="ExportMode" type="exportmode">All</property>
<property name="HelpUrl" type="string" />
<property name="Hidden" type="bool">False</property>
<property name="Description" type="string">Allows authors to insert HTML snippets or scripts.</property>
<property name="Content" type="string"><![CDATA[
<link rel="stylesheet" href="https://spoppe-a.akamaihd.net/files/fabric/office-ui-fabric-core/4.1.0/css/fabric.min.css">
<link rel="stylesheet" href="{parameter:WebSiteAbsoluteUrl}/resource/content/o365.dashboard.css">
<script src="https://code.jquery.com/jquery-1.12.4.min.js" ></script>
<script src="{parameter:WebSiteAbsoluteUrl}/resource/scripts/o365.dashboard.js"></script>
<div id="_summary"></div>]]>
</property>
<property name="CatalogIconImageUrl" type="string" />
<property name="Title" type="string">Script Editor</property>
<property name="AllowHide" type="bool">True</property>
<property name="AllowMinimize" type="bool">True</property>
<property name="AllowZoneChange" type="bool">True</property>
<property name="TitleUrl" type="string" />
<property name="ChromeType" type="chrometype">None</property>
<property name="AllowConnect" type="bool">True</property>
<property name="Width" type="unit" />
<property name="Height" type="unit" />
<property name="HelpMode" type="helpmode">Navigate</property>
<property name="AllowEdit" type="bool">True</property>
<property name="TitleIconImageUrl" type="string" />
<property name="Direction" type="direction">NotSet</property>
<property name="AllowClose" type="bool">True</property>
<property name="ChromeState" type="chromestate">Normal</property>
</properties>
</data>
</webPart>
</webParts>
</pnp:Contents>
</pnp:WebPart>
<pnp:WebPart Title="Websitefeed" Row="2" Column="1">
<pnp:Contents>
<WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/WebPart/v2">
<Title>Websitefeed</Title>
<FrameType>None</FrameType>
<Description>Der Websitefeed enthält Mikroblogunterhaltungen auf einer Gruppenwebsite.</Description>
<IsIncluded>true</IsIncluded>
<ZoneID>wpz</ZoneID>
<PartOrder>2</PartOrder>
<FrameState>Normal</FrameState>
<Height />
<Width />
<AllowRemove>true</AllowRemove>
<AllowZoneChange>true</AllowZoneChange>
<AllowMinimize>true</AllowMinimize>
<AllowConnect>true</AllowConnect>
<AllowEdit>true</AllowEdit>
<AllowHide>true</AllowHide>
<IsVisible>true</IsVisible>
<DetailLink />
<HelpLink />
<HelpMode>Modeless</HelpMode>
<Dir>Default</Dir>
<PartImageSmall />
<MissingAssembly>Dieses Webpart kann nicht importiert werden.</MissingAssembly>
<PartImageLarge />
<IsIncludedFilter />
<Assembly>Microsoft.SharePoint.Portal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
<TypeName>Microsoft.SharePoint.Portal.WebControls.SiteFeedWebPart</TypeName>
</WebPart>
</pnp:Contents>
</pnp:WebPart>
</pnp:WebParts>
</pnp:Page>
</pnp:Pages>
</pnp:ProvisioningTemplate>
</pnp:Templates>
</pnp:Provisioning>