Adding a custom import/export/report using the Data Transformation collection
Last update 2010-09-04
Applies to
PDXpert PLM client software release 6.1 and later.
Adding a custom Data Transformation collection member
PDXpert can output custom export files and reports based on a combination
of standard XML-based technologies. It can also import bill of materials
files into an assembly structure markup.
- The export data flow is: Database > [PLMX or
Data Query] >
data transformation XSLT > [export file or [RDLC >
report]]
- The import data flow is: Import
source file as XLS, XML, CSV, etc. >
data transformation XSLT > Assembly
structure in database
Create the new Data Transformation member
To add a new Data Transformation member
in the Collection Explorer:
In the Collection Explorer's General tree, navigate to the
Data transformations node.
-
Open the context menu, and select Add Member.
-
In the new member window, assign a name to the data transformation.
-
Select Provider
as Table-formatted data unless directed otherwise.
-
For reports and exports, set the Is for import checkbox
as False. If this is a Markup importing file, mark the checkbox
as True.
-
Open the .xslt file in Windows Notepad
or WordPad (not in Word or other word processing application).
Copy the entire contents (Ctrl+A),
and paste it (Ctrl+V)
into a new data query member's
XSLT textbox.
-
If you're not adding an optional Data Query or RDLC report format, then lock the window (F2
key), and close it.
Add an optional Data Query member
The Data Query tab contains SQL
pass-through queries, which are occasionally required to filter PLMX
datasets. With the Data Transformation window still open:
-
Open the data query xml/text file in Windows Notepad or
WordPad (not in Word or other word processing
application). Copy the entire contents (Ctrl+A),
and paste it (Ctrl+V)
into a new data query member's Data Query
tab's textbox.
If you're not adding an optional RDLC report format, then lock the window (F2
key), and close it.
Add an optional Report Template member
When the output is a report rather than file export, the
RDLC
tab contains the report formatting
information in a Microsoft .rdlc file. With
the Data Transformation window still open:
-
Open the .rdlc file in Windows Notepad or
WordPad (not in Word or other word processing
application). Copy the entire contents (Ctrl+A),
and paste it (Ctrl+V)
into a new member's RDLC tab's textbox.
-
Lock the window (F2
key), and close it.
After you've completed these steps, use the Report/Export Wizard to
display the results.