Skip to content

Commit 4c7f518

Browse files
authored
Merge pull request #1356 from mrvinaykj/master
Issue in creating multiple custom ribbon elements
2 parents 828e524 + 757d1a9 commit 4c7f518

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unicorn/SPE/Scripts/SPE/SPE/Core/Platform/Internal/Integrations/Content Editor Ribbon.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ SharedFields:
8181
Write-Host " - Adding Strip '$($scriptLibrary.Name)'." -f Green
8282
$strip = New-Item -Path $stripsPath -Name $scriptLibrary.Name -ItemType "System/Ribbon/Strip"
8383
$strip.Header = $scriptLibrary.Name
84+
$strip.Editing.BeginEdit()
85+
$strip.Fields["ID"].Value = $scriptLibrary.ID
86+
$strip.Editing.EndEdit()
8487
8588
Write-Host " - Adding Strip Reference '$($scriptLibrary.Name)'." -f Green
8689
$stripReference = New-Item -Path $ribbonPath -Name $scriptLibrary.Name -ItemType "System/Reference"

0 commit comments

Comments
 (0)