Skip to content

Instantly share code, notes, and snippets.

View ulilalbab's full-sized avatar
🎓
Learning in Progress

ulil albab ulilalbab

🎓
Learning in Progress
View GitHub Profile
@michaellwest
michaellwest / ImportWizardFromCSV.ps1
Last active April 5, 2023 09:03
Import content from a CSV using Sitecore PowerShell Extensions.
<#
.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.
@Adamsimsy
Adamsimsy / Sitecore Powershell change item template.ps1
Last active April 20, 2023 10:07
Sitecore Powershell examples
$item = Get-Item master:/content/home
$newTemplate = [Sitecore.Configuration.Factory]::GetDatabase("master").Templates["Sample/Sample Item"];
$item.ChangeTemplate($newTemplate)