![]() 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. Email notifications can be added to the File Watcher task and email is sent based on the. Like any Sitecore pipeline, we need a PipelineArgs class of some sort, and the following is just that: FileWatcher is a free command line tool that allows for the easy creation and comparison of file and folder inventories. To create a new file watcher task, follow below steps. If you want to learn about Dependency Injection on Sitecore, I highly recommend watching this presentation on YouTube. 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. 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 □ 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 |