Closed jasonchester closed 9 years ago
Hi Jason,
You have indeed found a bug in the ribbon synchronization script that got exposed due to how Sitecore 8 changed its controls naming. I believe this worked in Sitecore 7 fine when button id's were named differently. Thank you for reporting that!
If you can open the following script: /sitecore/system/Modules/PowerShell/Script Library/Platform/Internal/Integrations/Content Editor Ribbon
And change the line 60 from:
$button.Click = "item:executescript(id=`$Target,script=$($script.ID),scriptDb=$($script.Database.Name))"
to
$button.Click = "item:executescript(id=`$ItemID,script=$($script.ID),scriptDb=$($script.Database.Name))"
Changing the token from $Target
to $ItemID
and synchroniza the integration points again this should start working.
Fixed.
Forgive me if I am missing something but when launching a script from the content editor ribbon i would expect to have access to the item selected in the content editor.
Example Ribbon Script:
URL captured in Browser Missing Id:
Script Output where PWD is C:\windows\system32\inetsrv: