Modifier1000
asked on
SharePoint List column (person) to have a default set.
Hello,
I am using SharePoint 2010 and have a List of Items. I have a Column for the items that pulls AD info as the person Column type.
Is there a way to set at person Column with a default?
Thanks.
I am using SharePoint 2010 and have a List of Items. I have a Column for the items that pulls AD info as the person Column type.
Is there a way to set at person Column with a default?
Thanks.
You have to use .net code for that, i dont think its possible out of the box
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The simplest trick to get this done is to create a Infopath Form.
In the Infopath form place a person and group control to select user.
Then create a connection to receive data using connection to receive data from UserProileService... name it as GetProfileByName .... (you can google out for how to get user information from userprofile service connection)
Then you can place the relevant User Profile fields on the form and bind controls with connection GetProfileByName ... Once this infopath form is publish to content type or directly to sharepoint list .... it will automaitcally create those columns into sharepoint list...
In the Infopath form place a person and group control to select user.
Then create a connection to receive data using connection to receive data from UserProileService... name it as GetProfileByName .... (you can google out for how to get user information from userprofile service connection)
Then you can place the relevant User Profile fields on the form and bind controls with connection GetProfileByName ... Once this infopath form is publish to content type or directly to sharepoint list .... it will automaitcally create those columns into sharepoint list...
ASKER
Thank you!
The wonderlaura link is probably common to many SharePoint users, but to me it's new and an extremely valuable resource, so also thanks for the link.
The wonderlaura link is probably common to many SharePoint users, but to me it's new and an extremely valuable resource, so also thanks for the link.
I am interested in the java option, how could it be? something like this, but not the current user, other user. Thank you very much for your help
<Field Type="MyCurrentUser" Name="MyCurrentUser" ID="{...}">
<Default>[current]</Defaul t>
</Field>
<Field Type="MyCurrentUser" Name="MyCurrentUser" ID="{...}">
<Default>[current]</Defaul
</Field>