This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var language = Sitecore.Context.Language; //DE ist hier Kontextsprache | |
var item = Sitecore.Context.Database.GetItem("<id>", language); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Lists the pages which are not published yet (in the current version or any version at all). | |
.NOTES | |
Manuel Fischer | |
#> | |
function Get-AllUnpublishedPages { | |
Get-ChildItem -Path $homeFolder -Recurse | IsPage | IsPublished |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Lists the components (renderings) which are not or no longer linked to a page. | |
.NOTES | |
Ramon Bruelisauer (original code frame) | |
Manuel Fischer (adjustements und changes for using it with renderings) | |
#> | |
<## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Lists all media items that are not linked to other items. | |
.NOTES | |
Manuel Fischer | |
#> | |
function HasReference { | |
param( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Lists all the short URLs () respectively the set aliases in the system | |
.NOTES | |
Manuel Fischer | |
#> | |
$database = "master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Lists the set reminders of all content elements. | |
.NOTES | |
Manuel Fischer | |
#> | |
function Get-AllItemsWithReminders { | |
Get-ChildItem -Path $homeFolder -Recurse | IsReminderSet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Lists the datasources which are not or no longer referenced to a rendering in a page. | |
.NOTES | |
Ramon Bruelisauer (original) | |
Manuel Fischer (adjustements for the Master Solution) | |
#> | |
<## |
NewerOlder