Looking through the web.config of a Sitecore project that we have I can see that there is a Pipeline in the <uiUpload>
section of the code which is called CheckSize. I am hoping that I can use this to check the size of an item that is being uploaded to Sitecore in order to open a dialog to warn the user of the possible impact of publishing a large file to the site and offer them the opportunity to either back out of the publish or continue.
Does anyone here know what this pipeline does and if I can alter it to perform the checks I have listed above?
<uiUpload>
<processor mode="on" type="Sitecore.Pipelines.Upload.CheckPermissions, Sitecore.Kernel" />
<processor mode="on" type="Sitecore.Pipelines.Upload.CheckSize, Sitecore.Kernel" />
<processor mode="on" type="Sitecore.Pipelines.Upload.ResolveFolder, Sitecore.Kernel" />
<processor mode="on" type="Sitecore.Pipelines.Upload.Save, Sitecore.Kernel" />
<processor mode="on" type="Sitecore.Pipelines.Upload.Done, Sitecore.Kernel" />
</uiUpload>
these processors are used when you upload files into Sitecore Media Library.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments