Hello Everyone,
I need your help regarding saving the InfoPath instance to same filename. Here is the brief description of my requirement
I designed a client based InfoPath 2007 form and published onto the library as an XML (so that each instance or list item created will be an XML file). And a workflow is associated to this library for creating new list item ( i.e, XML instance), whenever there is any change to existing items. So my question is how can I retrieve the instance name (i.e., File1.xml) when it is clicked or opened, so that I can set this filename to a textbox control field in Infopath and use this field in 'Submit' to overwrite to the same instance.
I dont know how to retrieve the filename in Loading event, when the form is opened to edit. Is there any webservice or any function avaialbe to get the filename.
Appreciate your help. Thanks.
Suhail