-
Hi Aswin, your error message says that your form requires full trust and you did not give full trust to your form. To avoid this you need give full trust to your form and sign the form with a digital signature.
Agni
InfoPathDev India
-
As far as I know you cannot control the process of Publishing to a sharepoint site.
And there should not be an error if you click on fill out a form. Can you actually copy paste the error message that you see when you click on ''Fill out a Form''.
Let me tell you in little more detail about publishing a form,
When you publish a form to a ...
-
Hi Ashwin Raj,
I am answering to your first question here.
When you are prompted to give a name, the name you enter will be the ''Form Library'' name at sharepoint site.
When you are publishing a form to SharePoint, it picks up your InfoPath solution(''.XSN'') and stores it as template.xsn(It does not remember the existing name of your InfoPath ...
-
1. Yes there is a way that we can give Form xml as an Email body. In this case also we need to create the Email dataconnection.
To set the email body we need to write some code. Here is the code snippet that can be used
EmailAdapter oEmail = (EmailAdapter)thisXDocument.DataAdapters[''Email Submit'']; //Here we are getting the email connection ...
-
We cannot disable/enable controls programatically. Because you donot have any reference to the Infopath UI controls in the code.
But there is a way that you can achieve this,
We should make the conditional formatting on a control in the Infopath design based on a secondary xml(dataconnection) node value. And set that secondary xml node value in ...
-
Hi freetn,
I am not sure if we can populate a dropdown list by combining two fields.
But As you said you are getting data from the database, you can change your SQL query that gets the data from the database to combine the two fields.
Your query can be ''select (lastname+firstname as name) from nametable''.
And you can map this field to your ...
-
Great to know that it helped you :).
Agni
InfopathDev India
-
Only way that I found was to load the XML schema into a IXMLDOMDocument and check for the datatype of a specific node by querying the xml document with ''selectSingleNode'' method.
IXMLDOMDocument xd = thisXDocument.CreateDOM();
xd.load(''myschema.xsd'');
string type = xd.selectSingleNode(<xpath>).text;
This is not the best way but this is ...
-
By ''.net'' application what I meant is write a console ''C#'' application and try to access your database through this application.
By trying this we will know whether it is an InfoPath application issue or the general security issue. If it works well with your ''C#'' application then it could a Infopath application issue.
I thought we can start ...
-
I am not sure, but this is what my understanding is
XML that gets generated by the webservice at compile time will have prefixes, and XML that gets generated at runtime will not have any prefixes.
For example lets take your webservice itself
''<s0:EmployeeInfoResponse>'' and ''<s0:GetEmployeeInfoResult>'' both have prefixes because ...