Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm trying create a new profile tab with some customer user properties. I've added the user properties following these StackExchange instructions. I was also able to create a new tab with some help from Mr. Oryszak. Finally, I used SPSWC:ProfilePropertyValue to get the new property values to display on my new tab, as in this code:

Hobbies: <SPSWC:ProfilePropertyValue PropertyName="Hobbies" dir="ltr" runat="server"/>

I'm not sure about a few things, and I think they're all related enough to be one question.

  1. Is there a tag I can use to get the display name of the property rather than "hard-coding" it into an ASPX page?
  2. How can I get all of the values of a multi value string property? I just get back the first one with an ellipsis using that tag.
  3. Can I make a property that acts as a lookup, or is there a way to restrict the multi-value string property to specific values?

Thanks!

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Trying to answer all 3 questions:

  1. For display name, you should be able to use ProfilePropertyDisplayName (in same namespace as ProfilePropertyValue)

  2. In Central Admin, go to Your User Profile Service > Manage User Properties > Locate and Edit your multi-value user property. In edit property page, locate following setting and change it: Maximum number of values to show before displaying ellipsis:

  3. Custom multi value User Profile property can be configured to pick a value from a term set defined in Managed Metadata Term Store. This would restrict user to choose from values defined with the term set.

share|improve this answer
    
Thanks @Ashish Patel. I had no problem with the first two at all. I can't figure out how to create a term set. I've found several sites that talk about how (like this one and this one), but no amount of right- or left-clicking in the taxonomy term store gets me a contextual menu to add a new group. You definitely answered the question; though if you know how I can create a new group, I'd love to know! –  Don 01001100 Dec 19 '11 at 14:29
    
If you don't see contextual menu to create group, ask your farm administrator to add you as a Term Store administrator (to add a new Term Group) or "Term Group Managers" to create a new Term set under the Term group that already exist. –  Ashish Patel Dec 19 '11 at 14:55
    
Awesome, thanks. That works perfectly! –  Don 01001100 Dec 22 '11 at 15:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.