Ho to call javascript variable in Freemarker.
For Example
$.each(data.response.users,function(index,value){
<#assign company_name = restadmin("users/id/${value.id}/settings/name/profile.company").value/>
how to set value.id in freemarker code.
Could you please help me on this.
@v-malls - You can't, unless you pass this to the endpoint in FTL. JS is client-side and FTL is processed on the server.
Welcome to the Technology board!
Curious about our platform? Looking to connect on social technology? You've come to the right place!