How to provide BOTH virtual path and filename to FileSystemServices.DeleteFile?
If I'm using a Thing based on RemoteThingWithFileTransfer and want to delete a file on my edge device, I seem to need to provide both the virtual path (which in my case is /incoming/) plus the filename, e.g. myFile.wmv.
But the DeleteFile service only accepts one parameter: path.
If I hook up ListFiles, then display the result of that in a list from which the user can select one file, then try to use that selected item as the path param to DeleteFile, it doesn't work... I can only feed it path or name--not both. If I feed it ListFiles.selectedRows.name, I see an error because I'm only providing the name (not the path). If I provide ListFiles.selectedRows.path, it fails because I don't provide a file.
The only way I can see DeleteFile work at all is if I DON'T feed it any dynamic input (have no data binding to it), and manually enter '/incoming/myFile.wmv' in the path field in ThingWorx Composer's lower right panel. So... DeleteFile seems to only work if you can concatenate the virtual directory and the filename and provide that concatenated string as the value of the single param, path.
But how can I do that in ThingWorx Composer? I.e. how can I tell it to use basically the result of the string concatenation '/incoming/' + ListFiles.selectedRows.path as the input for DeleteFile?
Do I actually need to be overriding DeleteFile in Java code I'd write for the edge device? Background: I have been brought in to try to finish a project a former employee of this client started. That employee DID work on both the mashups in Composer as well as Java code for the edge device. At the moment though the client has only provide me access in ThingWorx Composer, plus one hardware test unit. I can get into that test unit and browse around the filesystem and see their _compiled_ edge device application stuff, and the directory that maps to virtual directory /incoming/ but I don't have the client's original Java source code yet.
Thank you!

