<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Code &amp; Context</title>
	<atom:link href="https://techiesukh.com/feed" rel="self" type="application/rss+xml" />
	<link>https://techiesukh.com/</link>
	<description>Innovate, Inspire, Inform</description>
	<lastBuildDate>Sun, 22 Mar 2026 18:12:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://i0.wp.com/techiesukh.com/wp-content/uploads/2025/05/cropped-techie-digest-favicon.png?fit=32%2C32&#038;ssl=1</url>
	<title>Code &amp; Context</title>
	<link>https://techiesukh.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">244052343</site>	<item>
		<title>Best Chrome Extensions for Web Developers: The Ultimate Guide to Boost Productivity</title>
		<link>https://techiesukh.com/best-chrome-extensions-for-web-developers</link>
		
		<dc:creator><![CDATA[sukhjeevan]]></dc:creator>
		<pubDate>Fri, 06 Mar 2026 23:13:16 +0000</pubDate>
				<category><![CDATA[Productivity]]></category>
		<category><![CDATA[productivity]]></category>
		<guid isPermaLink="false">https://techiesukh.com/?p=909</guid>

					<description><![CDATA[<p>Web development today is faster, more complex, and more demanding than ever. From debugging APIs to validating performance and inspecting CSS, I constantly switch between tools throughout the day. That’s when I realized that finding the best chrome extension for web developer workflow is not just about convenience &#8211; it’s about efficiency, accuracy, and speed. [&#8230;]</p>
<p>The post <a href="https://techiesukh.com/best-chrome-extensions-for-web-developers">Best Chrome Extensions for Web Developers: The Ultimate Guide to Boost Productivity</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Web development today is faster, more complex, and more demanding than ever. From debugging APIs to validating performance and inspecting CSS, I constantly switch between tools throughout the day. That’s when I realized that finding the <strong>best chrome extension for web developer</strong> workflow is not just about convenience &#8211; it’s about efficiency, accuracy, and speed. </p>



<p>While reading this post, you may want a starting point to explore Chrome extensions so here you go <a href="https://chromewebstore.google.com/category/extensions" target="_blank" rel="noreferrer noopener">the Chrome Web Store</a>.</p>



<p>In this ultimate guide, I’ll walk through the tools that have consistently improved my workflow.</p>



<h2 class="wp-block-heading">1. <a href="https://chromewebstore.google.com/detail/simple-data-layer-viewer/mkdjegdakgimmckobdnfiimhgmabbido" target="_blank" rel="noreferrer noopener">Simple Data Layer Viewer</a></h2>



<p>Whenever I work with Google Tag Manager or analytics implementations, <strong>Simple Data Layer</strong> Viewer makes my life easier. It allows me to instantly inspect the data layer on any webpage and view pushed events in a structured format. Instead of digging through console logs manually, I can quickly verify whether events are firing correctly and whether the data structure is accurate.</p>



<p>The best part is that a new <strong>Live Data Layer</strong> tab gets added to your developer toolbar. This tab can be docked to the bottom or right side of the browser window, allowing real-time visibility into data layer events as they fire.</p>



<h3 class="wp-block-heading">2. <a href="https://chromewebstore.google.com/detail/similarweb-website-traffi/hoklmmgfnpapgjgcpechhaamimifchmp" target="_blank" rel="noreferrer noopener">Similarweb &#8211; Website Traffic &amp; SEO Checker</a></h3>



<p>If you’re curious about how a website is performing online, <strong>Similarweb &#8211; Website Traffic &amp; SEO Checker</strong> makes it really easy to get quick insights. Once this extension is installed, you can open any site and instantly see estimated traffic stats, engagement metrics, traffic sources, and top keywords. It gives you a quick snapshot without needing to log into a full analytics platform. </p>



<p>If you’re into SEO or content strategy, this tool can be surprisingly insightful.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">3. <a href="https://chromewebstore.google.com/detail/json-beautifier-and-edito/lpopeocbeepakdnipejhlpcmifheolpl" target="_blank" rel="noreferrer noopener">JSON Beautifier and Editor</a></h2>



<p><strong>JSON Beautifier and Editor</strong> transforms API responses into a clean, readable structure. It supports collapsible tree views, inline editing, and syntax validation. This makes debugging REST and GraphQL responses significantly easier. Instead of copying JSON into external tools, responses can be inspected directly within the browser.</p>



<h2 class="wp-block-heading">4. <a href="https://chromewebstore.google.com/detail/jsonvue/chklaanhfefbnpoihckbnefhakgolnmc" target="_blank" rel="noreferrer noopener">JSONVue </a></h2>



<p><strong>JSONVue </strong>automatically formats JSON responses in the browser and presents them in an organized tree layout. Nested objects and arrays become easier to navigate and verify. For API-heavy applications, this improves debugging clarity and reduces visual clutter.</p>



<h2 class="wp-block-heading">5. <a href="https://chromewebstore.google.com/detail/json-viewer/gbdbademeighmnbliehmnoifmabbedbp" target="_blank" rel="noreferrer noopener">JSON Viewer</a></h2>



<p><strong>JSON Viewer</strong> extension helps easily read and analyze JSON or JSONP responses directly in the browser. JSON Viewer automatically formats this data into a clean, structured tree view with syntax highlighting, making keys, values, arrays, and objects easier to understand. The extension includes multiple themes for customization, a built-in search feature to quickly locate specific keys or values, and options to toggle between raw and formatted JSON views.</p>



<p>Basically, <strong>JSONVue</strong> fulfills the basic requirement if you simply want to view the response in a formatted JSON structure. On the other hand, <strong>JSON Viewer</strong> provides a few additional features through a dedicated panel on the right side of the browser. Features like <strong>search</strong> and <strong>fold/unfold all toggles</strong> make navigating large JSON responses much easier. Because of these capabilities, JSON Viewer is often my preferred choice when working with complex API responses. </p>



<p>Try these extensions by browsing a <a href="https://dummyjson.com/products/1" target="_blank" rel="noreferrer noopener">dummy JSON URL</a> and see which one best fits in your use case.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">6. <a href="https://chromewebstore.google.com/detail/lorem-ipsum-generator/pglahbfamjiifnafcicdibiiabpakkkb" target="_blank" rel="noreferrer noopener">Lorem Ipsum Generator</a></h2>



<p><strong>Lorem Ipsum Generator</strong> is a lightweight Chrome extension that helps developers, designers, and content creators quickly generate placeholder text directly in the browser. Instead of visiting external websites to copy dummy content, the extension lets you instantly create customizable Lorem Ipsum text. You can choose the format &#8211; paragraphs, words, bytes, sentences, or lists &#8211; and even control the length of the generated text.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">7. <a href="https://chromewebstore.google.com/detail/window-resizer/kkelicaakdanhinjdeammmilcgefonfh" target="_blank" rel="noreferrer noopener">Window Resizer</a></h2>



<p><strong>Window Resizer</strong> switches between predefined viewport sizes with a single click. Responsive layouts can be tested across desktop, tablet, and mobile breakpoints efficiently. This reduces manual resizing and improves validation speed for responsive designs.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">8. <a href="https://chromewebstore.google.com/detail/css-viewer-for-google-chr/eedfldkdghfkhdcanjnfiklpeehbfoag" target="_blank" rel="noreferrer noopener">CSS Viewer for Google Chrome</a></h2>



<p><strong>CSS Viewer for Google Chrome</strong> displays CSS properties such as margin, padding, font size, and positioning on hover. It enables quick visual inspection without navigating deep into Chrome Dev Tools panels. UI debugging becomes faster and more focused.</p>



<h2 class="wp-block-heading">9. <a href="https://chromewebstore.google.com/detail/whatfont/jabopobgcpjmedljpbcaablpmlmfcogm" target="_blank" rel="noreferrer noopener">WhatFont</a></h2>



<p><strong>WhatFont </strong>is a popular Chrome extension that allows developers and designers to quickly identify the fonts used on any website without manually inspecting CSS in browser developer tools. Once activated, the extension lets you simply hover over any text on a webpage to instantly see the font name and clicking on the text reveals additional details such as font family, size, weight, style, and color.</p>



<h2 class="wp-block-heading">10. <a href="https://chromewebstore.google.com/detail/color-picker-eyedropper/gogbiohkminacikoppmljeolgccpmlop" target="_blank" rel="noreferrer noopener">Color Picker &#8211; Eyedropper Tool</a></h2>



<p><strong>Color Picker Eyedropper Tool</strong> is a lightweight extension that allows developers and designers to quickly capture colors from any webpage. Using the built-in eyedropper tool, users can pick colors directly from screen elements and instantly retrieve the corresponding HEX, RGB, or HSL color codes. </p>



<p>The extension also provides an interactive color picker that lets users fine-tune selected colors and export them for use in CSS, design tools, or style guides.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">11. <a href="https://chromewebstore.google.com/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk" target="_blank" rel="noreferrer noopener">Lighthouse</a></h2>



<p><strong>Lighthouse</strong> auditing tool helps developers evaluate the quality of modern web applications. It runs automated tests on a webpage and generates detailed reports covering <strong>performance, accessibility, SEO and best practices</strong>. Developers can quickly identify issues such as slow loading resources, unused JavaScript, accessibility gaps, or poor caching strategies.</p>



<p>By using Lighthouse during development, teams can continuously monitor and improve the overall performance and reliability of web applications.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">12. <a href="https://chromewebstore.google.com/detail/fake-filler/bnjjngeaknajbdcgpfkgnonkmififhfo" target="_blank" rel="noreferrer noopener">Fake Filler</a></h2>



<p><strong>Fake Filler</strong> extension automatically populate web forms with realistic dummy data, making it extremely useful for developers and QA testers during development and testing. Instead of manually entering values into multiple input fields, the extension can instantly fill forms with sample names, emails, phone numbers, addresses, and other common data types with just single click. You can even fill individual fields as well.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">13. <a href="https://chromewebstore.google.com/detail/javascript-errors-notifie/lplhclpeegjedapdliokcacmphgcnlnd" target="_blank" rel="noreferrer noopener">JavaScript Errors Notifier</a></h2>



<p><strong>JavaScript Errors</strong> Notifier alerts users when runtime errors occur on a page. Silent failures become visible immediately. Early detection improves debugging speed and application stability.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">14. <a href="https://chromewebstore.google.com/detail/text-case-converter/dkdpfgclohkhnkppppenhdmlcfggmcjp" target="_blank" rel="noreferrer noopener">Text Case Converter</a></h2>



<p>If you ever find yourself constantly switching text between different cases while working in the browser, Text Case Converter can save you a lot of time. I like using it when I need to quickly convert text to UPPERCASE, lowercase, Title Case, Sentence case, or even alternating case without opening another editor. </p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">15. <a href="https://chromewebstore.google.com/detail/time-zone-converter-savvy/plhnjpnbkmdmooideifhkonobdkgbbof" target="_blank" rel="noreferrer noopener">Time Zone Converter &#8211; Savvy Time</a></h2>



<p>Time Zone Converter &#8211; Savvy Time simplifies global scheduling by comparing multiple time zones instantly. Deployment coordination and meeting planning become more reliable. It reduces errors caused by time differences in distributed teams.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">16. <a href="https://chromewebstore.google.com/detail/sitecore-extensions/aoclhcccfdkjddgpaaajldgljhllhgmd" target="_blank" rel="noreferrer noopener">Sitecore Extensions</a></h2>



<p>If you work with Sitecore regularly, you know how many small repetitive tasks are involved in navigating the CMS. Sitecore Extensions includes a set of simple but very useful enhancements that make those everyday tasks much easier. When using it you can quickly access helpful shortcuts, view extra item details, and move around the Sitecore interface more efficiently without digging through multiple menus. </p>



<p>I’ve found it especially handy when inspecting items or jumping between content quickly during development. It’s one of those small tools that quietly improves your workflow and saves time throughout the day.</p>



<h3 class="wp-block-heading">17. <a href="https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi" target="_blank" rel="noreferrer noopener">React Developer Tools</a></h3>



<p>If you work with <strong>React</strong>, the <strong>React Developer Tools</strong> is one of the best chrome extension. Once installed, it adds dedicated <strong>Components</strong> and <strong>Profiler</strong> tabs inside Chrome Dev Tools, letting you inspect the React component tree in real time. I often use it to see how props and state are flowing through components, which makes debugging UI issues much easier. </p>



<p>You can also profile component renders to understand what’s causing unnecessary re-renders. When building or debugging React apps, this tool gives you visibility into your component structure that regular DevTools simply can’t provide.</p>



<h2 class="wp-block-heading">18. <a href="https://chromewebstore.google.com/detail/lytics-dev-tools/jhdkpndomcenhmbkcnfjmdccfmlmjfgl" target="_blank" rel="noreferrer noopener">Lytics Dev Tools</a></h2>



<p>Lytics Dev Tools provides insight into audience segmentation and identity resolution for personalization-driven platforms. It lets you inspect how the Lytics Web SDK is behaving on a page and view the events, identities, and data being sent to the platform in real time. I find it especially helpful when validating whether tracking calls and API requests are firing correctly. </p>



<p>Instead of digging through network logs or console output, you get a clearer view of what’s happening behind the scenes. If you&#8217;re integrating or troubleshooting Lytics, this tool can save you a lot of debugging time.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">19. <a href="https://chromewebstore.google.com/detail/wappalyzer-technology-pro/gppongmhjkpfnbhagpmjfkannfbllamg" target="_blank" rel="noreferrer noopener">Wappalyzer &#8211; Technology Profiler</a></h2>



<p>Whenever I land on a website and wonder what tech stack is this site using, Wappalyzer is usually the first tool I open. This Chrome extension quickly analyzes a webpage and shows you the technologies behind it &#8211; things like CMS platforms, JavaScript frameworks, analytics tools, CDNs, and hosting providers.</p>



<p>Instead of digging through page source or network requests, you get a clean snapshot of the tech stack in seconds. If you’re a developer who likes to understand how modern websites are built, this tool is incredibly handy.</p>



<h2 class="wp-block-heading">20. <a href="https://chromewebstore.google.com/detail/builtwith-technology-prof/dapjbgnjinbpoindlpdmhochffioedbn" target="_blank" rel="noreferrer noopener">BuiltWith Technology Profiler</a></h2>



<p>BuiltWith Technology Profiler is another Chrome extension that gives you detailed insights into the technology stack behind any website. At first glance, it can feel a bit overwhelming because it shows so much information all at once. There’s nothing wrong with that &#8211; it’s great if you want a deep dive &#8211; but personally I use Wappalyzer mostly. </p>



<p>With just one click, it gives me a clean, high-level view of the tech stack, which is perfect when I just want to understand the main technologies without digging into every detail.</p>



<h2 class="wp-block-heading">Final Thought</h2>



<p>Choosing the <strong>best chrome extension for web developer workflow</strong> is not about installing every available tool. It’s about building a practical, focused toolkit that supports analytics validation, API debugging, responsive testing, UI accuracy, and performance optimization.</p>



<p>The extensions covered here address real development challenges. When used strategically, they reduce repetitive tasks, improve debugging clarity, and enhance overall efficiency. With the right setup, Chrome becomes more than a browser &#8211; it becomes a fully optimized development environment.</p>



<p>Happy Learning !!!</p>



<p></p>
<p>The post <a href="https://techiesukh.com/best-chrome-extensions-for-web-developers">Best Chrome Extensions for Web Developers: The Ultimate Guide to Boost Productivity</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">909</post-id>	</item>
		<item>
		<title>Boost Your Sitecore Productivity with Sitecore PowerShell Extension (SPE) &#8211; Basics</title>
		<link>https://techiesukh.com/boost-your-sitecore-productivity-with-sitecore-powershell-extension-spe-basics</link>
		
		<dc:creator><![CDATA[sukhjeevan]]></dc:creator>
		<pubDate>Sat, 04 Oct 2025 00:22:41 +0000</pubDate>
				<category><![CDATA[SPE]]></category>
		<category><![CDATA[sitecore powershell extension]]></category>
		<category><![CDATA[spe]]></category>
		<guid isPermaLink="false">https://techiesukh.com/?p=718</guid>

					<description><![CDATA[<p>In the fast-paced world of Sitecore development, efficiency and automation are key. Whether you&#8217;re managing content, deploying features, or performing maintenance tasks, the&#160;Sitecore PowerShell Extension (SPE)&#160;is a game-changer. The&#160;Sitecore PowerShell Extension&#160;is a robust scripting environment that integrates PowerShell into Sitecore, enabling users to perform complex operations with simple scripts. SPE includes an Integrated Scripting Environment [&#8230;]</p>
<p>The post <a href="https://techiesukh.com/boost-your-sitecore-productivity-with-sitecore-powershell-extension-spe-basics">Boost Your Sitecore Productivity with Sitecore PowerShell Extension (SPE) &#8211; Basics</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In the fast-paced world of Sitecore development, efficiency and automation are key. Whether you&#8217;re managing content, deploying features, or performing maintenance tasks, the&nbsp;<strong>Sitecore PowerShell Extension (SPE)</strong>&nbsp;is a game-changer. The&nbsp;<strong>Sitecore PowerShell Extension</strong>&nbsp;is a robust scripting environment that integrates PowerShell into Sitecore, enabling users to perform complex operations with simple scripts.</p>



<p>SPE includes an Integrated Scripting Environment (ISE), command line interface, and support for scheduled tasks and remote execution. SPE empowers developers to automate content updates, bulk edits, audits, deployments, and more—saving time and reducing human error. With SPE, Sitecore becomes not just a CMS, but a fully scriptable platform.</p>



<h2 class="wp-block-heading"><strong>Essential Sitecore PowerShell Commands</strong></h2>



<p>I&#8217;ve compiled a set of basic, essential PowerShell commands specifically for the beginner audience. These commands have been tested on a vanilla Sitecore 10.3.1 instance, making them straightforward to follow and execute in your local environment. This hands-on approach will help you quickly build confidence and accelerate your learning—so let’s dive into Sitecore PowerShell Extensions (SPE)!</p>



<p><strong>Get Sitecore Item</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Retrieve a Sitecore item by Sitecore path
Get-Item /sitecore/content/Home

# Retrieve a Sitecore item by Sitecore path by specifying database name
Get-Item -Path "master:/sitecore/content/Home"

# Retrieve a Sitecore item across all languages and versions
Get-Item -Path "master:/sitecore/content/Home" -Language * -Version *

# Retrieve a Sitecore item with a specific language and version
Get-Item -Path "master:/sitecore/content/Home" -Language en -Version 1

# Retrieve a Sitecore item by Item Id
Get-Item -Path "{Item Id}"

# Retrieve a Sitecore item by Item Id by specifying database name
Get-Item master: -ID "{Item Id}"</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Retrieve a Sitecore item by Sitecore path</span></span>
<span class="line"><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">/</span><span style="color: #EEFFFF">sitecore</span><span style="color: #89DDFF">/</span><span style="color: #EEFFFF">content</span><span style="color: #89DDFF">/</span><span style="color: #EEFFFF">Home</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Retrieve a Sitecore item by Sitecore path by specifying database name</span></span>
<span class="line"><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Retrieve a Sitecore item across all languages and versions</span></span>
<span class="line"><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Language </span><span style="color: #89DDFF">*</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Version </span><span style="color: #89DDFF">*</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Retrieve a Sitecore item with a specific language and version</span></span>
<span class="line"><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Language en </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Version </span><span style="color: #F78C6C">1</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Retrieve a Sitecore item by Item Id</span></span>
<span class="line"><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">{Item Id}</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Retrieve a Sitecore item by Item Id by specifying database name</span></span>
<span class="line"><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> master: </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">ID </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">{Item Id}</span><span style="color: #89DDFF">&quot;</span></span></code></pre></div>



<p></p>



<p><strong>Get Sitecore Child Items</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Get Sitecore child items by Sitecore path
Get-ChildItem -Path "master:/sitecore/content/Home"

# Retrieve all descendant items using a Sitecore path
Get-ChildItem -Path "master:/sitecore/content/Home" -Recurse

# Get Sitecore child items by Sitecore path with one condition
Get-ChildItem -Path "master:/sitecore/content/Home" |
Where-Object { $_.TemplateName -eq "Sample Item" }

# Get top 10 items
Get-ChildItem -Path "master:/sitecore/content/Home" |
Where-Object { $_.TemplateName -eq "Sample Item" } |
Select-Object -First 10

# Get Sitecore child items by Sitecore Item Id
Get-ChildItem -Path "{Parent Item Id}"</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Get Sitecore child items by Sitecore path</span></span>
<span class="line"><span style="color: #82AAFF">Get-ChildItem</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Retrieve all descendant items using a Sitecore path</span></span>
<span class="line"><span style="color: #82AAFF">Get-ChildItem</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Recurse</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get Sitecore child items by Sitecore path with one condition</span></span>
<span class="line"><span style="color: #82AAFF">Get-ChildItem</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">|</span></span>
<span class="line"><span style="color: #82AAFF">Where-Object</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">_.TemplateName </span><span style="color: #89DDFF">-eq</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Sample Item</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">}</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get top 10 items</span></span>
<span class="line"><span style="color: #82AAFF">Get-ChildItem</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">|</span></span>
<span class="line"><span style="color: #82AAFF">Where-Object</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">_.TemplateName </span><span style="color: #89DDFF">-eq</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Sample Item</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">}</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">|</span></span>
<span class="line"><span style="color: #82AAFF">Select-Object</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">First </span><span style="color: #F78C6C">10</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get Sitecore child items by Sitecore Item Id</span></span>
<span class="line"><span style="color: #82AAFF">Get-ChildItem</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">{Parent Item Id}</span><span style="color: #89DDFF">&quot;</span></span></code></pre></div>



<p></p>



<p><strong>Get Sitecore Item Fields &amp; Values</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Get Sitecore Item field value
$item = Get-Item -Path "master:/sitecore/content/Home"
$item.Title
$item.__Created #Standard field

# Get a list of names of non standard fields from item
Get-ItemField -Path "master:/sitecore/content/Home"

# Get a list of names of fields from item including standard fields
Get-ItemField -Path "master:/sitecore/content/Home" -IncludeStandardFields</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Get Sitecore Item field value</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item.Title</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item.__Created </span><span style="color: #546E7A; font-style: italic">#Standard field</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get a list of names of non standard fields from item</span></span>
<span class="line"><span style="color: #82AAFF">Get-ItemField</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get a list of names of fields from item including standard fields</span></span>
<span class="line"><span style="color: #82AAFF">Get-ItemField</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">IncludeStandardFields</span></span></code></pre></div>



<p></p>



<p><strong>Get the Standard Values item field</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>function Test-TemplateHasStandardValues {
    param(
        &#91;Parameter(Mandatory=$true)&#93;
        &#91;Sitecore.Data.Items.TemplateItem&#93;$Template
    )

    $standardValuesItem = $Template.StandardValues
    if ($standardValuesItem -ne $null) {
        return $true
    } else {
        return $false
    }
}

$template = Get-Item -Path "master:/sitecore/templates/Sample/Sample Item"
$fieldName = "Title"
if (Test-TemplateHasStandardValues -Template $template) {
    
    $standardValuesItem = Get-Item -Path ($template.Paths.FullPath + "/__Standard Values")
    if ($standardValuesItem.Fields&#91;$fieldName&#93;) {
        Write-Host "Found field '$fieldName' in '__Standard Values' for template '$($template.Name)'."    
    }else{
        Write-Host "Field '$fieldName' was not found on the '__Standard Values' item."
    }
}
else{
    Write-Host "No '__Standard Values' item found for template '$($template.Name)'."
}</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #C792EA">function</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Test-TemplateHasStandardValues</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF; font-style: italic">param</span><span style="color: #89DDFF">(</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #89DDFF">&#91;</span><span style="color: #82AAFF">Parameter</span><span style="color: #89DDFF">(</span><span style="color: #EEFFFF; font-style: italic">Mandatory</span><span style="color: #89DDFF">=$true)&#93;</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #89DDFF">&#91;</span><span style="color: #C792EA">Sitecore.Data.Items.TemplateItem</span><span style="color: #89DDFF">&#93;$</span><span style="color: #EEFFFF">Template</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">)</span></span>
<span class="line"></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">standardValuesItem </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">Template.StandardValues</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF; font-style: italic">if</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">($</span><span style="color: #EEFFFF">standardValuesItem </span><span style="color: #89DDFF">-ne</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$null)</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #89DDFF; font-style: italic">return</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$true</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">}</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF; font-style: italic">else</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #89DDFF; font-style: italic">return</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$false</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">}</span></span>
<span class="line"><span style="color: #89DDFF">}</span></span>
<span class="line"></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">template </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/templates/Sample/Sample Item</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">fieldName </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Title</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF; font-style: italic">if</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">(</span><span style="color: #82AAFF">Test-TemplateHasStandardValues</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Template </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">template</span><span style="color: #89DDFF">)</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">    </span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">standardValuesItem </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">($</span><span style="color: #EEFFFF">template.Paths.FullPath </span><span style="color: #89DDFF">+</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">/__Standard Values</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">)</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF; font-style: italic">if</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">($</span><span style="color: #EEFFFF">standardValuesItem.Fields</span><span style="color: #89DDFF">&#91;$</span><span style="color: #EEFFFF">fieldName</span><span style="color: #89DDFF">&#93;)</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #82AAFF">Write-Host</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Found field &#39;</span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">fieldName</span><span style="color: #C3E88D">&#39; in &#39;__Standard Values&#39; for template &#39;</span><span style="color: #89DDFF">$($</span><span style="color: #EEFFFF">template.Name</span><span style="color: #89DDFF">)</span><span style="color: #C3E88D">&#39;.</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF">    </span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">}</span><span style="color: #89DDFF; font-style: italic">else</span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #82AAFF">Write-Host</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Field &#39;</span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">fieldName</span><span style="color: #C3E88D">&#39; was not found on the &#39;__Standard Values&#39; item.</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">}</span></span>
<span class="line"><span style="color: #89DDFF">}</span></span>
<span class="line"><span style="color: #89DDFF; font-style: italic">else</span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #82AAFF">Write-Host</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">No &#39;__Standard Values&#39; item found for template &#39;</span><span style="color: #89DDFF">$($</span><span style="color: #EEFFFF">template.Name</span><span style="color: #89DDFF">)</span><span style="color: #C3E88D">&#39;.</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF">}</span></span></code></pre></div>



<p></p>



<p><strong>Get Search Index</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Get a list of all search indexes
Get-SearchIndex

# Get only specific index
Get-SearchIndex -Name sitecore_master_index</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Get a list of all search indexes</span></span>
<span class="line"><span style="color: #82AAFF">Get-SearchIndex</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get only specific index</span></span>
<span class="line"><span style="color: #82AAFF">Get-SearchIndex</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Name sitecore_master_index</span></span></code></pre></div>



<p></p>



<p><strong>Get Sitecore Items via Sitecore Queries</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Sitecore Query
Get-Item master: -Query "/sitecore/content/Home//*&#91;@@templatename='Sample Item'&#93;"

# Filter result along with other parameters if needed
Get-Item master: -Query "/sitecore/content/Home//*&#91;@@templatename='Sample Item'&#93;" `
-Language en -Version 1</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Sitecore Query</span></span>
<span class="line"><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> master: </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Query </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">/sitecore/content/Home//*&#91;@@templatename=&#39;Sample Item&#39;&#93;</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Filter result along with other parameters if needed</span></span>
<span class="line"><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> master: </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Query </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">/sitecore/content/Home//*&#91;@@templatename=&#39;Sample Item&#39;&#93;</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">`</span></span>
<span class="line"><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Language en </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Version </span><span style="color: #F78C6C">1</span></span></code></pre></div>



<p></p>



<p><strong>Get Sitecore Item Template</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Get template of particular item
Get-ItemTemplate -Path "master:/sitecore/content/Home"
 
# Get the template of particular item, including its full inheritance chain
Get-ItemTemplate -Path "master:/sitecore/content/Home" -Recurse `
| Format-Table Name, FullName -autosize</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Get template of particular item</span></span>
<span class="line"><span style="color: #82AAFF">Get-ItemTemplate</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #EEFFFF"> </span></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get the template of particular item, including its full inheritance chain</span></span>
<span class="line"><span style="color: #82AAFF">Get-ItemTemplate</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Recurse </span><span style="color: #89DDFF">`</span></span>
<span class="line"><span style="color: #89DDFF">|</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Format-Table</span><span style="color: #EEFFFF"> Name</span><span style="color: #89DDFF">,</span><span style="color: #EEFFFF"> FullName </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">autosize</span></span></code></pre></div>



<p></p>



<p><strong>Get Renderings &amp; Layouts</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Get all renderings on a page associated with the FinalLayout
$item = Get-Item -Path "master:/sitecore/content/Home"
$defaultLayout = Get-LayoutDevice "Default"
Get-Rendering -Item $item -Device $defaultLayout -FinalLayout | Show-ListView

# Get layout on item
$item = Get-Item -Path "master:/sitecore/content/Home"
Get-Layout -Item $item

# Get all layout devices associated with the item
$item = Get-Item -Path "master:/sitecore/content/Home"
$layout = Get-Layout -Item $item
$layout.Device

# Get rendering parameter
$item = Get-Item -Path "master:/sitecore/content/Home"
$itemRendering = Get-Rendering -Item $item -Placeholder "/main/centercolumn/content" -FinalLayout
Get-RenderingParameter -Rendering $itemRendering</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Get all renderings on a page associated with the FinalLayout</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">defaultLayout </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-LayoutDevice</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Default</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #82AAFF">Get-Rendering</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Item </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Device </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">defaultLayout </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">FinalLayout </span><span style="color: #89DDFF">|</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Show-ListView</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get layout on item</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #82AAFF">Get-Layout</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Item </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get all layout devices associated with the item</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">layout </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Layout</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Item </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">layout.Device</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get rendering parameter</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">itemRendering </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Get-Rendering</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Item </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">item </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Placeholder </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">/main/centercolumn/content</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">FinalLayout</span></span>
<span class="line"><span style="color: #82AAFF">Get-RenderingParameter</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Rendering </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">itemRendering</span></span></code></pre></div>



<p></p>



<p><strong>Get Sitecore Item Workflow State</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Get workflow state of child items
Get-ChildItem -Path "master:/sitecore/content/Home" |
Where-Object { $_.TemplateName -eq "Sample Item" } |
ForEach-Object {
    if ($_ -and $_."__Workflow state") {
        Write-Host (Get-Item master: -ID $_."__Workflow state").Name
    }
}</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Get workflow state of child items</span></span>
<span class="line"><span style="color: #82AAFF">Get-ChildItem</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Path </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">master:/sitecore/content/Home</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">|</span></span>
<span class="line"><span style="color: #82AAFF">Where-Object</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">_.TemplateName </span><span style="color: #89DDFF">-eq</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Sample Item</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">}</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">|</span></span>
<span class="line"><span style="color: #82AAFF">ForEach-Object</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF; font-style: italic">if</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">($</span><span style="color: #EEFFFF">_ </span><span style="color: #89DDFF">-and</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">_.</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">__Workflow state</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">)</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #82AAFF">Write-Host</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">(</span><span style="color: #82AAFF">Get-Item</span><span style="color: #EEFFFF"> master: </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">ID </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">_.</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">__Workflow state</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">)</span><span style="color: #EEFFFF">.Name</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">}</span></span>
<span class="line"><span style="color: #89DDFF">}</span></span></code></pre></div>



<p></p>



<p><strong>Users &amp; Roles</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Get current user 
Get-User -Current

# Get a specific user
Get-User -Identity "sitecore\admin"

# Get all users
Get-User -Filter *

# Get all users in a specific domain
Get-User -Filter "sitecore\*"

# Get User based on specific email address
Get-User -Filter * | Where-Object { $_.Profile.Email -eq "no_reply@sitecore.net"}

# Get a specific role
Get-Role -Identity "sitecore\Author"</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Get current user </span></span>
<span class="line"><span style="color: #82AAFF">Get-User</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Current</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get a specific user</span></span>
<span class="line"><span style="color: #82AAFF">Get-User</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Identity </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">sitecore\admin</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get all users</span></span>
<span class="line"><span style="color: #82AAFF">Get-User</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Filter </span><span style="color: #89DDFF">*</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get all users in a specific domain</span></span>
<span class="line"><span style="color: #82AAFF">Get-User</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Filter </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">sitecore\*</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get User based on specific email address</span></span>
<span class="line"><span style="color: #82AAFF">Get-User</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Filter </span><span style="color: #89DDFF">*</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">|</span><span style="color: #EEFFFF"> </span><span style="color: #82AAFF">Where-Object</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">{</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">_.Profile.Email </span><span style="color: #89DDFF">-eq</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">no_reply@sitecore.net</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">}</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Get a specific role</span></span>
<span class="line"><span style="color: #82AAFF">Get-Role</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Identity </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">sitecore\Author</span><span style="color: #89DDFF">&quot;</span></span></code></pre></div>



<p></p>



<p><strong>Search Sitecore Items using Sitecore Content Search indexes</strong></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># Dynamic Linq Query approach
$props = @{
    Index = "sitecore_master_index"
    Where = 'TemplateName = @0 And Language=@1'
    WhereValues = "Sample Item", "en"
}

Find-Item @props

# Criteria Parameter approach
$criteria = @(
    @{Filter = "Equals"; Field = "_templatename"; Value = "Sample Item"},
    @{Filter = "Equals"; Field = "_language"; Value = "en"}
)
$props = @{
    Index = "sitecore_master_index"
    Criteria = $criteria
}

Find-Item @props</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #546E7A; font-style: italic"># Dynamic Linq Query approach</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">props </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #F78C6C">@</span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">    Index </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">sitecore_master_index</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #EEFFFF">    Where </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&#39;</span><span style="color: #C3E88D">TemplateName = @0 And Language=@1</span><span style="color: #89DDFF">&#39;</span></span>
<span class="line"><span style="color: #EEFFFF">    WhereValues </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Sample Item</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">,</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">en</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF">}</span></span>
<span class="line"></span>
<span class="line"><span style="color: #82AAFF">Find-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">@</span><span style="color: #EEFFFF">props</span></span>
<span class="line"></span>
<span class="line"><span style="color: #546E7A; font-style: italic"># Criteria Parameter approach</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">criteria </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #F78C6C">@</span><span style="color: #89DDFF">(</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #F78C6C">@</span><span style="color: #89DDFF">{</span><span style="color: #EEFFFF">Filter </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Equals</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">;</span><span style="color: #EEFFFF"> Field </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">_templatename</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">;</span><span style="color: #EEFFFF"> Value </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Sample Item</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">},</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #F78C6C">@</span><span style="color: #89DDFF">{</span><span style="color: #EEFFFF">Filter </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Equals</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">;</span><span style="color: #EEFFFF"> Field </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">_language</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">;</span><span style="color: #EEFFFF"> Value </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">en</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">}</span></span>
<span class="line"><span style="color: #89DDFF">)</span></span>
<span class="line"><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">props </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #F78C6C">@</span><span style="color: #89DDFF">{</span></span>
<span class="line"><span style="color: #EEFFFF">    Index </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">sitecore_master_index</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #EEFFFF">    Criteria </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">$</span><span style="color: #EEFFFF">criteria</span></span>
<span class="line"><span style="color: #89DDFF">}</span></span>
<span class="line"></span>
<span class="line"><span style="color: #82AAFF">Find-Item</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">@</span><span style="color: #EEFFFF">props</span></span></code></pre></div>



<p></p>



<p>This blog introduces the basic commands to help you get started with Sitecore PowerShell Extensions (SPE). Once you&#8217;re comfortable with the fundamentals, be sure to explore the documentation linked below for a deeper dive into advanced SPE capabilities.</p>



<p><a href="https://doc.sitecorepowershell.com" target="_blank" rel="noreferrer noopener">https://doc.sitecorepowershell.com</a></p>



<p><a href="https://blog.najmanowicz.com/sitecore-powershell-console/" target="_blank" rel="noreferrer noopener">https://blog.najmanowicz.com/sitecore-powershell-console/</a></p>



<p>Happy Learning!!!</p>
<p>The post <a href="https://techiesukh.com/boost-your-sitecore-productivity-with-sitecore-powershell-extension-spe-basics">Boost Your Sitecore Productivity with Sitecore PowerShell Extension (SPE) &#8211; Basics</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">718</post-id>	</item>
		<item>
		<title>Sitecore Resource Hub: Your Ultimate Guide to Sitecore</title>
		<link>https://techiesukh.com/sitecore-resource-hub</link>
		
		<dc:creator><![CDATA[sukhjeevan]]></dc:creator>
		<pubDate>Wed, 30 Apr 2025 17:14:38 +0000</pubDate>
				<category><![CDATA[Sitecore]]></category>
		<category><![CDATA[sitecore]]></category>
		<category><![CDATA[sitecore resources]]></category>
		<guid isPermaLink="false">https://techiesukh.com/?p=626</guid>

					<description><![CDATA[<p>Welcome to your go-to source for all things Sitecore. This blog is dedicated to providing comprehensive information and resources related to Sitecore. Whether you&#8217;re a developer, designer or Sitecore enthusiast, you&#8217;ll find valuable insights and tools to enhance your Sitecore experience. My goal is to provide the insights and tools you need to master the [&#8230;]</p>
<p>The post <a href="https://techiesukh.com/sitecore-resource-hub">Sitecore Resource Hub: Your Ultimate Guide to Sitecore</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Welcome to your go-to source for all things Sitecore. This blog is dedicated to providing comprehensive information and resources related to Sitecore. Whether you&#8217;re a developer, designer or Sitecore enthusiast, you&#8217;ll find valuable insights and tools to enhance your Sitecore experience. My goal is to provide the insights and tools you need to master the evolving Sitecore ecosystem and deliver world-class digital experiences.</p>



<h2 class="wp-block-heading has-vivid-red-color has-text-color has-link-color wp-elements-14dd2349e754fc83bcaa6ad660f5e819">Sitecore</h2>



<p>This section of the Sitecore Resource Hub provides a centralized place for all essential Sitecore-related information. It includes Sitecore Support Portal, official developer documentation and knowledge base articles.</p>



<ul class="wp-block-list">
<li><strong>Sitecore Documentation</strong>
<ul class="wp-block-list">
<li><a href="https://doc.sitecore.com/">https://doc.sitecore.com/</a></li>
</ul>
</li>



<li><strong>Sitecore support portal</strong>
<ul class="wp-block-list">
<li><a href="https://support.sitecore.com/csm">https://support.sitecore.com/csm</a> </li>
</ul>
</li>



<li><strong>Sitecore compatibility table for Sitecore XP 9.0 and later</strong>
<ul class="wp-block-list">
<li><a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0087164" target="_blank" rel="noreferrer noopener">https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0087164</a></li>
</ul>
</li>



<li><strong><strong>Sitecore Product Support Lifecycle</strong></strong>
<ul class="wp-block-list">
<li><a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167" target="_blank" rel="noopener" title="sitecore security">https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0641167</a></li>
</ul>
</li>



<li><strong><strong>Sitecore Downloads</strong></strong>
<ul class="wp-block-list">
<li><a href="https://developers.sitecore.com/downloads" target="_blank" rel="noopener" title="">https://developers.sitecore.com/downloads</a></li>
</ul>
</li>



<li><strong>Sitecore Knowledge Base</strong>
<ul class="wp-block-list">
<li><a href="https://support.sitecore.com/kb" target="_blank" rel="noopener" title="">https://support.sitecore.com/kb</a></li>
</ul>
</li>



<li><strong>Sitecore Partner Network</strong>
<ul class="wp-block-list">
<li><a href="https://partners.sitecore.com/s" target="_blank" rel="noopener" title="">https://partners.sitecore.com/s</a></li>
</ul>
</li>



<li><strong>Sitecore Developers Learn</strong>
<ul class="wp-block-list">
<li><a href="https://developers.sitecore.com/learn" target="_blank" rel="noopener" title="">https://developers.sitecore.com/learn</a></li>
</ul>
</li>
</ul>



<h2 class="wp-block-heading has-vivid-red-color has-text-color has-link-color wp-elements-fcb5b4a6a4d3c5fc2ae6521b6fed222a">Sitecore Dev Tools</h2>



<p>This section of the Sitecore Resource Hub focuses on the key tools commonly used by Sitecore developers in their daily workflows. This section is designed to help developers quickly discover the right tools that enhance efficiency and support best practices throughout the Sitecore development lifecycle.</p>



<ul class="wp-block-list">
<li><strong>Sitecore PowerShell Extensions</strong>
<ul class="wp-block-list">
<li><a href="https://doc.sitecorepowershell.com/">https://doc.sitecorepowershell.com/</a></li>
</ul>
</li>



<li><strong>Sitecore Command Line Interface</strong>
<ul class="wp-block-list">
<li><a href="https://doc.sitecore.com/xp/en/developers/latest/developer-tools/sitecore-command-line-interface.html">https://doc.sitecore.com/xp/en/developers/latest/developer-tools/sitecore-command-line-interface.html</a></li>
</ul>
</li>



<li><strong>Sitecore Content Serialization</strong>
<ul class="wp-block-list">
<li><a href="https://doc.sitecore.com/xp/en/developers/latest/developer-tools/sitecore-content-serialization.html">https://doc.sitecore.com/xp/en/developers/latest/developer-tools/sitecore-content-serialization.html</a></li>
</ul>
</li>



<li><strong>Sitecore Instance Manager (SIM)</strong>
<ul class="wp-block-list">
<li><a href="https://github.com/Sitecore/Sitecore-Instance-Manager" target="_blank" rel="noopener" title="">https://github.com/Sitecore/Sitecore-Instance-Manager</a></li>
</ul>
</li>



<li><strong>Sitecore-StandaloneShowConfig</strong>
<ul class="wp-block-list">
<li><a href="https://github.com/bic742/Sitecore-StandaloneShowConfig" target="_blank" rel="noopener" title="">https://github.com/bic742/Sitecore-StandaloneShowConfig</a></li>
</ul>
</li>



<li><strong>Awesome Sitecore</strong>
<ul class="wp-block-list">
<li><a href="https://github.com/MartinMiles/awesome-sitecore" target="_blank" rel="noopener" title="">https://github.com/MartinMiles/awesome-sitecore</a></li>
</ul>
</li>



<li><strong>Sitecore Sidekick</strong>
<ul class="wp-block-list">
<li><a href="https://github.com/JeffDarchuk/SitecoreSidekick" target="_blank" rel="noopener" title="">https://github.com/JeffDarchuk/SitecoreSidekick</a></li>
</ul>
</li>



<li><strong>XConnectTutorial</strong>
<ul class="wp-block-list">
<li><a href="https://github.com/jst-cyr/XConnectTutorial" target="_blank" rel="noopener" title="">https://github.com/jst-cyr/XConnectTutorial</a></li>
</ul>
</li>



<li><strong>Sitecore File Explorer</strong>
<ul class="wp-block-list">
<li><a href="https://www.sitecorescrub.com/post/sitecore-file-explorer" target="_blank" rel="noopener" title="">https://www.sitecorescrub.com/post/sitecore-file-explorer</a></li>
</ul>
</li>



<li><strong>Sitecore Log Analyzer (SCLA)</strong>
<ul class="wp-block-list">
<li><a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0870095" target="_blank" rel="noopener" title="">https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0870095</a></li>
</ul>
</li>



<li>C<strong>ollect basic information about the Sitecore installation</strong>
<ul class="wp-block-list">
<li><a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB0406145">How-to&#8217;s &#8211; How to collect basic information about your Sitecore installation</a></li>
</ul>
</li>
</ul>



<p>Hope the Sitecore resources and developer tools provided here are helpful and offer the clarity and support needed to work more efficiently with the platform. The intent is to make your Sitecore experience smoother, more productive, and well‑supported throughout your development journey.</p>



<p>Happy Learning !!!</p>



<p></p>
<p>The post <a href="https://techiesukh.com/sitecore-resource-hub">Sitecore Resource Hub: Your Ultimate Guide to Sitecore</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">626</post-id>	</item>
		<item>
		<title>Sitecore Security Bulletins: Stay Ahead of Digital Threats</title>
		<link>https://techiesukh.com/essential-sitecore-security-bulletins-protect-your-environment</link>
		
		<dc:creator><![CDATA[sukhjeevan]]></dc:creator>
		<pubDate>Fri, 07 Mar 2025 20:39:35 +0000</pubDate>
				<category><![CDATA[Sitecore]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sitecore]]></category>
		<guid isPermaLink="false">https://techiesukh.com/?p=575</guid>

					<description><![CDATA[<p>Protecting web applications from vulnerabilities and potential threats is a top priority for organizations and developers. Sitecore keeps clients and developers up-to-date about security updates through Security Bulletins. Sitecore Security Bulletins are notifications issued by Sitecore to inform customers about new security vulnerabilities and patches related to Sitecore software. Subscribing to Sitecore Security Bulletins is [&#8230;]</p>
<p>The post <a href="https://techiesukh.com/essential-sitecore-security-bulletins-protect-your-environment">Sitecore Security Bulletins: Stay Ahead of Digital Threats</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Protecting web applications from vulnerabilities and potential threats is a top priority for organizations and developers. Sitecore keeps clients and developers up-to-date about security updates through Security Bulletins.</p>



<p>Sitecore Security Bulletins are notifications issued by Sitecore to inform customers about new security vulnerabilities and patches related to Sitecore software. Subscribing to Sitecore Security Bulletins is highly beneficial for several reasons:</p>



<ul class="wp-block-list">
<li><strong>Stay Informed:</strong> You’ll receive timely notifications about new security vulnerabilities and patches, helping you keep your Sitecore environment secure</li>



<li><strong>Proactive Protection:</strong> By staying updated, you can apply security updates promptly, reducing the risk of exploitation by malicious actors</li>



<li><strong>Compliance:</strong> Regular updates ensure that your system complies with the latest security standards and best practices</li>



<li><strong>Peace of Mind:</strong> Knowing that you are aware of and addressing potential security issues can provide peace of mind, allowing you to focus on other aspects of your business</li>
</ul>



<p>You can find the Security Bulletins on Sitecore KB home page as given below and filter the result as per your software version</p>



<p><a href="https://support.sitecore.com/kb" target="_blank" rel="noreferrer noopener">https://support.sitecore.com/kb</a></p>



<p>However, this method is not efficient because you constantly need to monitor the page. Instead, subscribe to Security Bulletins as described in this KB article:</p>



<p><a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB1000489" target="_blank" rel="noreferrer noopener">https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB1000489</a></p>



<p>As soon as a new security patch is released, you&#8217;ll be notified. Keep your Sitecore environment safe.</p>



<p>Happy Learning !!!</p>



<p></p>
<p>The post <a href="https://techiesukh.com/essential-sitecore-security-bulletins-protect-your-environment">Sitecore Security Bulletins: Stay Ahead of Digital Threats</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">575</post-id>	</item>
		<item>
		<title>Sitecore PowerShell Extension: Exporting PDF Lists Made Easy</title>
		<link>https://techiesukh.com/export-pdf-list-in-sitecore-via-spesitecore-powershell-extension</link>
		
		<dc:creator><![CDATA[sukhjeevan]]></dc:creator>
		<pubDate>Sat, 22 Feb 2025 01:20:32 +0000</pubDate>
				<category><![CDATA[SPE]]></category>
		<category><![CDATA[sitecore powershell extension]]></category>
		<category><![CDATA[spe]]></category>
		<guid isPermaLink="false">https://techiesukh.com/?p=525</guid>

					<description><![CDATA[<p>One of our key requirements involved exporting a list of PDFs from Sitecore. We accomplished this task quickly using the Sitecore PowerShell Extension. Sitecore PowerShell Extension( SPE ) provides numerous advantages, making it an invaluable tool for Sitecore administrators and developers in their daily tasks. Have a look at this script as mentioned below: Hope [&#8230;]</p>
<p>The post <a href="https://techiesukh.com/export-pdf-list-in-sitecore-via-spesitecore-powershell-extension">Sitecore PowerShell Extension: Exporting PDF Lists Made Easy</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>One of our key requirements involved exporting a list of PDFs from Sitecore. We accomplished this task quickly using the <a href="https://techiesukh.com/boost-your-sitecore-productivity-with-sitecore-powershell-extension-spe-basics">Sitecore PowerShell Extension</a>. Sitecore PowerShell Extension( SPE ) provides numerous advantages, making it an invaluable tool for Sitecore administrators and developers in their daily tasks.</p>



<p>Have a look at this script as mentioned below:</p>



<script src="https://gist.github.com/sukhjeevan/6401e1d1f5e05ab10dbbbfddb710b594.js"></script>



<p>Hope this helps.</p>



<p>Happy Learning !!!</p>
<p>The post <a href="https://techiesukh.com/export-pdf-list-in-sitecore-via-spesitecore-powershell-extension">Sitecore PowerShell Extension: Exporting PDF Lists Made Easy</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">525</post-id>	</item>
		<item>
		<title>How to Resolve Custom Field Type Issues in Sitecore 9.3 After Hotfix Update</title>
		<link>https://techiesukh.com/custom-field-type-stopped-working-after-sitecore-9-3-cumulative-hotfix-patch</link>
		
		<dc:creator><![CDATA[sukhjeevan]]></dc:creator>
		<pubDate>Fri, 21 Feb 2025 22:32:27 +0000</pubDate>
				<category><![CDATA[Sitecore]]></category>
		<category><![CDATA[hotfix]]></category>
		<category><![CDATA[sitecore]]></category>
		<guid isPermaLink="false">https://techiesukh.com/?p=511</guid>

					<description><![CDATA[<p>One of the Sitecore custom field stopped working after we applied Cumulative hotfix for Sitecore 9.3 on CM server. We started code review and debugging but didn&#8217;t find any relevant information which could be the reason of this unexpected behavior. Finally we raised a support ticket with Sitecore and found that this issue seems to [&#8230;]</p>
<p>The post <a href="https://techiesukh.com/custom-field-type-stopped-working-after-sitecore-9-3-cumulative-hotfix-patch">How to Resolve Custom Field Type Issues in Sitecore 9.3 After Hotfix Update</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>One of the Sitecore custom field stopped working after we applied Cumulative hotfix for Sitecore 9.3 on CM server. We started code review and debugging but didn&#8217;t find any relevant information which could be the reason of this unexpected behavior. </p>



<p>Finally we raised a support ticket with Sitecore and found that this issue seems to be due to security fixes in the cumulative hotfix. You can find more detail on this issue in this Sitecore KB article:</p>



<p><a href="https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB1003018#FAQ" target="_blank" rel="noreferrer noopener">https://support.sitecore.com/kb?id=kb_article_view&amp;sysparm_article=KB1003018#FAQ</a></p>



<p>As per recommendation from Sitecore support team, we applied below patch configuration on CM server:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#EEFFFF;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>&lt;?xml version="1.0" ?>
&lt;configuration xmlns:role="http://www.sitecore.net/xmlconfig/role/"
xmlns:security="http://www.sitecore.net/xmlconfig/security/"
xmlns:patch="http://www.sitecore.net/xmlconfig/">
    &lt;sitecore>
        &lt;reflection role:require="ContentManagement or Standalone">
            &lt;allowedMethods>
                &lt;descriptor type="ProjectName.Sites.SitecoreCode.Fields.CustomFieldName"
                methodName="Add" assemblyName="ProjectName.Sites.SitecoreCode" />
            &lt;/allowedMethods>
        &lt;/reflection>
    &lt;/sitecore>
&lt;/configuration></textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki material-theme" style="background-color: #263238" tabindex="0"><code><span class="line"><span style="color: #89DDFF">&lt;?</span><span style="color: #EEFFFF">xml version</span><span style="color: #89DDFF">=</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">1.0</span><span style="color: #89DDFF">&quot;</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">?&gt;</span></span>
<span class="line"><span style="color: #89DDFF">&lt;</span><span style="color: #F07178">configuration</span><span style="color: #89DDFF"> </span><span style="color: #C792EA">xmlns</span><span style="color: #89DDFF">:</span><span style="color: #C792EA">role</span><span style="color: #89DDFF">=</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">http://www.sitecore.net/xmlconfig/role/</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #C792EA">xmlns</span><span style="color: #89DDFF">:</span><span style="color: #C792EA">security</span><span style="color: #89DDFF">=</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">http://www.sitecore.net/xmlconfig/security/</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #C792EA">xmlns</span><span style="color: #89DDFF">:</span><span style="color: #C792EA">patch</span><span style="color: #89DDFF">=</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">http://www.sitecore.net/xmlconfig/</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">&gt;</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">&lt;</span><span style="color: #F07178">sitecore</span><span style="color: #89DDFF">&gt;</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #89DDFF">&lt;</span><span style="color: #F07178">reflection</span><span style="color: #89DDFF"> </span><span style="color: #C792EA">role</span><span style="color: #89DDFF">:</span><span style="color: #C792EA">require</span><span style="color: #89DDFF">=</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">ContentManagement or Standalone</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF">&gt;</span></span>
<span class="line"><span style="color: #EEFFFF">            </span><span style="color: #89DDFF">&lt;</span><span style="color: #FFCB6B">allowedMethods</span><span style="color: #89DDFF">&gt;</span></span>
<span class="line"><span style="color: #EEFFFF">                </span><span style="color: #89DDFF">&lt;</span><span style="color: #F07178">descriptor</span><span style="color: #89DDFF"> </span><span style="color: #C792EA">type</span><span style="color: #89DDFF">=</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">ProjectName.Sites.SitecoreCode.Fields.CustomFieldName</span><span style="color: #89DDFF">&quot;</span></span>
<span class="line"><span style="color: #89DDFF">                </span><span style="color: #C792EA">methodName</span><span style="color: #89DDFF">=</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">Add</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF"> </span><span style="color: #C792EA">assemblyName</span><span style="color: #89DDFF">=</span><span style="color: #89DDFF">&quot;</span><span style="color: #C3E88D">ProjectName.Sites.SitecoreCode</span><span style="color: #89DDFF">&quot;</span><span style="color: #89DDFF"> /&gt;</span></span>
<span class="line"><span style="color: #EEFFFF">            </span><span style="color: #89DDFF">&lt;/</span><span style="color: #FFCB6B">allowedMethods</span><span style="color: #89DDFF">&gt;</span></span>
<span class="line"><span style="color: #EEFFFF">        </span><span style="color: #89DDFF">&lt;/</span><span style="color: #F07178">reflection</span><span style="color: #89DDFF">&gt;</span></span>
<span class="line"><span style="color: #EEFFFF">    </span><span style="color: #89DDFF">&lt;/</span><span style="color: #F07178">sitecore</span><span style="color: #89DDFF">&gt;</span></span>
<span class="line"><span style="color: #89DDFF">&lt;/</span><span style="color: #F07178">configuration</span><span style="color: #89DDFF">&gt;</span></span></code></pre></div>



<p></p>



<p>The related XAML controls are not used on CDs since hotfix contains instructions to disable the related handler so we applied this patch only on CM server. Hope this helps!</p>



<p><strong>Environment:</strong><br>Sitecore 9.3 Initial Release</p>



<p>Happy Learning !!!</p>



<p></p>
<p>The post <a href="https://techiesukh.com/custom-field-type-stopped-working-after-sitecore-9-3-cumulative-hotfix-patch">How to Resolve Custom Field Type Issues in Sitecore 9.3 After Hotfix Update</a> appeared first on <a href="https://techiesukh.com">Code &amp; Context</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">511</post-id>	</item>
	</channel>
</rss>
