- https://containers.doc.sitecore.com/docs/intro
- https://www.youtube.com/user/mastersitecore (check out docker and containers)
- https://sitecore.gallery.video/detail/videos/featured/video/6176364412001/sitecore-10---developer-tour?autoStart=true
- https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html
- https://www.slideshare.net/BartPlasmeijer/sitecore-loves-containers
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
using GraphQL.Types; | |
using Sitecore.ContentSearch; | |
using Sitecore.ContentSearch.Linq; | |
using Sitecore.ContentSearch.Linq.Utilities; | |
using Sitecore.ContentSearch.Utilities; | |
using Sitecore.Data; | |
using Sitecore.Data.Managers; | |
using Sitecore.Globalization; | |
using Sitecore.Services.GraphQL.Content.GraphTypes.ContentSearch; | |
using Sitecore.Services.GraphQL.GraphTypes.Connections; |
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
#!/bin/sh | |
# Git proxy settings | |
echo "Configuring Git..." | |
git config --global http.proxy http://gateway.zscaler.net:80/ | |
git config --system http.proxy http://gateway.zscaler.net:80/ | |
git config --global http.sslVerify false | |
git config --system http.sslVerify false | |
git config --global --unset http.sslcainfo | |
git config --system --unset http.sslcainfo |
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
param( | |
[Parameter()] | |
[switch]$NoBuild, | |
[Parameter()] | |
[switch]$NoSync, | |
[Parameter()] | |
[string]$CmHost="https://habitatstarterkit.local", | |
[Parameter()] | |
[string]$SolutionName="HabitatStarterKit.sln", | |
[Parameter()] |
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 | |
Data Import Wizard provides a way to generate or update content from an external file. | |
.DESCRIPTION | |
The import file uses the properties "Name" and "Id" to help match existing items. | |
.NOTES | |
Requires Sitecore PowerShell Extensions 4.6 or newer. | |
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 | |
Updates the Workflow and Workflow state fields of content items with the given $workflowID and $workflowStateID values. | |
.DESCRIPTION | |
This script can be used when existing content is not assigned to a workflow and workflow state while it should be. | |
This scenario usually occurs when a workflow is assigned to a template but there is already content created based on a previous version of that template (where the workflow was not yet assigned). |
- https://containers.doc.sitecore.com/docs/intro
- https://www.youtube.com/user/mastersitecore (check out docker and containers)
- https://sitecore.gallery.video/detail/videos/featured/video/6176364412001/sitecore-10---developer-tour?autoStart=true
- https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html
- https://www.slideshare.net/BartPlasmeijer/sitecore-loves-containers
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
/* | |
Paste this into the dev tools console on sitecore/admin/pipelines.aspx for a summary of pipeline execution time per request | |
*/ | |
(function() { | |
function pipelinesPerRequest() { | |
const pipelines = Array.from(document.querySelectorAll('.groupheader')).map(el => ({ | |
pipeline: el.querySelector("*[pln-name]").innerText, | |
executions: parseInt(el.querySelector('*[title="#Executions"]').innerText, 10), | |
wallTime: parseInt(el.querySelector('*[title="Wall Time"]').innerText.replace(/[^\d\.]/g, ''), 10) | |
})) |