I have a site column defined in an Elements.xml file in Visual Studio. The SharePoint project this is in does all sorts of initial configuration on the website. I need to set the UserSelectionScope to be a certain group, however this won't work unless the group already exists and I know the ID, which I do not because the group in question is create in code in the feature event handler.
Essentially, I am trying to capture all of the initial setup and configuration of this SharePoint site in a single feature/solution that doesn't require manual intermediate steps.
Does anyone know if it's possible to set the UserSelectionScope by doing some kind of lookup by name? If not, does anyone have any suggestions?
Thanks in advance.