Droplink field inside Sitecore Page Editor
sitecore, sitecore-mvc, sitecore6
Solution
An alternative to EditFrames is to create a 'custom experience button' for the page editor which will open a popup to allow the DropLink field to be set.
The steps are as follows:
- Change to Core database
- Create a new item under `/sitecore/content/Applications/WebEdit/Custom Experience Buttons` using the template `/sitecore/templates/System/WebEdit/Field Editor Button`
- In this new item, set the value of the 'Fields' field to the name of your templates DropLink field (also set appropriate icon/header/tooltip field values)
- Go back to the master database
- Select your sublayout/rendering and in the field 'Page Editor Buttons' select your newly created button item.
Now when you edit the component in the Page Editor, you should see this new button appear when the component is selected. When clicked, it will pop up a window allowing you to set the DropLink field.
Problem
I have `Droplink` field on template and I want allow users to select value from dropdown, but when I'm rendering field like below, dropdown is not rendering. ``` @Html.Sitecore().Field("Background Color") ``` Does sitecore really not support drop down in page editor or I'm doing something wrong? Is there any easy solution to this problem? I can't find any information about this.