J jscoulter Member Licensed User Longtime User Mar 3, 2011 #1 Hi All. I have a situation that has got me stumped. What I am trying to do is display a list of contacts so the user can select a or multiple contacts. Since I cant specify the default state of the options in a list, I am using "InputMap" to do this for me. Currently this is all working fine. However, there is a small problem that I cant figure out. Given that you cant rely on the contact name being unique I have to use the contact ID and since this the also needs to be the KEY for the Map item, when you call InputMap, of course it shows the contact ID and no name Is there a better way to do this? or can anyone else suggest how to get around this wee conundrum?
Hi All. I have a situation that has got me stumped. What I am trying to do is display a list of contacts so the user can select a or multiple contacts. Since I cant specify the default state of the options in a list, I am using "InputMap" to do this for me. Currently this is all working fine. However, there is a small problem that I cant figure out. Given that you cant rely on the contact name being unique I have to use the contact ID and since this the also needs to be the KEY for the Map item, when you call InputMap, of course it shows the contact ID and no name Is there a better way to do this? or can anyone else suggest how to get around this wee conundrum?
klaus Expert Licensed User Longtime User Mar 3, 2011 #2 I have some questions: - How do you fill in the Map? You could set the key as ID plus name. - If you display only the Name how is the user supposed to make the difference ? Best regards. Upvote 0
I have some questions: - How do you fill in the Map? You could set the key as ID plus name. - If you display only the Name how is the user supposed to make the difference ? Best regards.
J jscoulter Member Licensed User Longtime User Mar 3, 2011 #3 These are questions I too had I am filtering the contact based on whether or not they have a phone type of mobile....no point in sending an SMS to someone who only has a landline. I may have to re-think how I do this then. I was just trying the quick and dirty method Jeremy Upvote 0
These are questions I too had I am filtering the contact based on whether or not they have a phone type of mobile....no point in sending an SMS to someone who only has a landline. I may have to re-think how I do this then. I was just trying the quick and dirty method Jeremy