J
Jithendrian. R
Hi
I have cretaed a InfoPath2007 Form. In that i have added a new
DataConnection of "Receieve Data" and have connected that data source to
my WebService. Then during the design of my InfoPath form i added that
datasource into my form (Basically by dragging the datasource object into my
form and it gets me the controls say 5 TextBoxes). Then i added a Submit
Button whose event i will be handling in the hosted environment.
Then i created a WindowsApplication which basically hosts my InfoPathForm.
My requirement is to pass a value(say string) from my
HostingWindowsApplication to the InfoPathForm's Control(say one of
theTextBox's Value). For this requirement i used XPathNavigator object from
my WindowsApplication to get the XML of my InfoPath Form. But in the
resulting XML there is no nodes representing my controls. the XML contents are
" <?xml version="1.0"?><?mso-infoPathSolution solutionVersion="1.0.0.6"
productVersion="12.0.0" PIVersion="1.0.0.0"
href="file:///C:\Documents%20and%20Settings\jithendrian.r\Desktop\InfoPath\Client\NewCaseDataSource.xsn"
name="urn:schemas-microsoft-comffice:infopath:NewCaseDataSource:-myXSD-2006-08-17T05-35-59" ?><?mso-application
progid="InfoPath.Document" versionProgid="InfoPath.Document.2"?><my:myFields
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-08-17T05:35:59" xml:lang="en-us"></my:myFields> "
Is there any otherway to identify my nodes. Need Help regarding this.
Thanks in advance
Cheers
Jithendrian. R
I have cretaed a InfoPath2007 Form. In that i have added a new
DataConnection of "Receieve Data" and have connected that data source to
my WebService. Then during the design of my InfoPath form i added that
datasource into my form (Basically by dragging the datasource object into my
form and it gets me the controls say 5 TextBoxes). Then i added a Submit
Button whose event i will be handling in the hosted environment.
Then i created a WindowsApplication which basically hosts my InfoPathForm.
My requirement is to pass a value(say string) from my
HostingWindowsApplication to the InfoPathForm's Control(say one of
theTextBox's Value). For this requirement i used XPathNavigator object from
my WindowsApplication to get the XML of my InfoPath Form. But in the
resulting XML there is no nodes representing my controls. the XML contents are
" <?xml version="1.0"?><?mso-infoPathSolution solutionVersion="1.0.0.6"
productVersion="12.0.0" PIVersion="1.0.0.0"
href="file:///C:\Documents%20and%20Settings\jithendrian.r\Desktop\InfoPath\Client\NewCaseDataSource.xsn"
name="urn:schemas-microsoft-comffice:infopath:NewCaseDataSource:-myXSD-2006-08-17T05-35-59" ?><?mso-application
progid="InfoPath.Document" versionProgid="InfoPath.Document.2"?><my:myFields
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-08-17T05:35:59" xml:lang="en-us"></my:myFields> "
Is there any otherway to identify my nodes. Need Help regarding this.
Thanks in advance
Cheers
Jithendrian. R