You searched for the word(s): 2
-
Hi Hari,
You can use the following code for closing the InfoPath Application
Application.ActiveWindow.Close();
-
HI,
Because of not having Full Trust to your InfoPath form when another opens the form is getting this message. So please follow the below steps for giving your form Full Trust.
· Tools --> Form Options --> Security and Trust.
· In Security ...
-
Hi, Once check the default value of the text box field. May be you are setting some time default.
-
Hello,
For local intranet, you would use an ASPX page to authenticate the user and serve up the XML, but you can't rely on Windows Authentication via your domain since people are coming from outside of your domain.
Someone can create an InfoPath solution and stick it in their cache and then save the XML form to desktop and open it up ...
-
Hi,
You need to check or Uncheck "Overwrite existing file?" checkbox option while taking submit data connection in the design mode. Otherwise click on “edit template” from SharePoint to open the form in design mode. Modify the submit data connection and Check/uncheck “Allow Overwrite if file exists” check box. And publish form to ...
-
Once use the following code. Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cmd As New SqlCommand("spInsertData", New SqlConnection(ConfigurationManager.AppSettings("ConnString")))
cmd.CommandType = ...
-
Hi, To show the default only for a new document, first remove the default value from the field properties. Then place the following code line in onload event.If(thisXDocument.IsNew){thisXDocument.DOM.selectSingleNode("/my:myFields/my:Field1").text = "defaultValue";}Here field1 -> drop down list field
-
Hello,
Depends on your condition you can change the text of the button as below,
if(<Condition to change the text>)
{
btnShowAllExamples.value = "Hide";
}
else
{
btnShowAllExamples.value = "Show";
}
-
Hello,
By default it will submit the first node details of the repeating section. In your code you have to get the node to submit it. Then you have to pass this node to submit it. If you have for loop to submit all nodes then it will submit all nodes at a time.
-
Hello,
For replacing the main data source node with secondary DOM node then both schema should be equal and namespace of the form also should be same.
When you do a replace node you need to have the same node with the same prefix of namespace. Here is work around
Make a replace in your node
Make your form with your custom schema without ...