Author Topic: Ignoring blank PDF files  (Read 2778 times)

jeffs42885

  • Guest
Ignoring blank PDF files
« on: June 19, 2012, 01: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..?

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Ignoring blank PDF files
« Reply #1 on: June 20, 2012, 02: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.)
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

demaya

  • Guest
Re: Ignoring blank PDF files
« Reply #2 on: June 20, 2012, 04: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

LWagner

  • Guest
Re: Ignoring blank PDF files
« Reply #3 on: August 27, 2012, 01:20:59 PM »
If you use a trigger, there will be no document found.

jeffs42885

  • Guest
Re: Ignoring blank PDF files
« Reply #4 on: August 28, 2012, 12:43:28 PM »
Agreed, thanks all.