Forum Discussion
Parshant
5 years agoBoss
If you want to fetch the user details from custom meta data field you can use API V1 like below
<#assign receive_community_news = restadmin("/users/id/${user.id}/profiles/name/receive_community_news ").value>
and for V2 you can ask support to add V2 collection for user in v2 API.
then your API will work like below
SELECT c_profile_receive_community_news FROM users WHERE id = '${user.id}'
Related Content
- 2 years ago
- 3 years ago