Hey, thanks for the reply. Yeah that is how I have been doing it, with the dynamic variable. So I have a list of all the properties of the user (name, telephone etc.). And I can use item.TelephonePart.Number, but I was wondering if there was another way
I could do it so that if I added a new part to the registration, LocationPart for example, I wouldn't need to write another line in the module item.LocationPart.Country. If that makes sense...
And sorry to sound like such a retard, but reflection? I quickly googled it, not quite sure how I can use the type to help me here.
EDIT: Sorry I don't think I am being clear at all.
We have quite a few websites. They all have different registration fields. These are attached as parts to the user content type. I want to list registered users and all the details they have entered so evil PR people can get excited over all the user information.
At the moment, it goes and finds a list of all parts and fields associated with the user type. I now would like to get all the information from these parts without having to explicitly write
I think I have the fields working, it is just the Parts I am struggling with.
Sorry again for any confusion