infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
change outgoing file name is vrl translation
Gene Millard
I have a csv file as input. I would like to use the employee id, first name and last name fields to set the outgoing filename. lastname_firstname_employeeid.csv.
How would I do this in the translation?
Gene Millard
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
You could try to change the DRIVERCTL metadata key FILESET.FILEID to the value you want using xpm functions inside Tcl.
If in the Xlate you cannot change the DRIVERCTL metadata, then place the value in the USERDATA Meta Data Field (use a keyed list) then in the OB Tps use the USERDATA infor to set DRIVERCTL (I know that will work).
If you would like to chat offline about this, feel free to email me.
Jim Kosloskey
Upon further reflection, I don't think you can directly address the DriverCTL FILEST.OBFILE key from the Xlate but even if you could it would get reset at the Protocol.
So you could place the data in the USERDATA metadata field (using a keyed list of course) with Tcl in the Xlate. Then in the OB Thread OB Tps another Tcl proc could extract the data from the USERDATA key and set the DRIVERCTL Metadata FILESET.OBFILE key.
Charlie Bursell
After Xlate are the fields still available in the output data? If so, simply pull them in an OB Data proc and set the DRIVERCTL Metadata FILESET.OBFILE key there.