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
# Change source to match path of folder from support package with .link files that won't build in config builder | |
# Source folder should have a web.config or web.config.link, and the app_config folder below it. | |
$source = "C:\SupportPackage\INSTANCE-Sitecore-prd-cd\Configs" | |
Write-Host "Fix Sitecore Support Package Links" | |
Write-Host "Source Directory defined in .ps1: " -NoNewline | |
Write-Host $source -ForegroundColor Yellow | |
Write-Host "Confirm path and press any key to begin. Press Ctrl-C to exit" | |
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown'); |
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
###### user settings start here | |
# Path to the tenant that you want to update | |
$tenantTemplatesPath = "master:\templates\Project\Showcase" | |
# Site that should be upgraded to the new template - ise asterisk to upgrade multiple sites. | |
$sitePath = "master:\content\Showcase\*" | |
# Path to the component for which you want to introduce your own data source | |
$componentPath = 'master:\layout\Renderings\Feature\Experience Accelerator\Page Content\Promo' |
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
# This script will set up (and install if needed) Apache Solr for a Sitecore instance. | |
# This does NOT configure Sitecore to use Solr, | |
# just the Solr server and cores for Sitecore to connect to once it is set up to use Solr. | |
# So, what does it do? | |
# | |
# * Installs SOLR, if needed, from the Bitnami SOLR stack: https://bitnami.com/stack/solr/installer | |
# * Creates a SOLR config set for the cores to share (shared schema) | |
# * Creates SOLR cores for all Sitecore indexes, including secondary cores to support online reindexing (Switch on Rebuild) |
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 | |
Michael West | |
#> | |
# HasReference determines if the specified item is referenced by any other item. | |
function HasReference { |
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
<%@ Page Language="C#" %> | |
<script runat="server"> | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
// These are the extensions that Sitecore 7 supports indexing content for | |
// See: Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor | |
string[] extensions = new[]{ ".pdf", | |
".html", | |
".rtf", |