I'm trying to capture the filename AFTER the question how to save the file. I added some code to the OnPostXMLPort Trigger as of: SavedFileName := CurrXMLPort.Filename. Unfortunatley it's not working as expected. It will save the file as the new filename but 'SavedFileName' isn't updated correctly. Any ideas?
Also:
If I have the following code:
XMLFile.CREATE(FileName);
XMLFile.CREATEOUTSTREAM(UseOutStream);
DataXMLPort.SETDESTINATION(UseOutStream);
DataXMLPort.EXPORT;
XMLFile.CLOSE;
I have no option to run the Request form/page.
Any ideas?
0
Comments
I think you have to write some code to return the path of the file saved. You can use methods including Common Dialog Management, UPLOAD function or CREATETEMPFILE etc...
Pargesoft