Skip to content

Commit

Permalink
Merge pull request #1356 from mrvinaykj/master
Browse files Browse the repository at this point in the history
Issue in creating multiple custom ribbon elements
  • Loading branch information
AdamNaj authored Aug 30, 2024
2 parents 828e524 + 757d1a9 commit 4c7f518
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ SharedFields:
Write-Host " - Adding Strip '$($scriptLibrary.Name)'." -f Green
$strip = New-Item -Path $stripsPath -Name $scriptLibrary.Name -ItemType "System/Ribbon/Strip"
$strip.Header = $scriptLibrary.Name
$strip.Editing.BeginEdit()
$strip.Fields["ID"].Value = $scriptLibrary.ID
$strip.Editing.EndEdit()
Write-Host " - Adding Strip Reference '$($scriptLibrary.Name)'." -f Green
$stripReference = New-Item -Path $ribbonPath -Name $scriptLibrary.Name -ItemType "System/Reference"
Expand Down

0 comments on commit 4c7f518

Please sign in to comment.