OnDemand User Group

Support Forums => MP Server => Topic started by: nifipro on September 20, 2019, 05:37:42 AM

Title: XMl+PDf archive CMOD
Post by: nifipro on September 20, 2019, 05:37:42 AM
Hello folks,

I would like to configure a CMOD application that archive pdfs files. The indexes are stored within an xml file
The inputs is pdf (image) + XMl file (méta data file).
Can you please advise the best way/indexer to use in this case ?

XML file that contains the metadatas :

Code: [Select]
<?xml version="1.0"?>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
<DGAccountAdmin>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
<DGType>Output IBBA</DGType>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
<StatusId>1</StatusId>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
<DGStatus>In Use</DGStatus>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
<MailId>1</MailId>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<DXMail>No</DXMail>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<DXIndexedBy>P8Admin</DXIndexedBy>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<DXDocumentTitleId>124</DXDocumentTitleId>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
<DXDocumentDate>2018-04-26</DXDocumentDate>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
<DXOldDocumentTitle>BATCHAS0400-COUF-20180822</DXOldDocumentTitle>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
<DocumentTitle>BankStatement</DocumentTitle>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
<DXDepartment>Operations</DXDepartment>   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

 thanks..
Title: Re: XMl+PDf archive CMOD
Post by: jsquizz on September 20, 2019, 06:27:59 AM
In the past, I've setup the application to use the generic indexer and then used some kind of java program/script to convert the incoming xml to standard generic indexer format that arsload can read.
Title: Re: XMl+PDf archive CMOD
Post by: Justin Derrick on September 20, 2019, 07:20:55 AM
Review the presentation by Bud Paton on storing XML in CMOD in this post:

http://www.odusergroup.org/forums/index.php?topic=2421.0

You might be able to use some of the information and tools presented there to help build your solution. 

-JD.
Title: Re: XMl+PDf archive CMOD
Post by: nifipro on September 25, 2019, 01:45:54 AM
Hi Guys,

Thank you  for your help.

@jsquizz : As suggested, i created a custom java program to generate a .ind file from XML and i used the Generic Indexer to import pdf + ind file. Now it work.

Regards,