mibuso.com

Microsoft Business Solutions online community
It is currently Thu May 23, 2013 9:20 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: RTC XMLPorts
PostPosted: Thu May 31, 2012 9:29 pm 
Offline

Joined: Wed Aug 09, 2000 7:01 am
Posts: 242
Location: Bellevue,WA,USA
Country: United States (us)
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?

_________________
Roelof de Jong
http://www.esopro.com


Top
 Profile E-mail  
 
 Post subject: Re: RTC XMLPorts
PostPosted: Mon Jun 04, 2012 4:08 pm 
Offline

Joined: Sat Oct 08, 2005 11:22 am
Posts: 499
Location: TURKEY
Country: Turkey (tr)
FileName returns the value you indicated in the FileName property of XMLPort. So you can't get this value dynamically.
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...

_________________
Ufuk Asci
Pargesoft


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: