How can I get the URL address after a infopath 03 file save?

R

RocketMan

I have tried to read eventObj.FileName that is passed into the
OnSaveRequest but it comes back blank even after the
PerformSaveOperation();

Is it possble? How?

John
 
K

kookie

In my form I have added a read only textbox.

var strURL = XDocument.DOM.selectSingleNode("/my:myFields/my:URL");
strURL.text = XDocument.URI;

or

var strFormName = XDocument.URI;
var sValues = XDocument.DOM.selectSingleNode("/my:myFields/my:values");
sValues.text = strFormName;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top