A customer wants to export 300k Solid Edge files from Teamcenter.
They have raised questions if they could directly copy from Volume. Then they would like get report of the file names in volume and their corresponding original_file_name.
I see alwys a 'lock' symbol on the files in volume, but when I copied them to other directory, I could use it like any other file.
But I would like to have an opinion from our community.
My opinion - I wouldn't directly take the files from the volumes. PLMXML is the safest way to get all that data. I've done that with SE files. What is the purpose of removing the data from TC? How is it to be used? Maybe there are better options to get them what they want instead of accessing them directly in the volume.
That was my use case as well. It was pretty easy to just export with the PLMXML and it goes all into a folder. Then that folder can be data prepped and changes made for data model changes and imported. But if your 2 systems have the same data model like Dev to Test, then look at the bulk export function. It creates basically a breifcase of the data and then it can be imported without any manipulations.
Thanks. Currently I have no idea about the target system. Right now I'm stuck at the export level. They want to export from all latest revisions having any status. But as the amount of data is large, doing it with RAC menus is also not an option.
I am struggling to get a report of Latest Revisions with Any Status in a file, which would be input to plmxml_export utility. Do you have an idea how to get this report ?
Oh yeah! Don't do it via the RAC. My method was to take the top level assemblies (the revision you want exported), drop them in a folder, use the TC CMD prompt to run plmxml_export to do that processing. It is so much faster than the UI. I think I modified the ConfiguredDataFilesExportDefault transfer mode but you could just try it without modifying it first.
plmxml_export -u -p -g -folder -transfermode
Can you send a syslog?
Also, I don't remember, what version of TC?
There are more ways to do it.
1) Create a query to get latest revision, call it from ITK, get the item id returned by query, find attached dataset name, get the named reference name and then copy it to secondary storage.
2) Write a DB query to get the file names along with their path from DB. Create a new volume in TC. Use move_volume_files to move those files to new volume created. Now this new volume would only have the files which you need to move to target system. This is much eaiser than 1st approch since in 1st approch, you may come across memory issues.