OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: jeffs42885 on June 19, 2012, 08:07:20 PM

Title: Ignoring blank PDF files
Post by: jeffs42885 on June 19, 2012, 08:07:20 PM
From time to time, the business sends down PDF files that are blank.

I am curious, if there is a way to ignore this within OnDemand application settings. What has everyone used to do this? If anything..?
Title: Re: Ignoring blank PDF files
Post by: Justin Derrick on June 20, 2012, 09:48:12 AM
That sounds like a bug in the source system.  Since CMOD is an archive, an empty document is something I'd consider an error.  (Why would I want to archive an empty document?  If there's a valid reason for having no results in a report, the report should contain a notice saying so.)
Title: Re: Ignoring blank PDF files
Post by: demaya on June 20, 2012, 11:23:30 AM
Maybe you can prevent archiving through the "load information" tab in the application. If you don't set the default value the archival should abort and you can delete the document before it's in the archive.

But Justin is right, should be a bug in the source system.

Cheers
Title: Re: Ignoring blank PDF files
Post by: LWagner on August 27, 2012, 08:20:59 PM
If you use a trigger, there will be no document found.
Title: Re: Ignoring blank PDF files
Post by: jeffs42885 on August 28, 2012, 07:43:28 PM
Agreed, thanks all.