PDM: Check out files from csv or text file list
Posted: Wed Apr 27, 2022 5:49 am
Hi everybody,
I am searching for a possibilty to check out every file that is listed in a file (csv or text, line by line). Does anyone know if there is an existing solution?
Background: I updated many variable values with an SQL query in the VariableValue table and want to transfer these values to the file properties. The only way I see, is to use the "update file properties from database" function from the PDM GUI. I could export the name and path of the affected files in a csv-file, before I do the changes to the table. Then I have to check out all the files, do the file property update to all the files and check them in again. I don't want to update them one by one because they are too many.
Many thanks, Lars
I am searching for a possibilty to check out every file that is listed in a file (csv or text, line by line). Does anyone know if there is an existing solution?
Background: I updated many variable values with an SQL query in the VariableValue table and want to transfer these values to the file properties. The only way I see, is to use the "update file properties from database" function from the PDM GUI. I could export the name and path of the affected files in a csv-file, before I do the changes to the table. Then I have to check out all the files, do the file property update to all the files and check them in again. I don't want to update them one by one because they are too many.
Many thanks, Lars