Skip to content

Commit a56836f

Browse files
committed
cleanup references to deprecated UI component
1 parent cad3546 commit a56836f

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

docs/transform/modernize-userinterface-site-pages-configuration.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -76,28 +76,6 @@ PageTransformationInformation pti = new PageTransformationInformation(null)
7676
};
7777
```
7878

79-
## AddPageAcceptBanner option
80-
81-
Type | Default value if not specified
82-
-----|----
83-
Bool | false
84-
85-
Setting this option will make the page transformation framework put the configured PageAcceptBanner web part on top of the created modern page. Using this web part the users accessing the page can decide whether they want to keep or discard the created modern page. See the [Page Transformation UI](modernize-userinterface-site-pages-ui.md) article to learn more on how to install and configure the default page banner web part.
86-
87-
```Csharp
88-
PageTransformationInformation pti = new PageTransformationInformation(page)
89-
{
90-
// Modernization center setup
91-
ModernizationCenterInformation = new ModernizationCenterInformation()
92-
{
93-
AddPageAcceptBanner = true,
94-
},
95-
};
96-
```
97-
98-
> [!NOTE]
99-
> This option is not available for publishing page transformation.
100-
10179
## TargetPagePrefix option
10280

10381
Type | Default value if not specified

docs/transform/modernize-userinterface-site-pages-powershell.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Library | | Wiki/webpart pages | The library holding the page. Use this `-Librar
2929
Folder | | Wiki/webpart/publishing pages | When the page you want to transform lives in a folder then you can specify that folder (e.g. `-Folder "Folder1/SubFolder"`).
3030
WebPartMappingFile | | All page types | Page transformation is driven by a mapping file. The cmdlet has a default mapping file embedded, but you can also specify your custom web part mapping file (`webpartmapping.xml`) to fit your page transformation needs (e.g. transforming to 3rd party custom web parts). You do this by specifying the path to the file via the `-WebPartMappingFile` parameter.
3131
Overwrite | $false | All page types | When you add `-Overwrite` then the page transformation framework will overwrite the target page if needed. By default the new page name has a prefix of Migrated_, which then implies that if Migrated_YourPage.aspx already exists (typically from a previous page transformation effort) it will be overwritten.
32-
AddPageAcceptBanner | $false | Wiki/webpart pages | Using `-AddPageAcceptBanner` will make the page transformation framework put the configured PageAcceptBanner web part on top of the created modern page. Using this web part the users accessing the page can decide whether they want to keep or discard the created modern page. See the [Page Transformation UI](modernize-userinterface-site-pages-ui.md) article to learn more on how to install and configure the default page banner web part.
3332
ReplaceHomePageWithDefault | $false | Wiki/webpart pages | The default behavior is to transform your site's home page to a modern page like any other regular page. If you use `-ReplaceHomeWithDefault` then a site's home page will be transformed to a 'default' out-of-the-box modern home page, so the one you would get with a newly created modern team site.
3433
TakeSourcePageName | $false | Wiki/webpart pages | The default behavior is to give the created modern page a name that starts with the prefix Migrated_ and let the original page keep it's existing name. When `-TakeSourcePageName` is specified the newly created page gets the name of the original page and the original page is renamed with a prefix Previous_. Set this option if you're sure you want to move forward with the modern page as it will ensure that all links pointing the original page now result in the new modern page being loaded.
3534
ClearCache | $false | All page types | To optimize performance certain data (e.g. list of available modern web parts, calculated list of fields to copy metadata for) is cached after the first execution. This cache will stay valid during the complete PowerShell session unless you use the `-ClearCache` switch. Restarting your PowerShell session also clears the cache.

0 commit comments

Comments
 (0)