Discussion Thread
Data Extractor
Message Thread

Extract any data, including email addresses and URLs from your files and webpages.
Posted in the Data Extractor Forum.
How to export results with filenames
Hi,
I am extracting multiple files in a folder. Can anyone help me to export results with their filenames so we can track which file the results are extracted from. That's very important to my project. thanks for help
Michelle
How to export results with filenames
In the javascript rules you can add the URL by using this type od syntax:
DataExtractor.AddResult(2, location.href);
How to export results with filenames
not sure but using location.href gets 'about:blank' - this is not the name of the filename...is there another way to get the full name of the file?
How to export results with filenames
Really? It works fine for us when you extract from the web. If you have local files this method will not work.
How to export results with filenames
the files are not local. i mapped it from another server. you have any other suggestions? i really need this feature.
thanks, Si
How to export results with filenames
If it's a JavaScript rule then you can do this as described. If it's not then you can't at this time.