-
selectNodes() will return a list of nodes... then you must step through them one by one.
var value;
var values = XDocument.DOM.selectNodes(''/dfs:myFields/dfs:dataFields/d:ProductLinesValu
e/@ProductLineValue'');
while(value = values.nextNode())
{
// do something with value node here...
}
-
If you are using managed code instead of script, date functions are built-in so you don't need to write them.
-
Glad you got that part working... be sure to check all your settings for the email, and maybe try creating a test form to see if you can get email working in it, and if so, compare the two to find differences.
-
I'm sorry to hear the issue. I don't know of any workaround. I did reply to another thread of yours (not sure it was here or on the MS Newsgroups) that you might try modifying the showIf value to see if you can get around it that way. I have low expectations that that would do any good... but you never know.
-
-
I am trying to access sharepoint list using the GetListItems webservices using the following code in jscript. But I am not able to retrieve any list data from sharepoint, it always returns blank.
I have been struggling with this for a while and I would highly appreciate if anybody can help me understand the problem with this code.
Thanks in ...
-
Ok - I set up some checkboxes in the data source, but didn't place them on the form itself. What I'd like to do is perform some logic like this when the user clicks on the ''Send Form'' button.
If concat(eFirstNameImmSup,'' ''eLastNameImmSup) is signed;
Then set ImmSupSigned=True AND email form to HRMgr (set up as a Data Connection);
Else
If ...
-
I think Kalyan did not understand what you were trying to accomplish. His link is for setting fields you use to a blank value. I believe you are wanting to clean up excess fields in your schema now that you have gone through the learning curve and your form is ready for production. I have always longed for a way to find if a field was actually ...
-
Real-time monitoring cannot be done in InfoPath alone since InfoPath forms are not persistent (running all the time). You would need a backend process or service that would constantly monitor tasks and dates and generate the notifications. Or like Kalyan says scheduled jobs that would run each day or periodically to check the data.
Maybe you ...
-
To my knowledge the Mail Data Connection is all client side. When the connection runs it looks to interact with Outllok, the default mail client, to give it the To, Subject, Attachment, Body, in the same way that a mailto html link would. I would have to think that SharePoint is not the culprit but that it has something to do with the client ...