Highlighted
Absent Member.
Absent Member.
259 views

ISO: Is this technique for modifying a Text Import Wizard descriptor okay?

Jump to solution

I have created a Text Import Wizard descriptor which reads in my .csv file and replaces contact table records.

 

I have a need to include a new column in the .csv and descriptor.

 

The new column in the .csv was simple.

 

When I try to modify the existing descriptor, it allows me to put in a new field name, but the field type column can not be changed.

 

I run the modified descriptor.  It runs without reporting an error.

 

However, the first .csv line's user does not have the new column value.  It looks like all the rest do. I don't know why that first line is an issue.

 

I am going to run things again and see if it continues to be an issue.

 

If you have any ideas I'd love to hear them.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.. Absent Member..
Absent Member..

When configuring an import descriptor, the field type is determined by the data type of the field in the corresponding dbdict. It can't be edited in the import descriptor. 

 

When running the import, there is a section on the second tab of the import descriptor where you can specify the number of lines to skip in the import file. This normally is used to exclude column headers. It sounds like it may be set to skip the first line, but if your data does not have headers, the first record is skipped instead. 

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...

View solution in original post

1 Reply
Highlighted
Absent Member.. Absent Member..
Absent Member..

When configuring an import descriptor, the field type is determined by the data type of the field in the corresponding dbdict. It can't be edited in the import descriptor. 

 

When running the import, there is a section on the second tab of the import descriptor where you can specify the number of lines to skip in the import file. This normally is used to exclude column headers. It sounds like it may be set to skip the first line, but if your data does not have headers, the first record is skipped instead. 

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.