Tuesday, April 19, 2022

Content Author - Bulk Rendering Update based on Template standard value Using Sitecore PowerShell


              In this blog, I would like to discuss another Sitecore PowerShell module that helps bulk rendering change based on the page Template standard values.

Scenario

            We have a page Template and based on that there would be 100+ content pages. Page item should get updated when there is a change done on Page Template standard value rendering. Usually, a newly created item can incorporate this change but at times existing items do not seem to be reflecting for already existing page Items.

Pictorial Representation


Sitecore Item - Before running the script

1. Sample Item - Standard value and Home Item have the same rendering in SharedLayout

     
 

Sitecore Item - After running the script

1. Sample Item - Standard value
 
   



2. Bulk Rendering Update - Standard Value

               Choose the template which has been updated from the droptree


3. Once the item has been processed

                     


4. Home Page Item

    


Sitecore Powershell Code

    Changes have been uploaded to the Git repository. - SriramGayathri-GIT

    
                                                        Happy Sitecore Learning!!!

No comments:

Post a Comment