Topic
  • 2 replies
  • Latest Post - ‏2012-12-07T10:16:20Z by SystemAdmin
SystemAdmin
SystemAdmin
6184 Posts

Pinned topic How to pass filename from WMB Fileinput node to WTX map?

‏2012-12-06T01:12:45Z |
Hello,

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.

Thanks
Updated on 2012-12-07T10:16:20Z at 2012-12-07T10:16:20Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6184 Posts

    Re: How to pass filename from WMB Fileinput node to WTX map?

    ‏2012-12-06T15:02:00Z  
    What about GETRESOURCENAME?
  • SystemAdmin
    SystemAdmin
    6184 Posts

    Re: How to pass filename from WMB Fileinput node to WTX map?

    ‏2012-12-07T10:16:20Z  
    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)