CodePlexProject Hosting for Open Source Software
I have added few custom fields to a User content type.
How to fetch those fields from the user content type using the ContentManager?
var contentItem =...;
@Anna: But look out for naming issues - if the field is named the same as some property existing on that part - the field will be used instead (it has priority over existing properties).
Also just a slight fix to sebastien's post; to access fields in that way you have to make sure the ContentItem is treated as dynamic:
dynamic contentItem =...;
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.