Hi All,
These days, there is one requirement for my project, as we are using external links that have different urls for dev, QA, UAT, and live. So to identify the fields that have a specific string url, we need to identify the external links according to the environment. For that, I started the investigation and found one blog very useful.
But there is one
problem in that string what we need to search is hardcoded, so I used Sitecore
interactive dialogs.
After a small effort I created the script which you can get from below url:
https://github.com/gaurarun777/SitecorePowerShell/blob/main/PowerShellKeyWordSearch-1.ps1
Which will
help you to search a specific string from a certain path. You need to supply
the string that needs to be searched and the item path into the interactive
dialog box.
In
the future, I will try to make it more interactive, suggestions are really
appreciated.
I hope you enjoy this Sitecore blog. Stay tuned for more Sitecore related articles.
Till that happy Sitecoring :)
Please leave your comments or share this article if it’s useful for you.
No comments:
Post a Comment