In this article, we will look how to Handle any requests and any extensions in Sitecore without writing any code. With some configuration changes, we could easily allow Sitecore to…
PowerShell Tail Command
Unix has a tail command which helps us in reading the file content in the shell window. If the file size is enormous, we could run a simple tail command…
How to check if a string is null or empty in PowerShell?
It’s straightforward to check if the string is null or empty in C# and Java. However, in PowerShell, it is slightly tricky as it does not hold a null value.There…
How to start PowerShell from Windows Explorer
There are times when we need to start the Windows PowerShell inside the specific directory and start running the PowerShell commands. Usually, we type the command “PowerShell” in windows run to open…
Sitecore URL Rewrite and Redirect using IIS rewrite module
There are many Sitecore URL redirect modules for 301 redirections and URL Rewrite modules in Sitecore Marketplace which you need to install separately. This article demonstrates Sitecore URL Rewrite and…
How do I Access Sitecore settings Programmatically?
All the settings of the Sitecore are stored in the config files. Sitecore consists of web.config which stores all the configuration information. Addition to this Sitecore has many config files which…
Sitecore Interview Questions and Answers 2021
A complete list of Sitecore Interview Questions and Answers. The most common questions asked in any Sitecore job interview. This post is updated regularly with the latest Sitecore Interview Questions and Answers.…
How to detect Page Editor mode in Sitecore through code
f you are a Sitecore developer then definitely in many instances you would need to show or hide some components in the Page Editor mode. So How to detect Page…
Handling Multiple Hostnames in Sitecore using Wildcard
There will be scenarios where you need to target multiple hostnames to a single website. A typical scenario would be hostname with (www subdomain) and a non-www hostname. For instance : example.com…
Dynamically Create robots.txt for Multi-Site in Sitecore
Sitecore doesn’t give multisite robots.txt out of the box and we need to build this functionality from scratch. In this article, we will learn How to Dynamically Create robots.txt for Multi-Site…
How to get an MD5 checksum in PowerShell
In this article, We will learn How to Generate an MD5 checksum in PowerShell Script. Before that let’s take a look at what exactly is MD5 checksum and why do…
Pass Command Line Arguments in PowerShell Script
PowerShell provides an efficient way to pass command-line arguments by using parameters inside a PowerShell script. PowerShell comes up with a param statement that can be used at the beginning of…
npm in Node.js
What is npm in Node.js? Node Package Manager (npm) as the name indicates it is used to install the Node packages. Also if you use it in development it is…
Creating Node.js First Application
In this tutorial let us look into how to create the application in Node.js. Basically, there are 3 simple steps to create this simple node.js application. Import Required Modules –…
Node.js Environment Setup
It’s very easy to setup and configure Node.js Environment on your local machine. There is 2 main software you would require to install to start working on Node.js. The first…
Remove Language version of Sitecore Items
Many times you will come across scenarios where you need to remove specific language version of Sitecore items. Mostly in the multilingual websites, we do come across this kind of…
Introduction to Node.js
What is Node.js? Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript engine. Node.js is an open source and powerful JavaScript cross-platform runtime environment for developing Server side web…
PowerShell Concatenate String
Microsft PowerShell scripting is little different from the other Programming languages. In most of the programming languages to concatenate a string you will use the operator “+” but in PowerShell, this…
Pass Multiple Parameters into a Function in PowerShell
Once you start advanced topics in PowerShell you will come across this scenario where you need to Pass Multiple Parameters into a Function in PowerShell. There are simple and complex…
Determine the Location of the Current PowerShell script
If you are a PowerShell programmer the most often you would have come across this scenario where you need to call another PowerShell script or execute some batch file from…
How to Create and Run a PowerShell Script
In the earlier topics, we covered PowerShell Comments, Determining PowerShell Version etc. It’s time to Create and Run a PowerShell Script. Create a PowerShell Script Let’s create a simple PowerShell…
How to Get the Current UserName in Windows PowerShell
There are many ways to Get the Current Logged in Username in Windows PowerShell. In this article let’s look at some of the easiest and best ways to fetch the current…
Powershell – cannot be loaded because running scripts is disabled on this system
Most of the times when you try to execute the PowerShell script for the first time on you machine then you will face the PowerShell Error saying “Execution of Scripts…
How to Comment in PowerShell Script
Like any other programming language, PowerShell also supports comments. In this article, we will look into How to use Comments in PowerShell Script and also How to add comment-based help topics for Functions…
How to change the Default Gutter Width in Bootstrap?
Bootstrap will provide the default Gutter width as 30px all the time and the grid consists of 12 columns. But in most of the case the default gutter width of…
Difference between Equality Comparisons == and === in JavaScript
Often developers are confused between the JavaScript Equality Operators. In this article we will look How many types of Equality Comparison Operator are there and What is the difference between Equality…
How to Determine installed PowerShell Version
There are multiple approaches to check what version of PowerShell is installed on the machine. Two of the best approaches are listed below. $PSVersionTable Get-Host How to Determine installed PowerShell…
Parse JSON string in JavaScript using JSON.parse()
JSON or JavaScript Object Notation is a very lightweight data-interchange format. It’s also language independent and easy to understand. In this article, we will look into How to Parse JSON…
Solve Sitecore Fast Query Parse Exception
If you are developing any Sitecore application and if you are using Fast Query a lot then you would have got the Parse Exception while querying the Item. In this article…
Login into Sitecore Programmatically
Sitecore is a CMS based tool mainly used for Content Management purpose. Most of the times you will Login to Sitecore through the web-based Sitecore Login interface to perform content…
Empty an Array with JavaScript
Empty an Array with JavaScript is the common task which every developer performs. Most of the developers use the wrong approach of emptying the array in JS. Method 1: Empty…
Append Values into an Array in JavaScript using push() method
Most of the JavaScript developers come across this scenario where they need to insert or append the values into an existing array. You could Append Values into an Array in…
POSTing Form Data with cURL
In this article, we will show you how to POST Form Data with cURL and also how to POST files using cURL. Developers use cURL to perform operations like Post files,…
How to access Sitecore Database Programmatically
We know that Sitecore stores data in multiple Databases. To know more about Sitecore Databases check out Difference between Core, Master and Web Database in Sitecore. So How to access Sitecore…
Sitecore Move Items from Web Database to Master Database
We know that Sitecore provides us with an option to publish the data from master to web and we also have the option to zip and install the packages on…
Clean Up History, PublishQueue, and EventQueue tables in Sitecore
Many of the Sitecore developers might have come across this scenario where the size of the History or EventQueue or PublishQueue will be growing super fast. As a result, the entire…
Create Link to Sitecore Item Programmatically using Link Manager
As a Sitecore developer, we would always need to Link to different Sitecore Items, Media Items. So How Does Sitecore handles the Internal and External Link and How do we resolve the…
Difference between Core, Master and Web Databases in Sitecore
Sitecore comes up with 3 Databases(Core, Master, and Web) by default when we perform a fresh installation. So what is the Difference between Core, Master and Web Databases in Sitecore?…
Creating multiline strings in JavaScript
There are many ways where we could easily create multiline strings using JavaScript. Some of the best methods are listed in the below examples. Creating multiline strings in JavaScript can…
Learn AngularJS Modules and Best Practices
What is AngularJS module? AngularJS modules are a logical separation between the controllers, services, filters, directives etc. In simple words, a module is a container for the different parts of the…
Learning AngularJS Expressions in HTML
AngularJS Expressions AngularJS Expressions are like the JavaScript code snippets that are mainly used for binding purposes. Angular expressions are always used to bind the data to HTML DOM element. All…
Capitalize the first letter of string using JavaScript
If you come across a scenario where you need to Capitalize the first letter of string using JavaScript then you could easily perform this in one-liner using built-in string methods…
Create GUID/UUID in JavaScript
There might be situations where you would be creating GUID in Javascript, Currently JavaScript doesn’t have any Built-in method to generate the GUID/UUID. We could use Math.random() or Date().getTime() and…
Measure JavaScript Execution time console.time() and console.timeEnd()
Debugging the JavaScipt code to identify performance issue is a very tedious task. There are built-in JavaScript methods which you could use to measure the performance and the time taken…
How to use node.js REPL terminal?
REPL stands for Read Eval Print Loop is a command line environment like windows console or Unix/Linux shell where everything is interacted using commands. NodeJS comes with REPL as a…
How to Submit a Form using JavaScript
The easiest way to submit a form using JavaScript is by using HTMLFormElement.submit() method. This method does something similar to activating a submit button of the form. If a form…
How to Create and Delete Git Tags in GitHub Repository
git tag is used to tag or mark a specific revision as significant, often this will be used during the build deployment and realsing of the code. Once a tag is…
How to work with Arrays in Javascript with examples
JavaScript arrays are used to store multiple values in a single variable. JavaScript Array object is a global object that is used in the construction of arrays; which are high-level,…
Convert Sitecore items into an Sitecore Item Bucket
What are Item Buckets in Sitecore? Everything is an item in the Sitecore content tree. An item bucket is a content repository inside Sitecore content tree that can store other content…
How to Cache and Store your Github passwords in Git
If you are using the HTTPS protocol to clone GitHub repositories you would have come across this annoying scenario where you need to enter the password every time you push,…