In this blog, we will see how to configure SOLR search provider in your instance if you are using Azure Search and now you want to switch to SOLR. To specify the search provider, open the Web.config file from the Sitecore instance and search for the search:define key. If we want to use SOLR as … Continue reading How to setup SOLR search provider in your instance?
Technical
How to create SOLR cores on Azure hosted SOLR service?
In this blog, we will check 2 ways of creating the SOLR cores. How to create a core in SOLR with API? http://%5BYOUR SOLR SITE ADDRESS]/solr/admin/cores? action=CREATE&name=sitecore10demo_custom_index&instanceDir=sitecore10demo_custom_index&configSet=_default&dataDir=data Here are details about parameters – ParameterValueCommentsactionCREATECommand to create corenamesitecore10demo_custom_indexName of the coreinstanceDirsitecore10demo_custom_indexDirectory nameconfigSet_defaultConfigset to be useddataDirDataData directory How to create a core in SOLR manually? We can … Continue reading How to create SOLR cores on Azure hosted SOLR service?
Setting up SOLR in cloud as an App Service
In this blog we will target the SOLR service for Sitecore 10, and hence we will configure SOLR 8.4.0. If you are looking for a solution for older version of Sitecore or SOLR then you can refer Dan Cruickshank's blog here. Setting up the App Service Login to Azure portal. Navigate to App Services and … Continue reading Setting up SOLR in cloud as an App Service
How to work on reducing page load time?
Once the website is ready, everyone will appreciate your efforts to develop it and at the same time you will see new requests coming in. What can be these new requests will be on? Enhancements? Anomalies? Improvements? Most probably it will be on improvements specially when your client is eyeing to implement SEO (Search Engine … Continue reading How to work on reducing page load time?
No duplicate item name allowed in latest Sitecore versions
If you guys have worked on Sitecore 7.x or 8.x then you will know that there is no restriction for creating item with same name at same level. So similarly I had no idea that it is restricted in the latest versions for Sitecore. Recently I was trying to install a package created from Sitecore … Continue reading No duplicate item name allowed in latest Sitecore versions
How to configure different content nodes as part of TreeList or TreeListEx datasource?
Couple of days back I got a question whether we can have different parts or content tree or items based on different template as part of Single TreeList or TreeListEx field. First of all the difference between TreeList & TreeListEx is TreeList field always load the Content tree for you & TreeListEx only loads it … Continue reading How to configure different content nodes as part of TreeList or TreeListEx datasource?
Avoid Sitecore Form redirecting to forms builder page!
There are 2 requirements when you create a form either you redirect to thank you page or show a thank you message after successful submission of the form. If you are creating Sitecore Forms (previously known as WFFM) then you get an option to redirect to thank you page using one of the Submit action. … Continue reading Avoid Sitecore Form redirecting to forms builder page!
How to setup Unicorn for Helix based Sitecore project?
The idea behind using Unicorn is to serialize only items that you need, by adding the Sitecore item paths to Unicorn configuration files. When the item is controlled by Unicorn, all the child items can be serialized automatically unless excluded, which is very convenient because the developer does not have to remember to serialize items … Continue reading How to setup Unicorn for Helix based Sitecore project?
How to store Media files in File System instead of Database?
The default behavior of Sitecore is that it stores the media files (Images, Videos, docs, etc.) in the database. This is good feature as your website folder won't grow as the Media items grow in Sitecore but the database size will keep growing over the period of time. It is not arguable over which approach … Continue reading How to store Media files in File System instead of Database?
Using Branch Presets to fix the static datasource path in the Branch Templates
We were working on one scenario where we had used Branch template and the item had presentation details (layout and renderings) applied on Standard Values where we had used Datasource (items from the hierarchy itself) on the renderings. But when we created items based on this branch template, the datasource path was still pointing to … Continue reading Using Branch Presets to fix the static datasource path in the Branch Templates