This post I decided to write after I found this unanswered question on stackoverflow. Input data: We have an item which contains treelist field 'Tags'. We put rendering called 'Listing of Tags' on this item (1). We add Experience Editor Button (2) to the 'Listing of Tags' rendering to let the editor edits 'Tags' field. … Continue reading How to make a rendering refresh after an Experience Editor Button has been used
Twice in my practice, I implemented a deferred registration. What do I mean by this concept? The meaning is approximately the following: on the registration page, the user enters some initial data, which must necessarily include an email address, submit a form, the user receives an email with a unique link, the user clicks the … Continue reading Deferred Registration
Today I'll show how to use Method Rendering. This rendering type outputs the return value of a call to a static method. Item of method rendering contains three fields which should be filled: - Method - Class - Assembly Parameters field I use as a output. Now we have to create Methods class within MethodRenderingDemo … Continue reading Method Rendering
In your practice, you may need to be able to generate and download a file while in the Content Editor. I'll show you how to do this in such example: suppose you need to be able to download a text file that contains the id and the name of the item selected in the Content … Continue reading Download file within Content Editor
It's trivial case when you develop some feature which implies creating some roles within Sitecore. This post is about how to ensure creating of necessary roles after you deliver feature to test/demo/live environment. At first extend initialize pipeline with processor which create necessary roles. Secondly implement CreateRoles class.
Recently I noticed that Sitecore.Workflows.Simple.EmailAction does not do what I expect from it. Below I'll describe what I mean. I created simple workflow which contains two states - Inital and Final. Initial state contains 'Go to final' command which contains 'Send Email' action based on '/sitecore/templates/System/Workflow/Email action' template. Also I created template which uses workflow … Continue reading Something wrong with EmailAction or I do something wrong
Recently I've made demo for fresh Sitecore developers in company where I'm working now. The demo was about customization of Content Editor interface and specifically how to add custom button to ribbon and show/hide it dependent on some condition. I did that previously and how-tos before for me was this answer. So I just inherited … Continue reading Hide/show custom button in ribbon in Sitecore 8.x