Posts

Showing posts from March, 2018

Adding multiple components to RichText and load them View rendering dynamically

Image
I had a situation where I need to convert the existing Asp.net project to the Sitecore application, I have found that it is used any usercontrols, As each page as their own unique HTML components. So, it is difficult to go with the component-based approach, But I could see few areas where I can convert to components and insert those components to the page. I preferred to use RichText editor to place all the necessary HTML along with the components by using “ Insert Sitecore Link ” to insert the relevant component items to the page. Let's get started. ·         First identify the components and create the templates and rendering for it. ·         To all components have a Standard value item and in its presentation details add the corresponding rendering to it without Layout definition (It is not possible to add just rendering to item with the layout but using Sitecore Rocks we can achieve it).           Create page item that needs these components to be inserte