Forum Discussion
perk
Adept
I tried and a type mismatch happens. url can't be assigned to string. url_getUser isn't defined anywhere else.
<#assign url_getUser = baseUrl + "users/query=user@domain.com" ?url/>
YuriK
10 years agoKhoros Expert
You have a space between the end quote (") and the question mark (?). Try removing the space. Also make sure baseUrl is a string. One other thing is to make sure only the query parameters are encoded. The following worked for me:
<#assign baseUrl = "http://test.test.com/"/>
<#assign url_getUser = baseUrl + "users?" + "query=user@domain.com"?url/>
${url_getUser}
Hope this helps,
Yuri
Related Content
- 5 years ago