Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/richardszalay/sitecore-commerce-configuration
Tools for configuring and boostrapping Sitecore Commerce Engine configuration
https://github.com/richardszalay/sitecore-commerce-configuration
Last synced: 24 days ago
JSON representation
Tools for configuring and boostrapping Sitecore Commerce Engine configuration
- Host: GitHub
- URL: https://github.com/richardszalay/sitecore-commerce-configuration
- Owner: richardszalay
- Created: 2018-06-30T12:13:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-01T11:01:12.000Z (over 6 years ago)
- Last Synced: 2024-08-03T02:04:43.305Z (3 months ago)
- Language: PowerShell
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Sitecore - sitecore-commerce-configuration - Tools for configuring and boostrapping Sitecore Commerce Engine configuration. (Commerce)
README
PowerShell Cmdlets (and later VSTS Tasks) for configuring and boostrapping Commerce Engine environment policy configuration files.
## PowerShell Cmdlets
```PowerShell
# Update a single policy
Set-SitecoreCommercePolicy -Path "path\to\policy.json" -PolicyType "Fully.Qualified, Type" `
-Properties @{ "Property1" = "Value1"; "Property2" = "Value2" }# Use -Force to add a policy that may not exist
Set-SitecoreCommercePolicy -Path "path\to\policy.json" -PolicyType "Fully.Qualified, Type" `
-Properties @{ "Property1" = "Value1"; "Property2" = "Value2" } -Force# Update multiple policies
Set-SitecoreCommercePolicy -Path "path\to\policy.json" -SourcePolicies @(
@{
'$type' = "Fully.Qualified.Type, Note.The.SingleQuotes.On.$type",
"Property1" = "Value1";
"Property2" = "Value2";
},
@{
'$type' = "Another.Type, Qualified",
"Etc" = "Etc"
}
)```