-
Hi Liorlankari,
Is this form published a Full trust solution? if you give a web reference directly in the C# code instead of calling the web service via Data connections then you have to make the solution a Full trust solution.
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=225 talks about how to Publish (by signing the form) or install ...
-
Hello timcoffman,
I tried creating the same schema that you mentioned above and set the dropdown as you mentioned. The solution worked for me in preview. I had a repeating table for Items block and as i inserted new items, these new values were seen in the dropdown control.
Is there anything that I'm missing? The xpath for the selectable item ...
-
You can solve this problem by setting the height of the section in its size tab of properties as auto. If you have any layout tables then setting the row height as automatic in the table properties window solves the same issue for the Layout tables.
Shanthi
InfoPathDev India
-
One way of solving this problem is to use GUID's instead of incrementing the max record number in the primary key of the database by 1. A GUID is always unique.
Shanthi
InfoPathDev India
-
Did this problem get solved? If not, can you paste your code in here. This code is being run onClick of a button correct?
Shanthi
InfoPathDev India
-
Can you give us the xml file that is being used in the solution and which field you are trying to bind to the dropdown?
Shanthi
InfoPathDev India
-
You should be able to use to the OnContextChange Event to get similar behavior as the onFocus event. I hope this helps.
Shanthi
InfoPathDev India
-
The one difference that i can see for these two calls is that for the email adapter you have a choice while creating the data connection whether you want to send the form as an attachment or not, but as part of ShowMailItem the form will always be sent as an attachment.
-
You can use something like this is your custom code right before closing the window.
DAVAdapter oSharePoint = (DAVAdapter)thisXDocument.DataAdapters[''SharepointSubmit''];
oSharePoint.FileName = sSharePointFileName;
Shanthi
InfoPathDev India
-
I think what you are doing is
1. First switch to the print view as a rule on the button
2. Then in the onclick function PrintOut() happens
3. At the end of the onClick function you are doing a switch view back to the main view
This problems seems to be solved when when the first switchView() is also called in the code instead of calling it as a ...