Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi All,
I have a requirement where I need to import PDF documents into Integrity. Through Gateway configurations & mapper files I can Import word documents i.e docx files but when I am importing PDF files, there are no import configurations available.
Any help would be appreciated.
Regards
Nishant Kapoor
Solved! Go to Solution.
As far as I know there is nothing out of the box,
but you can write your own parser if you want to.
All you need is some kind of custom tool that "transforms" the PDF content into a valid IIF file (following the MKSItems XML schema).
It it is more or less well documented in the Gateway Manual and the Integrations Builder Manual.
I did it for MS-Excel files using a custom Java app and the Apache POI lib.
I'm sure something comparable is possible for PDF.
Please report your progress here
HTH Matthias
As far as I know there is nothing out of the box,
but you can write your own parser if you want to.
All you need is some kind of custom tool that "transforms" the PDF content into a valid IIF file (following the MKSItems XML schema).
It it is more or less well documented in the Gateway Manual and the Integrations Builder Manual.
I did it for MS-Excel files using a custom Java app and the Apache POI lib.
I'm sure something comparable is possible for PDF.
Please report your progress here
HTH Matthias
Thanks Mathias for the quick response. I'll surely try that. In the mean time, do you have any idea abour "RIF" utility? I believe it does the same work, transforms the content of document (from source software) to RIF format, which can be imported into Integrity.
Please share your comments on this.
Nishant Kapoor
RIF is a "standard" format of XML files for requirement exchange.
I used quotes because so far I did not find a leats s two RM tools that would support identical versions of the RIF standard so that we actually could use it for exchanging data e.g. between DOORs and PTC Integrity.
The "RIF Utility" adds some fields and triggers to your integrity setup that are required for supporting the standard.
At least in I10.x it is basically a configuration/"use case" for the gateway tool ; like
PTC Export :
Integrity >> IIF Format >> Gateway >> RIF Format
PTC Import :
Any Data format >> Any Tool >> RIF Format >> Gateway >> IIF Format >> Integrity
In the end it's all about XML field mappings and value conversion.
Given Your PDF - file usecase, the RIF format would only help if you allready had a Tool that could convert PDF to a valid RIF Formated XML file in a RIF version that is supported by the PTC Gateway.
HTH
Matthias