-
I add the code as you suggest, but when I step through in debug, the fc.Execute() is never executed. I get a system error message "Infopath cannot submit the form. The OnSubmitRequest event handler returned a value indicating that the submit failed."
my code is this;
try{
FileSubmitConnection fc = ...
-
Hi everyone!
This is my first post here!
I'm a total newbie in C# and infopath in general. I've a lot of experience in MATLAB programming as is my main tool for work.
However, I'm doing some quotation forms for my company and need some help. I've research and haven't found anything that helps me with this ...
-
Here is the modified (unworking) manifest.xsf. For the first and last assignmentAction I have added in [../@Name='Virtualized'] and [../@Name='ID'] I have also tried without the @ symbol. I understand this as "change the value of the field where the name equals Virtualized" Am I reading this correctly? I am ...
-
The submit button had the set value minus the doctype, and I got the error I showed a couple of posts ago.
I have changed that set value to include the doctype, and now I don't get anything - no error, no docid .... as if nothing has fired.
I have done some investigation...
concat("SubmitToDbxl /submit=FirstSubmit /name=", ...
-
use
FileSubmitConnection fc = (FileSubmitConnection)this.DataConnections["Main submit"];
fc.Execute();
-
Please try this:
100 * count((tq2.1 | tq2.2 | tq2.3)[. = "Yes"]) / count((tq2.1 | tq2.2 |
tq2.3)[. != 'N/A'])
-
Thanks Qazi,
But what is the correct code to use to submit my main connection, up to this point I have not been successful except submitting the email connection.
Thanks
-
Yes, that was what I meant. What do you mean when you say you don't get any values returned? Is there no Result or Error value? I'm assuming that you're assigning the value of that formula to qRules' Command node when the Submit button is clicked, right?
-
None of the users will be accessing from dbxl. My doctype is called NewSKURequest
I have changed my command to
concat("SubmitToDbxl /submit=FirstSubmit /doctype=NewSKURequest /name=", CalculatedDescription, " /author=", DisplayName, " /desc=", RequestSummary)
Is this what you mean? When I press ...
-
Thank you.
I followed your advice, but I had problem with one control text box that gets filled with System.Environment.UserName
I ended up with following code for my purposeXPathNavigator firstElement = MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:group3/my:group4[1]", NamespaceManager);string userName = ...