Plain Sitecore – Custom Experience Button dynamically loading the Item’s fields

We all have the same challenge: Make everything editable via Experience Editor. Sitecore itself has the EditFrame implemented and the default way is to add custom experience buttons to the rendering, but then you have to create a lot of new button items in the core database for the fields you want the editor to be able to edit.

You could use the GlassEditFrame from GlassMapper, just call the Helper function in the View and GlassMapper does everything. You can just pass the model, special fields or a path to your custom buttons.

You also could do an own implementation of an editframe wrapper and write your logic to do everything.

The last time we came to this point we decided to use the Sitecore editframe and just implement one “Edit fields” button and add it to every rendering item which has a datasource.

Continue reading “Plain Sitecore – Custom Experience Button dynamically loading the Item’s fields”