You searched for the word(s): 12
-
-
That's strange. Perhaps you can try publishing it in a different SharePoint server and see if it still the same?
-
Thank you Jo-Anne,
I got it. I add filter and select the top 1 title.
xdXDocument:GetDOM("TestList")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[contains(../first_name, xdXDocument:get-DOM()/dd:FirstName)][1]
:)
Thanks
-
Thank you Jo-anne,
the dropdow list has filter in the Title, so the top one in the secondary data connection some time is not in the filtered data lists(the #1 in the secondary data is not in the dropDownListbox items)...
-
I have zero experience of code so am looking for a codeless solution to my problem. I have been searching the web for the past couple of days, but to no avail so have signed up here in the hope that somebody can help!
I have created a multifunction InfoPath form that submits to a SharePoint Library and sends emails upon submit dependant on a ...
-
Thanks Jo-Anne for replying.
Yes I am opening the form in the browser. Just after I got your reply, I checked the design checker again and noticed it has a problem with the digital certificate which I removed, but I doubt if that's the problem because I have succesfully published it before. I guess the errror occured today while working on ...
-
Hi Anson,
Thanks for the response - I think the reason I didn't know about it before was because it doesn't appear compatible with a browser enabled form - it's greyed out. Any other way of controlling this at all, do you know?
Jason.
-
Hi snow.snow,
You can set the default value of the dropdown list box to the item in your secondary data connection. That will display the first item in the list. The formula should look something like:
xdXDocument:GetDOM("TestList")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[1]/d:Title
Where "TestList" is your ...
-
Hi stephAplphs,
Sorry about your issue. I don't understand why the table is greyed out. I'm assuming you're opening the form in the browser, but correct me if I'm mistaken. Before publishing the form, did you check if there are any errors in the design checker?
-
I need to set a value on a dropDownListbox to the first list item. This list box is retrieving items from a webservice. But always show up the blank item after the data retrieved. Any one knows how to auto-Select the top 1 item or remove that blank item from the lists?Thank you!