Reputation: 231
I have an Excel file with the following format:
I am using the "Excel import wizard" in PowerDesigner, and I am unsure about the selections I need to make after choosing the file.
Any guidance or step-by-step instructions on the selections to make in these options would be greatly appreciated.
Upvotes: 0
Views: 315
Reputation: 3365
The details in the similar question could help you. There are many explanations also in the Comment of the Excel Import extension.
You have to select one class to import each sheet from the Excel document.
Given your list of columns, you are importing "Entity.Entity Attribute" (in "Import table: Sheet1, As:").
Domain
<Parent>
(the object under which the Entity Attribute is attached)Name
Data Type
.In my test, it nearly works, with just some error messages about the Data Type:
Error: Could not set attribute DataType for Entity Attribute 'Employee.First name' with value 'A30' (Cannot set value 'A30' for attribute Data Type of Entity Attribute 'Employee.First name': Data Type cannot be set to this value)
Maybe it would be more efficient to have several sheets:
EDIT: moved "domain name" from the third to the second sheet in the final suggestion.
Upvotes: 0