Skip to content

Commit

Permalink
Feature/set bizfx url (#51)
Browse files Browse the repository at this point in the history
* Added SPE script to help change the Business Tools Url

* Fixed variable name
  • Loading branch information
jeanfrancoislarente committed Aug 17, 2018
1 parent 6d9715e commit 2cf949a
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 16 deletions.
15 changes: 15 additions & 0 deletions scripts/SPE/Set-BizToolsUrl.ps1
@@ -0,0 +1,15 @@
param(
[string]$InstanceUrl = "habitathome.dev.local",
[string]$BizToolsUrl,
[string]$AdminUsername,
[string]$AdminPassword)
$ErrorActionPreference = 'Stop'

Import-Module SPE
Write-Host ("Connecting to {0}" -f $instanceUrl)

$session = New-ScriptSession -Username "$AdminUsername" -Password "$AdminPassword" -ConnectionUri $("https://" + $InstanceUrl)

Invoke-RemoteScript -Session $session -ScriptBlock {
(Get-Item -Path "core:/client/Applications/Launchpad/PageSettings/Buttons/Commerce/BusinessTools").Link = ("{0}" -f $using:BizToolsUrl)
}
Expand Up @@ -7,7 +7,7 @@ DB: master
SharedFields:
- ID: "997d2f9d-71b3-415c-8bf0-17d9cfa2990c"
Hint: Field Name
Value: "{15DF06AD-E050-4CC8-9707-DC2890099BBE}"
Value: "{E74E90C0-24FD-4668-BCCD-E7E16263D13B}"
Languages:
- Language: da
Versions:
Expand Down
Expand Up @@ -7,7 +7,7 @@ DB: master
SharedFields:
- ID: "997d2f9d-71b3-415c-8bf0-17d9cfa2990c"
Hint: Field Name
Value: "{C9F82815-26DD-402B-A80B-3CF2D3C4C502}"
Value: "{A725D6C3-A591-4937-B665-85CFFDDD2484}"
Languages:
- Language: da
Versions:
Expand Down
Expand Up @@ -7,7 +7,7 @@ DB: master
SharedFields:
- ID: "997d2f9d-71b3-415c-8bf0-17d9cfa2990c"
Hint: Field Name
Value: "{2CBE06A1-BD1D-431A-82CE-8CFE887787B4}"
Value: "{7DBD14ED-D8F2-4ABA-A4CF-1C8DE2A30B4C}"
Languages:
- Language: da
Versions:
Expand Down
Expand Up @@ -7,7 +7,7 @@ DB: master
SharedFields:
- ID: "997d2f9d-71b3-415c-8bf0-17d9cfa2990c"
Hint: Field Name
Value: "{07BA2A66-225F-4114-9EC1-226C255B4015}"
Value: "{02D81C24-A9F0-4DD5-82C7-52C9F47EEE6F}"
Languages:
- Language: da
Versions:
Expand Down
Expand Up @@ -20,7 +20,7 @@ SharedFields:
Value: "{79902BF1-F289-4B38-A8A1-9DAD2E65AC01}"
- ID: "8e0dd914-9afb-4d45-bf8b-7ff5d6e5337e"
Hint: HostName
Value: habitathome.dev.local
Value: experiencecommerce.habitathomedemo.com
- ID: "a7803a5d-cd03-4eda-abed-1d9af4bf6660"
Hint: Database
Value: web
Expand Down
Expand Up @@ -8,7 +8,7 @@ SharedFields:
- ID: "1fbc6a49-6281-48ee-87e9-a3970b145adb"
Hint: NavigationFilter
Type: Checklist
Value: "{D063E9D1-C7B5-4B1E-B31E-69886C9C59F5}"
Value:
- ID: "a4f985d9-98b3-4b52-aaaf-4344f6e747c6"
Hint: __Workflow
Value: "{C6EBE5E6-BCE3-4BAB-A5F9-16382F8369FE}"
Expand Down
Expand Up @@ -7,7 +7,7 @@ DB: master
SharedFields:
- ID: "5303564e-92a6-4a74-b0d5-1471c717197d"
Hint: Css Class
Value:
Value:
- ID: "558f9307-ebaf-480d-88b5-dfe9e63a66de"
Hint: Is Template
Type: Checkbox
Expand Down
Expand Up @@ -3,7 +3,7 @@ Username: |
sitecore\demoadmin
Email: admin@demo.com
Comment: Demo Administrator
Created: "2018-07-13T14:24:17.0000000Z"
Created: "2018-07-24T17:41:25.0000000Z"
IsApproved: True
Properties:
- Key: FullName
Expand All @@ -19,11 +19,11 @@ Properties:
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: False
- Key: digestcredentialhash
Value: bed66512968747aa57b6d0546aeb6636
Value: 0782675403ac8a32878d23978d565157
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: True
- Key: digestcredentialhashwithoutdomain
Value: 2e294d69e04a0d46a25a027ba3ae1878
Value: a7389bf47c9d7be29d1741462b97861d
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: True
Roles:
Expand All @@ -35,12 +35,16 @@ Roles:
sitecore\Author
MemberOf: |
sitecore\Commerce Business User
MemberOf: |
sitecore\Customer Service Representative
MemberOf: |
sitecore\EXM Users
MemberOf: |
sitecore\Habitat Home Guide Author
MemberOf: |
sitecore\Marketing Automation Editors
MemberOf: |
sitecore\Merchandiser
MemberOf: |
sitecore\Pricer
MemberOf: |
Expand Down
Expand Up @@ -3,7 +3,7 @@ Username: |
sitecore\minnie
Email: minnie.m@demo.com
Comment: Demo Content Author
Created: "2018-07-12T21:05:21.0000000Z"
Created: "2018-07-24T17:41:25.0000000Z"
IsApproved: True
Properties:
- Key: |
Expand All @@ -24,11 +24,11 @@ Properties:
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: False
- Key: digestcredentialhash
Value: f9e90214eaf9c127129ac77a8fe3b6b1
Value: 0b165976f14a292f1d64110b0baae124
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: True
- Key: digestcredentialhashwithoutdomain
Value: da183b2793965f9667539952d4e01951
Value: a51bb6b00d056d103ab1c30130fda284
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: True
Roles:
Expand Down
6 changes: 3 additions & 3 deletions src/Project/HabitatHome/serialization/Users/sitecore/pete.yml
Expand Up @@ -3,7 +3,7 @@ Username: |
sitecore\pete
Email: pete.p@demo.com
Comment: Demo Content Approver and Publisher
Created: "2018-07-12T21:05:21.0000000Z"
Created: "2018-07-24T17:41:25.0000000Z"
IsApproved: True
Properties:
- Key: FullName
Expand All @@ -23,11 +23,11 @@ Properties:
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: False
- Key: digestcredentialhash
Value: 029c8d361db8ccef80bab9d96bd5e6de
Value: 4f68ca24b838ee1443be5c263b502925
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: True
- Key: digestcredentialhashwithoutdomain
Value: c8c6d3b7f3228733cf9ea0677b1b4831
Value: 5ea030cb718604bac44b6b4f0e41e861
ValueType: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
IsCustom: True
Roles:
Expand Down

0 comments on commit 2cf949a

Please sign in to comment.