D
D-Chavez
I'm a newb, and I wished someone posted this info.
1. .NET FileAttachment DataType
I had a difficult time finding the correct datatype for a file
attachment control in Infopath when making a webservice.
The correct .NET type to use is:
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary
set up an object with that type and you can pass file attachments to
your webservice.
2. Help for those with changing datasources.
Sometimes your customers wants/needs change during
production...sometimes...
Anyways, this may require the back end (database) portion of your
project to change. After you make a nice looking form, you have to
seemingly start from scratch in order to get a different underlying
database connection. Infopath makes it difficult (at least for me) to
work with a changing database.
Workaround:
A -Make changes to your db and build a new blank form from data
connection.
B -Open a 2nd Infopath window, with form designed on the old data
connection.
C -Select all and copy from the 2nd window to the blank screen.
Now all of the formatting is saved, and the bindings undone. You will
need to go back & re-bind all of the controls, but its easier then
rebuilding from scratch.
1. .NET FileAttachment DataType
I had a difficult time finding the correct datatype for a file
attachment control in Infopath when making a webservice.
The correct .NET type to use is:
System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary
set up an object with that type and you can pass file attachments to
your webservice.
2. Help for those with changing datasources.
Sometimes your customers wants/needs change during
production...sometimes...
Anyways, this may require the back end (database) portion of your
project to change. After you make a nice looking form, you have to
seemingly start from scratch in order to get a different underlying
database connection. Infopath makes it difficult (at least for me) to
work with a changing database.
Workaround:
A -Make changes to your db and build a new blank form from data
connection.
B -Open a 2nd Infopath window, with form designed on the old data
connection.
C -Select all and copy from the 2nd window to the blank screen.
Now all of the formatting is saved, and the bindings undone. You will
need to go back & re-bind all of the controls, but its easier then
rebuilding from scratch.