I need to allow the user to select multiple entries from the iPhone address book before proceeding to the next action.
Currently if I use the ABPeopleNavigationController, it only allows me to pick one entry at a time. Is there any way to allow multiple selections i.e. add a checkmark beside all the names I want to select before clicking on 'done' button
This is not possible with the standard ABPeopleNavigationController.
You'll have to use a UITableView to provide the list of people to select and enable multiple selection - basically you have to do it all yourself. It isn't that hard. Just write a custom table data source on your list of people.
Related
I am trying to save data of a project specifically its name, type, creation date, end date, and five more attributes. In order to insert all of the attributes, the user needs to go through three-step phases that are present in three separate views. I want the data to be saved as draft data in case the user decides to stop the post creation on the second step. The functionality I am trying to develop is similar to the shopping cart functionality that is present on every e-commerce website.
Thanks
I don't believe it is possible!
An alternative would be to group your fields into groups and add a button that controls the visibility of the group of fields. When the user is done filling the first group of fields he can click on the button which will hide the group he filled and show the next group, etc.
How to remove "Create: option in search view opened after clicking Search view in odoo 9?
I want to hide create and hide option for many 2 one field for the user not for the manager?
If you want to remove create option than you can do this via adding options no_create. For not allowing editing, you can do that via no_edit option. For the particular user group you want to add options than you can do this via different access_rule and access_group
I'm trying to create a filter so the user can choose any of 40+ fields to display in a query result that has been dynamically created via VBA.
This is something I see standard in a lot of programs so I figure someone must have code that does it without me reinventing the wheel. Unfortunately I haven't been able to find it online.
Basically when it starts all the field names are listed in the left box and the right box is empty. The user can click a right arrow button to move the fields into the right box or a left arrow to remove them and put them back in the left box. Also the user can use up and down arrow buttons to change the order of a selected field in the right listbox.
Once I have the right listbox populated and ordered correctly I know how to execute the query properly.
If you are unable to find a full example for this then you'll need to work through it step-by-step yourself. Here is an MSDN link for the ListBox control. There are links to the various methods and properties of this control at the bottom of the page.
Essentially, clicking a button (your arrow(s)) triggers the Click event;
In this event you might need to loop through to find the Selected item;
If the listbox is multi-select then you can examine the ItemsSelected collection;
Then you would use the AddItem and RemoveItem methods to move them for right-to-left or left-to-right.
I cannot recall currently whether the Field List option is bound to the table, or whether it just populates the list once when the form is loaded. If it is bound then you would instead need to use the Value List option and use VBA to retrieve all the field-names, and use these to set the RowSource (you may be doing this already).
In either event (Field or Value List) I don't believe the lists can remain sorted automatically (unlike in VB.NET). You will probably need to split the RowSource up into a (dynamic) array, find a simple sort routine to sort the array, and reassign the sorted items as the RowSource.
An alternative would be to create two temporary tables and use ADO (or DAO) to insert and delete rows between them, then use SELECT statements each time to re-populate the lists. This has the advantage that the SELECT can include an ORDER BY clause to sort the lists each time. However, It perhaps involves a little bit more effort (to maintain, and delete, the temporary tables).
You might, however, want to continue your search as I suspect an example is out there somewhere. Good luck.
Basically I have a set of geolocations and other information corresponding to each point in a table in a SQL database. I have a Bing Maps website with checkboxes to set different filters for which geolocation pins should be displayed. I'm basically wondering how I can most efficiently query the database and update pins on a map, based on given checkboxes.
Alternatively, as requerying may be expensive as the table size increases, how could I load the entire database and only display certain pins based on the selected checkbox filters?
When researching this I found answers regarding GeoRSS files, but those solutions are specific to points that are all loading at once and that will continue to stay in view. It doesn't seem like filters can be applied in this process (without further requerying).
EDIT: When I say 'filters' I'm basically talking about narrowing down the currently displayed pins by things like the date the geolocation was recorded, and various other things that will use checkboxes. Let's say I have a list of restaurants and they each have their ID, geolocation, date added (to the database), and a foreign key for their type of food. I'd like to be able to select through the available food-types to limit results to Italian and Mexican restaurants but still provide the functionality of showing Chinese restaurants with the click of a button.
And to make it easy, I'll initially take all database entries in.
You could use an SSRS Report with a Map Control to display the info on a Bing Map. That way you can use an expression in the "hidden" property of the marker to determine whether or not to show the pushpin and map your checkboxes to parameters.
See
http://technet.microsoft.com/en-us/library/ee240845.aspx for using a map control.
If SharePoint is an option you can have a completely interactive experience with PowerView.
Here is an introduction http://office.microsoft.com/en-gb/sharepoint-help/maps-in-power-view-HA103005792.aspx
I activated restrict_owner to change the textfield to a dropdown when creating a new ticket. Is there a way to change the contents of that dropdown from user id's to user names?
The reason is, that all user id's that we use to log in are somewhat cryptic (something like xyz01, xyz02 and so on). If that list could show the associated user names, that you can enter in the prefs, that would be perfect.
Regards,
Sascha
To get around that, I installed the Auto-Complete Users Plugin. This will allow you to more easily select a user by account name, real name, or email address, plus it seems to have better performance than using restrict_owner.
I'm not sure if the plugin covers all of the same form fields as the restrict_owner option. If there's one that it misses, it shouldn't be too difficult to modify the code and add another field.