Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2006

Tip: Looking for answers? Try searching our database.

"manual" submit

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cosmin - 21 Aug 2006 06:54 GMT
hi guys,

I have an InfoPath 2003 template .. and a submit button. When this
button is pressed i check if the url is online (by default i want to
save this form on a sharepoint) and if is not online i do a manual
submit: i create a new xml file with the content of the xml form that
result after submit (when i press on the submit button) and i add some
tags to be a valid infopath form.
..

Some of this:

my form contains on begining:

<my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-08-15T12:29:45"
xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"
xml:lang="en-us"></my:myFields>

and if i save this in a xml file .. on open it will open with IE

now i add some extra tags on a begining of the xml file

<?xml version="1.0" encoding="UTF-8"?><?mso-infoPathSolution
solutionVersion="1.0.0.24" productVersion="11.0.6357"
PIVersion="1.0.0.0"
href="file:///C:\Documents%20and%20Settings\Netrom\Desktop\Template1.xsn"
name="urn:schemas-microsoft-com:office:infopath:Template1:-myXSD-myXSD/2006-08-15T12-29-45"
?><?mso-application progid="InfoPath.Document"?>

Now the result is a "valid" infopath form because on open event it open
with infopath .. but i get a error .. somtehing like this:

The element
'{http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-08-15T12:29:45}myFields'
is used but not declared in the DTD/Schema.

Have some ideas .. how i can resolve this ?
Any tips will be great.
Thanks
cosmin - 21 Aug 2006 07:20 GMT
after that .. if i compare this result file with a valid xml form i see
that is only few difference in the datetime ..
if i put the datetime from the valid xml form .. in my xml i get a
valid infopath file
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.