locked
Setting Multi Value Profile Properties to Required RRS feed

  • Question

  • For SharePoint 2010 profile properties, is it possible to have the "Required" policy setting enforced for a multi value string property?  In multiple environments, I have set multi value properties to required.  When the records are saved with no values in these fields, these fields are not flagged with an error.  I have created single value fields in the same manner.  For the single value fields, the policy is enforced if no value is entered. 

    Tuesday, December 20, 2011 11:45 AM

All replies

  • It should be like

    <?xml version="1.0" encoding="utf-8" ?>
    <UserProfileMultivalueProperties>
      <
    SiteURL>http://serverName:1212/</SiteURL
      <Property Name="CustomMultivalue1" DisplayName="CustomMultivalue1" Length="25" Privacy="Contacts" PrivacyPolicy="mandatory"
    IsVisibleOnEditor="$true" IsVisibleOnViewer="$true" IsMultivalued="$true" Separator="Comma"></Property
    >
     
    </UserProfileMultivalueProperties>



    Satyam MCITP, MCPD
    Tuesday, December 20, 2011 11:56 AM
  • Satyam,

    your xml snippet misses the point.  The Privacy Policy is set to "Mandatory" (or "Required" if using the GUI), but the Edit Profile page itself is not enforcing this setting.  It's not a question of what setting to use, but the failure of the OOB SP control to enforce it.

    Thanks.

    Tuesday, December 20, 2011 12:47 PM