Poll

Importing XMl+PDF into a CMOD server

Importing XMl+PDF into CMOD server
2 (100%)
Importing XMl+PDF into CMOD server
0 (0%)

Total Members Voted: 1

Author Topic: XMl+PDf archive CMOD  (Read 1588 times)

nifipro

  • Guest
XMl+PDf archive CMOD
« 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..

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: XMl+PDf archive CMOD
« Reply #1 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.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: XMl+PDf archive CMOD
« Reply #2 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.
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

nifipro

  • Guest
Re: XMl+PDf archive CMOD
« Reply #3 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,