Sitecore Personalization Rule Mass-Insert Feature
Continuing with my earlier blog post with regard to Personalization rule deletion, I added insert functionality where a content editor can select a rule and apply this rule across other pages in the site!
Demo:
Details:
Fill the path and "Load Rules" button click loads all available rules in the site:
Pick one of the rules to apply and click display pages button, lists all the pages (with rule details) in the site:
Currently, this is an unfiltered list and lists all pages since there is a rule column for ready-reference.
Now, insert the rule in the pages where needed:
Clicking the insert link button must add the rules automatically and show a row colour change as shown in the screen shot.
File System reflects the time stamp:
Push up the changes to the content tree:
Newly added personalization rule displayed in the page(s):
Ask your content editors to go home early!
Local Setup:
The setup is simple like any local website.
Create a Virtual directory:
I named it scpers and pointed to c:\inetpub\wwwroot\scpers
Set the publish profile for the local VS project to the above directory:
Also, created a temp directory under c:\
This c:\inetpub\wwwroot\scpers directory must provide full permissions to "IIS Apppool\scpers" user:
Comments
Post a Comment