Surendra Sharma

Surendra Sharma

Search This Blog

Sunday, March 26, 2023

Sitecore with CSharp REPL

If you're a C# developer, you'll want to check out this exciting new tool: C# REPL! This cross-platform command line tool is designed for rapid experimentation and exploration of C# code. With C# REPL, you can easily test out snippets of code, try out different syntaxes, and even experiment with new packages.

One of the great things about C# REPL is that it supports intellisense, making it easy to quickly find the methods and properties you need. You can also install NuGet packages directly from the command line, so you can easily add new functionality to your code without having to switch to a different tool.

C# REPL is a .NET 7 global tool, which means it can be easily installed on any machine running Windows 10, Mac OS, or Linux. And because it's a command line tool, it's lightweight and easy to use - perfect for developers who want to streamline their workflow and focus on writing great code.

With its support for referencing local .NET projects and assemblies, C# REPL can be a valuable tool for exploring and experimenting with Sitecore-specific code and functionality.

Here I am showing a demo on how you can use it Sitecore libraries to test it.

Check out this video for the same

Whether you're a seasoned C# developer or just starting out, C# REPL is a must-have tool for your toolkit. Give it a try today and see how it can help you work more efficiently and experiment more quickly!

Sunday, March 19, 2023

Sitecore CDP Comics

Albert Einstein once said that "If you can't explain it simply, you don't understand it well enough.". And I believe that Comics are simple and a great way of communicating ideas and emotions that can't be conveyed through words alone.

So thats why I created a comics on Sitecore CDP.

Enjoy and have fun!!!

Here is a video for the same


Sunday, March 12, 2023

20 Years of Sitecore Journey : Poster

Sitecore has come a long way since its inception in 2001, evolving from a simple content management system (CMS) to a comprehensive digital experience platform (DXP). Over the past 20 years, Sitecore has released a number of versions, each with its own set of features and enhancements. Here's a poster of all the major versions launched by Sitecore over the last two decades.

So I designed this jumbo poster for showing the 20 years of Sitecore journey.

20 Years of Sitecore Journey : Poster

This poster reflects that Sitecore's evolution over the past 20 years has been marked by a commitment to innovation and a relentless focus on customer needs. With each new version, Sitecore has introduced new features and enhancements that have helped businesses deliver more engaging and personalized digital experiences to their customers.

Here is video for the same

I hope you love this poster!!!

Friday, March 10, 2023

Sitecore Hackathon 2023 - SmartFill

We're excited to announce that our TDS team took part in the Sitecore Hackathon 2023 on March 4th.

We kicked off the day at 6 AM and wrapped up at around 10:30 PM. Among the three categories available, we chose "Best enhancement to SXA Headless" as our problem statement.

Our team successfully created a "Sitecore SXA module - SmartFill" for the Sitecore Content and Experience Editor, which functions seamlessly.

Here is a Github repository link -

We also recorded a short video on the same.


I deliberately skipping all module details here in the hope that you will watch the video 😉.

Love to hear your comment(s), feedback(s) or suggestion(s).

Result will be announcements in April 2023.

Till that time - stay tuned.

Sunday, February 26, 2023

Secondary CMS : An Overview

Secondary CMS

A content management system (CMS) is a critical component of any website, allowing businesses to manage their online presence with ease. However, there are times when a primary CMS may not be the best fit for an organization. In these cases, a secondary CMS can provide a more tailored solution. In this article, we'll discuss when to consider using a secondary CMS.

Topics for discussion

·       Introduction to Secondary CMS

·       Scenarios where a Secondary CMS may be a good fit

·       Benefits of using a Secondary CMS

·       How to choose the right Secondary CMS

·       Implementation of a Secondary CMS and best practices.

Introduction to Secondary CMS

Before we dive into the reasons to consider a secondary CMS, it's important to understand what a secondary CMS is.

Essentially, a secondary CMS is an additional system that works in conjunction with your existing primary CMS to help manage specific areas of your website. This can be a useful solution in situations where your primary CMS is unable to handle certain tasks.

Scenarios where a Secondary CMS may be a good fit

There are several scenarios where using a secondary CMS may be a good fit for your organization. These include:

Managing localized content: If your business has a global presence and needs to create content for different regions, a secondary CMS can help manage localized content. This can include different languages, cultural nuances, and other region-specific content.

Digital asset management: If your business has a lot of digital assets that need to be managed, a secondary CMS can help keep them organized and easy to access.

Marketing automation: If you need to manage and distribute marketing campaigns across multiple channels, a secondary CMS can provide additional functionality that your primary CMS may not offer.

