02-19-2016 03:03 AM
Hello,
I have a problem with exporting pdf references from pdf dataset type. The problem is in a name of a pdf reference, deafult name of this file is combined item id/revision id. I made workflow process that set atribute object_name for pdf dataset to the name of revison but if a download the pdf references thay are still as a old name.
How to do this ?
02-19-2016 07:43 AM
You need to set the "original_file_name" attribute of the named reference of the dataset.
Find the dataset. Get it's named references. Find the required named reference, and set it's "original_file_name" property to the filename that you what it to be.
02-19-2016 08:01 AM
Thx fegade-sot, but this is manual change, i need automate this process or make it as standard.
02-19-2016 09:44 AM
You can automate this using ITK.
AE_ask_dataset_named_ref
AE_ask_all_dataset_named_refs
IMF_set_original_file_name
IMF_ask_original_file_name
05-31-2016 09:21 AM
Hi there,
First search for all PDF datasets in Advanced Search, After that Tools>Export>PLMXML and then select ConfiguredDataset something i forgot. You will export selected PDF files in Teamcenter search. You may variate this search and export as what you want like owner is : bla bla bla rev is: A etc.
Regards,
Yagiz
06-02-2016 03:31 AM
I doubt if you can control the naming on output from PLMXML. As earlier post mentioned, you need a achive using ITK for updating named reference in system or append the desired file name during the download.
Let me if you find a way to control through PLMXML. It's easier path for many, if you succeed.