-
Hi Marielo and welcome to the forum!
This is just a hunch, but maybe the query is timing out whenever you start the form. In the data connections wizard did you set the data connection to query whenever the form is first loaded? If so, this might be causing the timeout.
-
Hi,
I want to request data from a web service. I know that the web service needs around 2 minutes to process data from our database.
I followed the instructions on how to increase the Web service timeout (C#):
myAdaptor = (WebServiceAdapter2)thisXDocument.DataAdapters[''GetRelation''];
myAdaptor.Timeout = 300;
myAdaptor.Query();
The first time ...
-
Dear Friends,
I have added a Secondary DataSource in my InfoPath and I try to get the Value from the DataSource and display in the TaskPane. So My Data will be always dynamically... but I cant get the Value from that Data Source..
I have tried with getElementsByTagName, SelectsingleNode.. but no result.
Anyone can help me out!
How can I ...
-
Hello, Nukkumatti
You can also generate unique GUID in Load event using ''Scriptlet.TypeLib'' ActiveX object (if you are in JavaScript):
var guid =
new ActiveXObject(''Scriptlet.TypeLib'').guid.substring( 0, 38);
or using System.Guid.NewGuid() method (if you are in .NET).
Regards,
Maxim
-
Ya sure Nukkumatti,
I will give u the code which I have written.
[WebMethod]
public DataSet NextPRSerialNumber()
{
String filename = ConfigurationSettings.AppSettings[''PRNumFile''];
System.IO.StreamReader file = new System.IO.StreamReader(filename);
String strNum = file.ReadToEnd();
file.Close();
System.IO.StreamWriter ...
-
Hi Trimba,
So u want to update Attribute1 when u check Attribute2(checkbox) in the same row.
Use eventObj.Source.selectSingleNode(''attributename'')instead of
thisXDocument.DOM.selectSingleNode(''/my:myFields/my:grpPointsToNote/my:rtxtPointsToNote/@my:tbAssignTo'')
Using eventObj.Source lets u access the fields in the current row where the ...
-
Hello Tjen;
XPath expression you use always selects the first record in the XML-tree.
To select the current record, your should use something like this:
xmlNode = e.Site.selectSingleNode(''../@my:tbAssignTo'')
xmlNode.text = System.Environment.UserName
Regards,
Maxim
-
Thx Abhishek,
but code you give me a short code introduction on how to start with it ?
Thx
-
Thank you Anders.
Will do that.
Regards,
Abhishek
-
Hi Matt,
Thanks for your reply.
Regards,
Rajasekar.