Sitecore / Sitecore.Rocks

Sitecore Rocks is a plugin for Visual Studio for Sitecore developers.
Other
75 stars 27 forks source link

Rendering properties dialog shows hidden sections from the Standard Rendering Parameters #125

Open nickwesselman opened 4 years ago

nickwesselman commented 4 years ago
  1. In the Sitecore Explorer, select master/sitecore/layout/Renderings/Sample/Sample Rendering
  2. Set the {8CA06D6A-B353-44E8-BC31-B528C7306971} (Standard Rendering Parameters item) in the 'Parameters Template' field .
  3. Design Layout on the Home item.
  4. Double click on the Sample Rendering in the Home.layout.
  5. Edit Rendering Properties dialog is shown.

Result: There are a couple of deprecated (Test lab, and Personalization) sections shown.

211088 - result

Expected result: These sections are hidden

Notes: This happens, because the sitecore rocks doesn't take into account the following registry settings: Sitecore.Shell.UserOptions+View.ShowPersonalizationSection Sitecore.Shell.UserOptions+View.ShowTestLabSection Their value is false by default for all the users (including the sitecore/admin).