Add SharePoint element manifests for PortalSettings pages
- Created elements-v1.1.xml, elements-v2.xml, and elements.xml to define the PortalSettingsPage modules for different versions. - Added upgrade actions for v1.1 and v2 to apply the respective element manifests. - Ensured that the PortalSettings.aspx file is included in the SitePages library with appropriate settings.
This commit is contained in:
11
sharepoint/assets/elements-v1.1.xml
Normal file
11
sharepoint/assets/elements-v1.1.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
|
||||
<Module Name="PortalSettingsPageV11" Url="SitePages" RootWebOnly="TRUE">
|
||||
<File
|
||||
Path="PortalSettings.aspx"
|
||||
Url="PortalSettings.aspx"
|
||||
Type="GhostableInLibrary"
|
||||
IgnoreIfAlreadyExists="FALSE"
|
||||
ReplaceContent="TRUE" />
|
||||
</Module>
|
||||
</Elements>
|
||||
Reference in New Issue
Block a user