ContributionsMost RecentMost LikesSolutionsRe: Fetch Kudos given by user in API 2.0 Parshant, SuzieH As far as I understand, The leaderboard gives a list of users, right? I want to use it for the current logged in user. If your recommendation is the right approach then How do I use it in the code, Do you have any example, please? board id is "AnaplanIdeas" The community name is "community.anaplan.com" Thanks! Fetch Kudos given by user in API 2.0 SELECT COUNT(*) FROM kudos WHERE user.id = '4423' Hi All, I would appreciate if someone answers my questions, I'm trying to get the count of the query, I wanted to fetch the list of kudos given by the user related to the board.id = 'AnaplanIdeas'. When I tried to use the count of a method, It doesn't return the results, I see the errors. Thanks! Re: display first name / Email addresses for users Sure, I will try and let you know. Thanks! Re: display first name / Email addresses for users<#function getFieldValue field="" defaultValue="" > <#if field?? && field?has_content> <#return field!defaultValue /> <#else> <#return defaultValue /> ---------------------- <#assign apiVersion = "2.0" /> <#function executeLiQLQuery qry isCount=false charSet="UTF-8"> <#if isCount> <#return (rest(apiVersion, "/search?q=" + qry?url(charSet) + "&restapi.response_style=view").data.size)!0 /> <#else> <#return (rest(apiVersion, "/search?q=" + qry?url(charSet) + "&restapi.response_style=view").data.items)![] />Re: display first name / Email addresses for users Hi Lithium team, As Stan said earlier, we are running into an issue of a code works for Admin and not working for Non-admin users, Lets for Employee it doesn't work. It returns empty records or no values, Can you please help us? Following is the code snippet. <!-- MasterAnaplanner Users and their role is either Customer or Partner Macro --> <#macro masterAnaplannerUsers> <#local msg = "SELECT id, href, view_href, login, email, first_name, last_name, rank.name, avatar.profile, rank.simple_criteria.role.id FROM users WHERE roles.id = 't:Master Anaplanner Directory'" /> <#local msgqry = executeLiQLQuery(msg) /> <#if msgqry?size gt 0> <#local users = msgqry /> <#list users as user> <#local userQuery = "SELECT name FROM roles WHERE users.id = '${user.id}'" /> <#local userObject = executeLiQLQuery(userQuery) /> <#if userObject?size gt 0> <#local roles = userObject /> <#if roles?? && roles[0]??> <#list roles as role> <#if role.name == "Customer" || role.name == "Partner"> <div class="col"> <div class="avatar-role"> <div class="avatar"> <a href="${getFieldValue(user.view_href)}"> <img src="${user.avatar.profile}" /> </a> </div> <div class="user-role"> <span>${role.name}</span> </div> </div> <div class="user-name-email"> <div class="name">${user.login}</div> </div> </div> </#if> </#list> </#if> </#if> </#list> </#if> </#macro>