Forum Discussion
Parshant
7 years agoBoss
You need to create copy of same function executeLiQLQuery with different name, and change "rest" to "restadmin". Like this.
<#function executeLiQLQuery qry isCount=false charSet="UTF-8"> <#if isCount> <#return (restadmin(apiVersion, "/search?q=" + qry?url(charSet) + "&restapi.response_style=view").data.size)!0 /> <#else> <#return (restadmin(apiVersion, "/search?q=" + qry?url(charSet) + "&restapi.response_style=view").data.items)![] />
karthikeyan
7 years agoGuide
Sure, I will try and let you know. Thanks!
Related Content
- 11 months ago
- 6 years ago