Status | Explanation |
---|---|
0 | NotStarted |
1 | InProgress |
2 | Complete |
3 | Failed |
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
dotnet sitecore cloud environment create --project-id 6SDCOMzUNvisr41c86Q7fD --name "DEV" |
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
dotnet sitecore cloud project create --name Nehem |
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
dotnet sitecore cloud login --allow-write |
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
dotnet sitecore serialization push -i Content -n dev |
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
dotnet sitecore serialization pull -i Content -n prod |
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
{ | |
"$schema": "../../.sitecore/schemas/ModuleFile.schema.json", | |
"namespace": "Content", | |
"items": { | |
"includes": [ | |
{ | |
"name": "Pages", | |
"path": "/sitecore/content/samplesite/samplesite/Home", | |
"scope": "ItemAndDescendants" | |
}, |
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
# Connec to PROD Environment | |
dotnet sitecore cloud environment connect --environment-id 1rg2Cn4Nz9HlMvJDoMlp0R --allow-write | |
# Connec to DEV Environment | |
dotnet sitecore cloud environment connect --environment-id 5uQrDqtEeitxTlNdOCTmwM --allow-write |
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
Import-Function Get-SiteItem | |
$item = Get-Item . | |
$site = Get-SiteItem $item | |
$title = "Tools" | |
$text = "To edit in Pages, please click <a href='https://pages.sitecorecloud.io/composer/pages/editor?sc_itemid=$($item.ID)&sc_lang=$($item.Language.Name)&sc_version=$($item.Version.Number)&sc_site=$($site.Name)' target='_blank'>here</a>" | |
$pipelineArgs.Add($title, $text); | |
$warning = $pipelineArgs.Warnings[0] |
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 | |
Get the status of latest XM Cloud Deployment in an environment | |
.NOTES | |
NEHEMIAH JEYAKUMAR | |
#> | |
# !!! SENSITTIVE INFORMATION !!! | |
# Store it in Encrypted Connection String and retrieve it or Key Vault |