1

I'm not finding anything on this, and when I try to play around with items in the core database, I'm not seeing them change for a given user. Any idea if this is possible to do? I'm adding them under /sitecore/content/Applications/Content Editor/Ribbons/Chunks/My Strip.

I can edit the Customize item under that and it gets reflected when I log in as a different user, but adding sibling items to Customize don't seem to show up, and there is no security assigned to those items just as there are none for the Customize item...

4

The values for this are stored in the registry per user. Below is an example on how to modify the data with Sitecore PowerShell Extensions (SPE).

$ribbonCommands = "{D33A0641-9F1C-4984-8342-0655C3D0F123}|{EDA2F1DC-0412-45B2-9FDD-0700B03F28CB}|{93F6C3FE-B36E-4083-BA48-19DE43F19F49}"
$registryKey = "/Current_User/Ribbon/My Strip"

<#
  Current_User is automatically replaced by the Sitecore API
  Optionally replace Current_User with domain\username if you want 
  to apply to a different user than the one logged in
#>
[Sitecore.Web.UI.HtmlControls.Registry]::SetValue($registryKey, $ribbonCommands)

enter image description here

Update

One option to consider is to have a process run either periodically or during login that would ensure the user has the appropriate settings applied. SPE has an integration point for this.

  • Sorry, what is SPE, and where are you specifying this code? Thanks. – Levi Wallach Jun 27 at 13:58
  • Here is a link to the documentation site. doc.sitecorepowershell.com – Michael West Jun 27 at 14:49
  • So it looks like this can't assign this to a role, only to individual users? – Levi Wallach Jun 27 at 14:55
  • That appears to be the case. – Michael West Jun 27 at 15:04
  • 1
    You can do all that and Mike Reynolds laundry. – Michael West Jun 27 at 22:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.