I need to do the following changes in admincockpit:
1.In EditoArea for the user I need to show the phoneNumber.
->Phone No is an attribute of Address model.
->User has Address collection(addresses) as an attribute.
->So How can I show the phone number for the logged in user ?
Problem: I tried in editorArea_user.xml file by setting the qualifier as user.addresses.phoneNumber But I see an error in console saying it is of type Arraylist not string and this property is not been shown in editor area.
2.While creating an item using wizard there is a user field where I need to set the value of the current logged in user by default How can I do it?
Any help is greatly appreciated.