Hi,
I have a feature that deploys my page layouts via a Module. I want to add a new page layout to an already existing site collection that was created from my custom Web Template. I believe I should be able to do this using the FeatureUpgrading declarative approach. But I am not sure how to do this.
Do I...
- Add the new pagelayout.aspx to the Module in VS.
- This will then update the Elements.XML file in the module.
- Do I then update the appropriate Feature.XML manifest and add the following
<UpgradeActions> <VersionRange BeginVersion="0.0.0.0" EndVersion="1.0.0.0"> <ApplyElementManifests> <ElementManifest Location="MOEnforcementsPageLayouts\Elements.xml" /> </ApplyElementManifests> </VersionRange> </UpgradeActions>
And then run a PowerShell script to upgrade the Feature
Than