I want to pass the file name along with the file to the WTX map. We are using file input node to read the file from directory and pass it to WTX node. I understand GETFILENAME will not return the file name if the file is passed from WMB.
Appericiate your help.
Pinned topic How to pass filename from WMB Fileinput node to WTX map?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-07T10:16:20Z at 2012-12-07T10:16:20Z by SystemAdmin
Re: How to pass filename from WMB Fileinput node to WTX map?2012-12-07T10:16:20ZThis is the accepted answer. This is the accepted answer.If WMB reads the file and passes it's contents to WTX, then WTX never reads a file and therefore can't get it's name.
If you need the filename, either pass only the name to the map (which may have an impact on the map's design), or pass the name as an additional input to the map (which will definitely have an impact on the map's design)