To get the list of pages or items in Sitecore where one specific component or rendering was used. Those who are familiar with Sitecore knows that it can be found by selecting the rendering and then Links option under Navigation tab, provides the list of item referred by selected rendering. However what if the list is very long and we need to share list in excel.
We can create the list using Powershell script. Run the below script in Sitecore powershell. Replace the name of rendering Path and home item path as per the requirement –

Get-Item "web:\layout\Renderings\Feature\abc\renderingName" | 
Get-ItemReferrer | Where-Object { $_.FullPath.StartsWith("/sitecore/content/Home/") } | Show-ListView 

On PowerShell results window export the results in any of the way as highlighted below –


Happy Coding 🙂

Leave a Comment

Your email address will not be published. Required fields are marked *