on 06-27-2019 8:47 AM
I need to be able to import a model from an Excel file in PowerDesigner and this I have to automate so that it is launched from the command line, via powershell. I have seen that there is a FILEIMPORT method but I can not import the file and it does not return any type of error.
How could I do it?
Hi,
you don`t even need Powershell to do that. You can launch pdshell16.exe either with parameter -r or -x and give him the path to the *.vbs script, which will run the functionality for importing metadata from excel. Here you have two options:
I did both ways many times and I recommend the first option, if you have the possibility to modify the excel structure to fit the ExcelImport extensions` needs.
Regards,
Ondrej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The standard Excel import wizard is designed to cope with (practically?) anything, so there is a lot of conditional logic which will slow it down if you have large volumes of metadata to import. In the import options you can switch off "Check data integrity", which will speed it up, but a custom script will be much faster, better suited to large volumes.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.