Skip to content

Instantly share code, notes, and snippets.

Derek C derekcorreia

Block or report user

Report or block derekcorreia

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@derekcorreia
derekcorreia / SCSPFix.ps1
Last active Jun 4, 2019
Fixes Sitecore Support Package generator config sets when generated with multiple servers. Replace $source with a "Configs" directory containing ".link" files after un-archiving the SSP. Run from Powershell console.
View SCSPFix.ps1
# 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');
View Sitecore.Owin.Authentication.IdentityServer.config
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:set="http://www.sitecore.net/xmlconfig/set/">
<sitecore role:require="Standalone or ContentDelivery or ContentManagement">
<sc.variable name="identityServerAuthority" value="https://dco-xpslim-si.azurewebsites.net" />
<settings>
<!-- The URI of the IdentityServer provider. -->
<setting name="FederatedAuthentication.IdentityServer.Authority" value="$(identityServerAuthority)" />
<!-- The client identifier on the IdentityServer. -->
@derekcorreia
derekcorreia / ce-rtl.css
Created Jan 3, 2018
Userstyle script for Sitecore 8.2 to display text fields RTL
View ce-rtl.css
/* Content Editor styles */
.scContentControl {
direction: rtl;
}
div#ContentWrapper {
direction: rtl;
}
.scContentControlMemo {
direction: rtl;
}
You can’t perform that action at this time.