Timeline for How i can allow selecting a group or member of a group inside my "Person or Group" site column
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 23, 2017 at 14:07 | comment | added | Venkat Konjeti | If you want to go with above custom validation you can do it in PreSaveAction method or jQuery on change event. | |
Jun 23, 2017 at 14:05 | comment | added | Venkat Konjeti | Yes. you are right. This case won`t work. To overcome all these issues you may have to go with AD group that way whatever you add and remove that will apply automatically. The next solution is leaving a people and group to All groups and add a validation that user is available in the "Software Development Group" and group you are adding is "Software Development Group". | |
Jun 23, 2017 at 13:56 | comment | added | John John | but this appraoch will fail in the following scenario. let the "software development members" contain 2 user UserA & UserB. and i create a new item and i checked the "Add all users in group", so using JavaScript i will be assigning UserA & UserB to the current item. then later on we decide to modify the "SD members"; by adding UserC and remove userB. so in this case i need to write a schedule application which runs let say each hour to check is the members for the "SD members" are in sync with the item's person or group column is this correct? so seems thing will become a bit complex. | |
Jun 21, 2017 at 1:35 | comment | added | Venkat Konjeti | If you want to achieve using only SharePoint group you can add a button right next to people picker says "Add all users in group". On button click add all users to people picker programmatically using JavaScript. | |
Jun 21, 2017 at 1:09 | comment | added | John John | but currently we do not reply too much on AD groups.. i am trying to find a way to fix this using SP groups.. if possible | |
Jun 20, 2017 at 15:20 | history | answered | Venkat Konjeti | CC BY-SA 3.0 |