![]() ![]() The Config Object above also has values on the number of child items on when to start warning the content authors they have almost too many child items, and also a value on when there are too many child items. Public class DataViewChildItemsArgs : PipelineArgs Autosys - How to setup file watcher job to find a file named with date, even if server date changes to next day. ![]() ![]() Like any Sitecore pipeline, we need a PipelineArgs class of some sort, and the following is just that: old, the file-watcher returns a positive message and triggers an e-mail to. If you want to learn about Dependency Injection on Sitecore, I highly recommend watching this presentation on YouTube. This paper talks about a file-watcher tool that searches for files and looks. I also want to call out that I’ve omitted code which registers most services used on this post in the Sitecore IoC container for brevity. In this post, I am going to share this solution with you, and it heavily uses code from my previous post - I suggest having a read of that before proceeding. However, I recently rethought of this idea due to a project I had worked on where I had to notify content authors that they had almost or too many child items in Media Folders in the Media Library. The tool incorporates error handling and e-mail notifications. One thing that bugged me back then was how this particular piece of Sitecore functionality wasn’t backed by a pipeline of some sort which gave me an idea on creating a custom MasterDataView which would delegate to a custom pipeline to alter how Items display in the content tree but I never got to it as a matter of fact, I forgot all about it once I moved to Australia at the time - it’s easy to forget things when you are trying to dodge viscious magpies and venomous spiders □ File-Watcher Tool with Automated SAS Program Trigger. About 4 years ago, I blogged about creating a custom MasterDataView class to change the appearance of Items in the content tree. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |