Friday, 1 September 2017

Site Definition using Sitecore Rocks

To add new site without using Sitecore rocks, usually we go to sitecore.config file and made the changes, which is more risky and we should have knowledge about all available attributes/properties while adding new site



But after spending sometimes on the sitecore rocks found pretty good way to add new site without worry about attribute/property. So let's start

By selecting instance and then right click, select Manage option:



After that Sites section is getting appear just down to the Section menu will get all the sites listed.
Here selected Shell and all the properties is getting displayed at the bottom. You can check all the properties applied to this site like Caching, Configuration, Content, Debugging, Devices, Filtering, Information, Inheritance, Security and main thing is Web
below we expanded Web property 




Now if wants to add new site to existing instance then just right click and select add new site option



After this will got property window for new site as below:




once all the info filled, after clicking on OK will get popup to save separate newsite.config just save this to website/app_config/Include



Congrats new sites entry is successfully added to sitecore instance.
Now it's time to work with pipelining using sitecore rocks



Properties on template using sitecore rocks

After creating template, it's time to add properties to the template.
Like
set icon on the template
     Help to identify the template belongs to which type.

Give the display name for that template
     On the template, we have an option to give the display name for template

sort the template fields
     We have also option to sort the fields on the templates

set insert options
     It's helpful to us when creating page item of this template type.
     It bound to content editor to create only given time of template type can be created.

or set the presentation details on standard value of the template
     It's always good to set presentation details on the template standard value. So that at the time of page creation by default these presentation will be applied.



Hope it will help.