alfozaav
2 years agoHelper
LiQL Styling
Hi! I'm creating a custom component using the LiQL 2 object reference. My goal is to fetch all messages that contain a specific tag. I have the correct query but I donĀ“t know how to render the c...
- 2 years ago
It is pretty simple. You can use below code, just need to update the Query in first line.
<#attempt> <#assign messageList = rest("2.0","/search?q="+"QUERY"?url).data.items/> <#list messageList as messageItem> <p>messageItem.subject </p> </#list> <#recover> <!--message listing component not working--> </#attempt>