Data Migration – Extracting Attachments from Agile
Does anyone know how to automatically extract attachments from Agile. My company is in the process of switching to a new system. I’ve read through Chapter 10 of the Agile PLM “Import and Export Guide,” and have not figured out how to perform the extraction. Does it have something to do with the PDX viewer/Agile eXpress?
Export allows you to get the attachments tied to objects along with the metadata when you choose PDX or aXML. But it would add some ids as prefixes along with the filenames
Since you would have to do in a batch, it would be good if you write a SDK to retrieve attachments. That will give you flexibility on how you want to download the attachments
Like Raj said, if you can write an SDK or hire someone who can, that may give you a straightforward way of getting a bulk of file attachments.
Since I don’t know how to write an SDK, here’s my non technical 2 cents:
If you want to use export, then I’d say you would choose the export function, select the export format (aXML and PDX can contain file attachments) , choose what parts(s) or other objects you want, create a Filter (what data you want to include on the export), then export. PDX viewer/Agile eXpress are ‘viewers’ for the PDX file format (can read the contents of a PDX file).
Now, your target system will need to support the import of the PDX format or you will have to have someone create a script/program/etc to read the aXML files and ‘process’ them (either into the target system via API, or into a file directory with an associated csv file for other metadata). If your target system supports importing Agile’s PDX file format, then i’d have to ask why do you need this for file attachments only and not just use this method to import all the data.
There’s also an option to use ACS for data export, although that’s mostly used for ongoing integration extracts.
hope this helps even a little, I just joined this site and i know there must be lots of smarter agile gurus here