New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

Where can I find token values for profile property names?

Return to previous page

  • 8/29/2018
  • 1145 Views

Question:

Adrian Stovall 6 years ago

I'm trying to figure out how to turn profile property names into tokens I can use in the member directory.

The problem seems to arise when I try to use profile properties that have multi-word names.

I have a property named "Telephone" that I can get to appear by using "ProfileProperties().Telephone". I have another property named "Position Title" that doesn't work if I use "ProfileProperties().PositionTitle" or "ProfileProperties().Position_Title".

I posted this in the forums, too, but responses there seem to be a bit...delayed.

Does anyone know if there's a predetermined method or formula for turning profile property names into valid token values for use with the ProfileProperties() method in the member directory templates, or, failing that, if there's a different way to display custom profile properties?

Where can I find token values for profile property names?

Adrian Stovall
Adrian Stovall 6 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member