This file contains hidden or 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
namespace SitecoreAndMore | |
{ | |
using System; | |
using Sitecore; | |
using Sitecore.Data.Fields; | |
using Sitecore.Data.Items; | |
using Sitecore.Diagnostics; | |
using Sitecore.Exceptions; | |
using Sitecore.Globalization; | |
using Sitecore.Shell.Applications.ContentEditor; |
This file contains hidden or 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 | |
Copies all of a web app's files to a given slot | |
.DESCRIPTION | |
Copies all of a web app's files to a given slot. Skips "newrelic" folder as the files are in use. | |
.PARAMETER SubscriptionId | |
The subscription id where the resources reside. |
This file contains hidden or 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
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"variables": { | |
"webApiVersion": "2016-08-01", | |
"sqlServerNameTidy": "[tolower(trim(parameters('sqlServerName')))]", | |
"sqlServerFqdnTidy": "[tolower(trim(parameters('sqlServerFqdn')))]", | |
"coreSqlDatabaseNameTidy" : "[tolower(trim(parameters('coreSqlDatabaseName')))]", | |
"masterSqlDatabaseNameTidy" : "[tolower(trim(parameters('masterSqlDatabaseName')))]", | |
"cmWebAppNameTidy": "[tolower(trim(parameters('cmWebAppName')))]" |
This file contains hidden or 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
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"variables": { | |
"webApiVersion": "2016-08-01", | |
"serverFarmApiVersion": "2016-09-01", | |
"dbApiVersion": "2014-04-01-preview", | |
"networkVersion": "2017-06-01", | |
"siteExtensionsApiVersion": "2015-08-01", | |
"certificateApiVersion": "2016-03-01", |
This file contains hidden or 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
{ | |
"Parameters": { | |
"ComputerUserName": { | |
"Type": "String", | |
"Description": "The username for computers to deploy Sitecore roles to.", | |
"DefaultValue": "" | |
}, | |
"ComputerPassword": { | |
"Type": "String", | |
"Description": "The password for computers to deploy Sitecore roles to.", |
This file contains hidden or 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
using Microsoft.Owin; | |
using Sitecore.Abstractions; | |
using Sitecore.Configuration.KnownSettings; | |
using Sitecore.Diagnostics; | |
using Sitecore.Owin.Authentication.IdentityServer.Extensions; | |
using Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn; | |
using Sitecore.Owin.Authentication.Security; | |
using System; | |
namespace Identity.Pipelines.CookieAuthentication.SignedIn |
This file contains hidden or 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
using Sitecore.Abstractions; | |
using Sitecore.Diagnostics; | |
using Sitecore.Owin.Authentication.IdentityServer.Extensions; | |
using Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ApplyRedirect; | |
using System; | |
using System.Collections.Specialized; | |
using System.Web; | |
namespace Identity.Pipelines.CookieAuthentication.ApplyRedirect | |
{ |
This file contains hidden or 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
using Sitecore.Abstractions; | |
using Sitecore.Owin.Authentication.IdentityServer.Extensions; | |
using Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn; | |
using Sitecore.Pipelines.GetStartUrl; | |
using Sitecore.Sites; | |
using System; | |
namespace Identity.Pipelines.CookieAuthentication.SignedIn | |
{ | |
public class CustomGetStartUrl : Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.GetStartUrl |
This file contains hidden or 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
<configuration> | |
<sitecore xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<settings> | |
<setting name="Xdb.Enabled" value="false" /> | |
<setting name="Xdb.Tracking.Enabled" value="false" /> | |
</settings> | |
<services> | |
<configurator patch:delete="*[@type='Sitecore.XConnect.Client.Configuration.HealthCheckServicesConfigurators.XConnectCollectionHealthCheckServicesConfigurator, Sitecore.XConnect.Client.Configuration'" /> | |
<configurator patch:delete="*[@type='Sitecore.XConnect.Client.Configuration.HealthCheckServicesConfigurators.XConnectConfigurationHealthCheckServicesConfigurator, Sitecore.XConnect.Client.Configuration'" /> | |
<configurator patch:delete="*[@type='Sitecore.XConnect.Client.Configuration.HealthCheckServicesConfigurators.XConnectSearchealthCheckServicesConfigurator, Sitecore.XConnect.Client.Configuration'" /> |
This file contains hidden or 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
import React from 'react'; | |
import { InputViewModel } from "@sitecore-jss/sitecore-jss-forms"; | |
import { | |
createDefaultFieldFactory, | |
FieldTypes, | |
ValueFieldProps | |
} from '@sitecore-jss/sitecore-jss-react-forms'; | |
export const AllFieldTypes = { | |
...FieldTypes, |
OlderNewer