Mobile application content management: If you have a mobile app, a secondary CMS can be used to manage the content that appears within the app.

eCommerce management: If your business operates an eCommerce store, a secondary CMS can provide additional functionality to manage your products, orders, and customer data.


Benefits of using a Secondary CMS

The benefits of using a secondary CMS include:

More tailored solutions for specific needs: A secondary CMS can provide a more tailored solution for specific tasks that your primary CMS may not be able to handle.

Improved efficiency: By using a secondary CMS, you can increase your efficiency and save time by automating certain tasks.

Improved user experience: A secondary CMS can improve the user experience of your website by making it easier to manage specific content.

How to choose the right Secondary CMS

When choosing a secondary CMS, it's important to consider the following:

Compatibility with your primary CMS: Make sure the secondary CMS is compatible with your primary CMS.

Functionality: Consider the features and functionality of the secondary CMS to make sure it meets your needs.

Ease of use: Choose a secondary CMS that is user-friendly and easy to use.

Integration: Consider how the secondary CMS will integrate with your existing technology stack.

Implementation of a Secondary CMS and best practices

When implementing a secondary CMS, it's important to follow best practices, including:

Proper training: Ensure that your team is properly trained to use the secondary CMS.

Data migration: Make sure to migrate all relevant data to the secondary CMS.

Ongoing maintenance: Maintain the secondary CMS and keep it up-to-date with the latest updates and security patches.

In conclusion, a secondary CMS can provide a tailored solution for specific needs that your primary CMS may not be able to handle. By carefully choosing the right secondary CMS, you can improve your efficiency and provide a better user experience for your website visitors.

Sitecore offers SaaS based CMS Content Hub One which is a good fit for secondary CMS.

For example, your client uses Sitecore as their primary CMS with extensive integration and customization, and may even run it as an on-premises solution. Now, they are interested in using a lightweight, SaaS-based CMS for mobile apps and marketing activities, instead of going through the time-consuming, resource-intensive, and costly process of upgrading Sitecore, it would be wise to consider secondary CMS options such as Content Hub One. Generally try to choose a single-family product CMS for your technology stack, as this usually results in better compatibility and ease of use.

Here is a YouTube video for the same.


Thursday, February 23, 2023

Sitecore Transfer : Your Last Minute Content Publish Option

Today, we will be discussing a hidden feature of the Sitecore that some of you may already know about but never use. We are all familiar with the "Publish" option in site work, which is used to make changes to the content live on a particular environment.

There are three types of publishing you can do - Incremental, SMART, and Republish.

Let's consider a scenario where you are working on a global website with content authors from all around the world. If one content author starts a publish in one country and another author submits a publish request from another country, the requests will be added to a queue. The second author's changes will only be published once the first author's changes have been completed.

However, if your client asks you to publish a specific item right away, it can become a tricky situation because the item will be added to the queue. In such a scenario, you can use the hidden feature of the Sitecore called "Transfer".

To demonstrate this feature, we will publish an entire website, open it in another window, and publish it again. The request will be added to the queue. In a third window, we will make changes to a item, say "Thank You".

To use the transfer feature, we will go to the "Publish" site and select "Republish". In the next step, we will make changes to the "Thank You" item and save it. Normally, when we publish the changes, they would be added to the queue. But with the transfer feature, we can copy the "Thank You" item and select "Transfer".

We will then move the item to the "Article” Folder, and the changes will be updated on the web database without going into the queue. The full publishing that we did earlier will still be in process, but our changes are already visible on the website.

This is a useful trick to know, although it's rarely used.

Here is my YouTube video for the same

Stay tuned for more such articles, tips and tricks.

OData Services in Sitecore

Today, we will be exploring one of the coolest features on the Sitecore: OData Services.

This feature allows you to expose your item data in JSON format in read-only mode. It is incredibly easy to use and configure. To do so, you need to create an OData item API at the settings, services API key section. After you have created it, you can specify its fields, for example, core, allowed control. You can also specify the database to which you want to get the item details. In a production environment, it is mostly on the web.

Once you have configured it, you can access your items by using the Sitecore domain name followed by the OData services API and the item ID or item path. You also need to pass the OData services API key. For example, if you want to access the details of a home item with ID and three fields (title, text, and address), you can use this URL and pass the API key. You will get the item properties such as the item name, path, language, template, creation date, and ID.'%7B%3Citem%20id%3E%7D')?sc_apikey=%3Capi%20key%3E

To get the field values, you need to pass the query string "$expand=field value".

Here is my YouTube video for the same

Stay tuned for more such articles, tips and tricks.