Home › Forums › Classic DFFS › Random Pairing in Custom List?
Tagged: DFFS
- This topic has 6 replies, 3 voices, and was last updated 4 years, 3 months ago by Brett.
-
AuthorPosts
-
-
April 24, 2019 at 17:40 #24993
Hello,
I created a Custom List in SP 2013 and use DFFS to customize, that is being used as a sign-up/registration form. The fields it includes are Status (Choice), Participant Name (person lookup) and ID.
I want to randomly pair Participant Names and want to send an email to them with the pair information once it’s selected. Is this possible?
-
April 24, 2019 at 19:58 #25005
I’m not sure I understand exactly what you mean. Should for example participant #1 (Cassandra) be matched with #2 (Alexander) and the email tell that Cassandra and Alexander is paired – and write the pairing info to both #1 and #2 so you can see it in the list?
If this is correct, should the pairing just look for the first unpaired participant so the participant #1 is unpaired until #2 registers and is paired with the first unpaired (#1) and #3 is unpaired until #4 registers and is paired with the first unpaired (#3)?
Alexander
-
April 25, 2019 at 15:10 #25007
Yes, that would work.
For my list, participants could be enrolling (creating a list item) throughout the month so ideally, we would pair them all randomly once per month; but I did not consider pairing automatically as they come in.
-
April 29, 2019 at 17:12 #25078
Hi,
Sorry for the delay. It is possible to create this, but unfortunately I’m a bit busy and cannot help you right now, but I might be able to do it next week.I guess a solution would be to create a script to put in a web part page where you can hit a button that gets all the list items from the list, randomly pairing them and then writing the pairing information to a second list were you keep track of the pairs. You can then use a workflow / flow sending out emails.
Let me know if you have any more details and I’ll estimate how much time this will take to make.
Alexander
-
August 10, 2020 at 04:17 #31101
Hi Alexander,
I’ve just had this same request from a work colleague.
Did you end up writing this script to match pairs of list items? -
August 10, 2020 at 18:11 #31111
No, I never got around to make this solution.
Alexander
-
August 10, 2020 at 23:59 #31119
Thanks Alexander, it’s not a priority and I don’t think there will be much response from people to register their interest, like a random pairing meet n greet type scenario, so it was only if you had it ready to go.
Thanks.
-
-
AuthorPosts
- You must be logged in to reply to this topic.