Thursday, 18 February 2021

How to view Sitecore content delivery showconfig.aspx

All Sitecore configuration get compiled and consolidate in showconfig.aspx file. And this config is the best way to verify default or custom configuration using

But recently we were facing configuration issue on CD server since there were no default way to verify showconfig.aspx on content delivery server.

Just to hack this and look showconfig.aspx for content delivery server please follow below steps:

1. Download config click here and save to your instance path wwwroot/

2. From Talend API Tester/Postman, put below input to get output(CD server showconfig.aspx as response) as below screenshot


Method Type: GET

URL: https://YourInstanceName/sitecorecontentdeliveryshowconfig.aspx

Header keys apikey: 464799ae52214c80b7fc81408f8efbe0

Now check your output. Hope this help.

Wednesday, 17 February 2021

How to create sitecore custom index ?

With Sitecore, If there are lots of data on the instance where search needed, then Sitecore default index will not be good because it will be time and memory consuming.

In that case - creating custom index will be better approach which contains only searched items.

Let's start with creating solr custom index

Go to your solr installed location by copying sitecore_web_index and rename with sitecore_custom_index [<instancename>_web_index - so don't confused with sitecore]

once copied, then open and update name property under this directory as below screenshot

after above changes, restart solr service.

Now go to path \App_Config\Sitecore\ContentSearch and copy Sitecore.ContentSearch.Solr.Index.Web.config and rename with Sitecore.ContentSearch.Solr.Index.Custom.onfig as below

once file created open update settings for 
indexname, rootpath, which items wanted to include and exclude in index. as below

Let me know if feel any issue or feedback.