How to display the items in a multi-select box in an infopath 2010 form in a sorted order? - infopath2010

I have a multi-select field in my Infopath 2010 that looks up values from other lists. I want to display the options in the box in a sorted order. How can I go about doing this? Thanks in advance!

Are you accessing the data from the SharePoint list directly?
I suggest you create a web service that queries the SharePoint list and sorts the data. You should bind the list control to the result of the web service.

Related

Converting SharePoint List Form to a PowerApp

I'm looking for input on the best approach to converting a SharePoint list form to a PowerApp. The list currently has the following field type:
15 text fields
5 choice fields
5 multi-select choice fields
3 multi-line text fields (not rich text)
There are 20,000+ items in the list, with 1k+ new items added every month.
When creating the PowerApp, should each choice field be converted to a new list? I'm wanting to make the fields as dynamic as possible and avoid hard coded values.
I'm not opposed to moving all of the list items to a CDS entity if it helps.
You can use PowerApps to customize the SharePoint list form. There is a command in the command bar of a modern list to do that
If you don't want to use Choice fields, you can use simple text fields and in PowerApps connect to SharePoint lists as the source of the dropdown options. Then you can let the end users maintain the values for the dropdowns easily.
With this approach, the SharePoint list maintains all other functionality, i.e. you can use list views and embed list view web parts in SharePoint pages. A customized form will not work on a mobile device, though.
You can also build a stand-alone PowerApp that stores items in the SharePoint list. This is independent of the SharePoint list form customization. Such an app could be used on a mobile device, but there are limitations around the number of list items that the app can pull from the SharePoint server at any one time. It may not be suitable for big lists.
PowerApps is easy to learn and there are lots of resources just a web search away.

Lookup: Nintex forms 2013 with External SharePoint list

Is it possible to have a Nintex forms lookup with external sharepoint list? I've many SQL tables and I need to use the data on the form. I'm creating an external list using BCS. I was able to show external list data in a dropdown using list lookup but having a lookup based on this dropdown selection isn't working!
First you'd need to create an external Content Type in SharePoint using SharePoint Designer. Then on required site/list create new "External data" column.
In Nintex Forms use "External data column" control in order to display and manipulate the data.

How to show collection fields from bcs in infopath list item form?

I have a .net assembly business data connector. One of fields is List.
I have external list, based on this connector and InfoPath Item Form for this list item.
I want to show this List as repeating table.
But InfoPath simply ignore this field at all.
Is it possible to achieve? If yes, then how?
Thank You!
I found that I must have a complex property with collection as one of subproperties. In this scenario InfoPath show this property in primary datasource and I can use it in my form.

Updating a SharePoint list from an InfoPath form

I am an extreme newbie to the SharePoint/InfoPath environment and I am stumped.
I have an existing list in SharePoint. I have created an InfoPath form that retrieves a column from this list and uses it to populate an InfoPath Multiple Selection List box. I also some additional date picker controls on the form to capture start end end dates.
I would like to do the following:
Select one or more items in the multi-select list box using the available check boxes.
Fill in the start and end date fields on my form.
On clicking the form's submit button, somehow have the form update the SharePoint list items corresponding to those selected in the list box with the contents of the start and end date fields. The "somehow" is what has me stumped. I've read that I can use web services to do this, but have no idea how to go about doing so.
The tools I have at my disposal are:
SharePoint 2010
InfoPath 2010
SharePoint designer 2010
I do not have access to Visual studio
Any ideas?
Here is a basic tutorial that walks through how to use InfoPath to update a SharePoint list.
http://www.bizsupportonline.net/browserforms/update-sharepoint-list-items-object-model-infopath-browser-form.htm
I don't use InfoPath much but it looks like it requires a bit of coding that you'd need to do in Visual Studios. I am not sure how well an InfoPath form will work to update multiple SharePoint list items.
Here is a link to another Stackoverflow question that is similar.
https://stackoverflow.com/a/14287616/1594166
Did you know that you can link MS Access to a SharePoint list and then you can write a query to update the rows like a table? Using a form and some VBA you could build a custom SQL string and execute that based on selections from the form.
When using an InfoPath form using a list, you can go to the list itself, then click on list, and then customize the form. From this you should first be able to:
a. Create the columns needed for the certain list (this would contain the start and end dates etc. on your end)
b. Have Microsoft InfoPath 2010 installed (i'm guessing you already have this)
Since you already have the columns on the list, you can just click on customize this form and infopath will open and you would be able to customize your own form from there.
Another option is to use the DataSheet view in SharePoint. This provides the ability to filter, sort and update lists. It may be sufficient for your purposes. It requires MS Access to be installed but if you're using InfoPath then you presumably also have Access. If that doesn't work then I would second #AxGryndr's approach of linking to the list from Access and using a query to perform your bulk updates.
InfoPath is probably not a useful option for the requirement you've described. Out of the box InfoPath integration with SharePoint is fairly capable but has limitations that make it unsuitable for more complex requirements without integrating third party tools (Qdabra's qRules) or Visual Studio.
Simply create one or more workflows on the InfoPath form library that use the form data to create other list items on different lists as required. These workflows would trigger when a new item is created on the InfoPath form library.

InfoPath - MOSS User Information List as Data Connection - Exclude groups

I have an InfoPath form where I want to place a drop down list to select a user from a MOSS server.
I added a Data Connection in InfoPath to the User Information List list in my MOSS server. It works well, but the values I get are:
DOMAIN\administrator
SharePoint Owners
SharePoint Visitors
SharePoint Members
NT AUTHORITY\local service
System Account
Is there a way in InfoPath (or MOSS) to filter the list so it doesn't include groups?
Bonus question: Is there a way to filter it so system accounts are not shown?
Yes you can. When you set up the drop down to fill with data from the data connection you can filter the entries for the information that you want. After you have selected the datasource press the button to the right of Entries to select the repeating group that you want.
There is a filter data button on the Select field or group dialog.
From there you can filter the data how you want.

Resources