Tag: Sitecore

What is Sitecore Plumber

The plumber is an application developed using vuejs and it is developed by Erwin Werkman. It’s a very useful tool to see the inside of your Sitecore XC Engine. It enlists all the pipelines in the lexical order. Since it is hosted as a separate web application it’s easier to use. To install and use

How to install Sitecore XP 9.2

There are multiple architectures that one can use to install Sitecore on a particular machine. Typically, XP0 is used for a developer machine, and this post will walk you through it. Hardware Requirements 4 core processor machines. 16 GB of RAM. The harddisk requirement is base on your project size. I personally recommend having at

How to create a Sitecore Package using Sitecore Powershell Extension

# Create package $package = new-package "Sitecore Test Package"; # Set package metadata $package.Sources.Clear(); $package.Metadata.Author = "Mohd Tarique - Workstation Machine"; $package.Metadata.Publisher = "AIE Enterprise Inc"; $package.Metadata.Version = "2.19"; $package.Metadata.Readme = 'This text will be visible to people installing your package' $allItems = Get-ChildItem -Path 'master://sitecore/content/Terminix' -Recurse ForEach ($item in $allItems) { #Write-Host $item.FullPath $formattedItemPath

Sitecore Powershell Example

Running Sitecore query in Sitecore PS Get-Item -Path master:// -Query “/sitecore/content/Home/Site_Name/Local Content/Dataitems/Blogs//*[@@Name = ‘Whats New For Summer’]” Traversing within a path – $everythingPath = Get-Item master: -Query “/sitecore/content/Home//*” $everythingPath | ForEach-Object { Write-Host “Item name: ” + $_.Name } How to remove all users from a specific Domain in Sitecore Get-User -Filter Domain_Name\* | ?

Tips and Tricks

Reset the admin password To reset the ‘admin‘ password to ‘b‘ the easiest way is to execute this SQL script on the core database: ¬†UPDATE dbo.aspnet_Membership SET [Password]=’qOvF8m8F2IcWMvfOBjJYHmfLABc=’, [PasswordSalt]=’OM5gu45RQuJ76itRvkSPFw==’, [IsApproved] = ‘1’, [IsLockedOut] = ‘0’ WHERE UserId IN (SELECT UserId FROM dbo.aspnet_Users WHERE UserName = ‘sitecore\Admin’)