Did you read Brian Leachs document?
I think the way he solved this was rather clever, using a TCL command to 
associate the columns to attributes, then once you've done it once per 
definition, you can set it and forget it.

Much more clever than writing an import routine for every new type of document.

 

 

 

-----Original Message-----
From: George Gallen <ggal...@wyanokegroup.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Sat, Oct 27, 2012 6:52 am
Subject: Re: [U2] UPLOAD not DOWNLOAD


Will, if you don't want interactive (manual mapping), there is no other way 
aside from using DICT items that can be used to automatically map from an input 
file to your UV file, unless you feel like re-programming and compiling each 
time to change which columns go to which attributes. And you still may wind up 
having to manually map anyway, if your DICT name/description don't match column 
headers at all. 

I'm sure you have converted your share of client supplied files, and they are 
rarely the same, in column heading names or order of columns, even the 
formatting of dates, countries, states, phone numbers.

Outputting is easier, it's usually, here's my data, now you deal with it to 
import it....

George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com
________________________________________
From: u2-users-boun...@listserver.u2ug.org 
[u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Wjhonson [wjhon...@aol.com]
Sent: Friday, October 26, 2012 11:40 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UPLOAD not DOWNLOAD

That goes the wrong way.
Download does not depend on knowing who is consuming what to create it's 
results.

So Upload should not need to have interactive consumption details either.
That's my take.

It's reads a source and decides on its own without the sources assistance where 
to put what.

You're coming at it more from a point of view of both sides *agreeing* on what 
data is in what position.

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to