OnDemand User Group

Support Forums => Report Indexing => Topic started by: B.Rivers on April 26, 2018, 03:40:28 PM

Title: PDF index document with no date.
Post by: B.Rivers on April 26, 2018, 03:40:28 PM
How do I add A PDF doc that has no date in the document?  Index parms below. I tried to add a default value for the date of (t) today but errors with ARS1130E 1 fields submitted by the indexer, 2 expected.  I is OK to define a reports without a date as the index value and no segment

COORDINATES=IN
TRIGGER1=UL(2.65,1.67),LR(3.17,1.85),*,'XXX-',(TYPE=GROUP)
FIELD1=UL(0.63,2.36),LR(3.46,2.54),0,(TRIGGER=1,BASE=0)
INDEX1='INDEX_1',FIELD1,(TYPE=GROUP)
INDEXSTARTBY=1
RESTYPE=ALL

Title: Re: PDF index document with no date.
Post by: Justin Derrick on April 27, 2018, 06:09:40 AM
I'd be asking the source of the documents to put in a date field.  The great thing about PDFs is that you can 'sneak' index information into the document by putting the text in a corner of the document with a very small font, and specify it's colour to be the same as the background (i.e. white) and it will be invisible to the user, and won't print on documents.

As for the error, that's odd, and I'd be reporting that as a bug to IBM.  Missing values from an indexer should be a warning (at most) if there are default values assigned in the Application definition.

-JD.
Title: Re: PDF index document with no date.
Post by: B.Rivers on April 27, 2018, 06:15:57 AM
Default value is a space
Title: Re: PDF index document with no date.
Post by: Justin Derrick on April 27, 2018, 06:40:41 AM
Well, a space character isn't a valid date, so I would expect that to fail...

-JD.
Title: Re: PDF index document with no date.
Post by: B.Rivers on April 27, 2018, 08:18:29 AM
Sorry default for date was a lower case t.