Adding Custom Experience Buttons
Have you ever wondered how to edit your List Type field from the Page Editor whit out opening the content editor? Preparing Sitecore to enabling you to do that is actually straight forward.
Adding a Custom Experience button to the Page Editor takes the following two steps:
- Create a new Custom Experience button item in the Core database
- Assigning the Custom Experience button to the sublayout where the Custom Experience button should be displayed
Creating the new Custom Experience Button
First you have to create the new Custom Experience Button (CEB) item which should be displayed in the Page Editor. Open the content editor in the core database and navigate to “/sitecore/content/Applications/WebEdit/Custom Experience Buttons”. When you create the new CEB item from the “Custom Experience Buttons” item folder, you can choose among a couple of “Edit” buttons. Select the “Field Editor Button.
The CEB item contains four fields in the “Data” field section. The “Header” field defines the header of the CEB. The “Icon” field defines the icon displayed in the Page Editor, where the CEB is assigned. In the “Fields – pipe …” field you define the list of field names you should be able to edit from the specific Custom Experience Button. The value in the last field, the “Tooltip” field, will be displayed when you hover the mouse over the button in the Page Editor.
No comments:
Post a Comment