I have to add a bunch of placeholder settings to a bunch of items.

These items already have specific presentation details, so not using the standard values.

I tried to add them to standard values, just in case, but didn't change anything as expected.

I moved to PowerShell, but all the scripts I have found so far, show how to add renderings, devices, layouts, but not placeholder settings. Am I missing something on the cmdlet?

I also tried to use the search operations, but it failed while reading the XML...

Any other idea?

As it is now: As it is

What I want to achieve

What I want to achieve

  • you might have another option like disabling Placeholder Setting. <setting name="WebEdit.PlaceholdersEditableWithoutSettings" value="true" />
    – Jihyun
    Sep 29 '17 at 15:01
  • When you say placeholder settings, are you talking about Allowed Controls in a Placeholder?
    – jammykam
    Sep 29 '17 at 15:41
  • Under presentation details, when you edit a device, you have 3 options: Layout, controls and a placeholder settings. These "placeholder settings" are the entries I want to add. In the xml, these are p entries. We already have them defined, with different allowed controls for the same key, I "just" need to add the right item here. Sep 29 '17 at 15:54
  • @JihyunI guess, in this case, I don't have the allowed controls, so editors could use any control. Am I right? Sep 29 '17 at 15:55
  • 1
    Not sure of the answer to this, but editing these on an item by item basis is a bad idea (and the reason you're having these issues) rather than using Placeholder items and Template overrides... community.sitecore.net/technical_blogs/b/maximizing_usability/…
    – jammykam
    Sep 29 '17 at 16:22

Your Answer

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

Browse other questions tagged or ask your own question.