ContributionsMost RecentMost LikesSolutionsCategory or board visbility Hi, I'm using a custom component to list the categories & nested boards as a navigation menu. We usually have some categories or boards that we hide from menus until they are ready. How can I see this option in REST Api? At the moment it's listing them all.. Thanks! asmx web service Hi, I have a .asmx web service - can I use http.client.request to make a call to that? Or is there another way? Thanks! Re: Order featured threads (blog) Hi samudhraa Thanks for the response :smileyhappy: They are not nested - there are 3 boards within the category: Using http://communityname.com/communityname/restapi/vc/categories/id/itt_plc/threads/style/blog/featured?restapi.response_style=view I get the response below (the one highlighted is the last one featured): I thought maybe they were in board order first but the first and third are the same board and the second is a different one: Order featured threads (blog) I am trying to understand the order of featured blog threads. I am using a category with 3 boards and would like to order the featured threads by featured date. On the REST API pages it has: threads / featured Returns a list of the featured threads in this node. The threads are ordered by the date they were featured. [/t5/REST-API/bd-p/developers-rest-api?leaf-id=Category.threads.featured#Category.threads.featured.nested] And yet when I use that it appears to be completely random... I get some new features in the middle of the list - and they are not in board order either. So what am I doing wrong and how are they being ordered?! I am using a call like this: http//community etc/restapi/vc/categories/id/itt_plc/threads/featured?restapi.response_style=view Re: Javascript in a blog Thank you all! Chris's worked for our requirements :) Javascript in a blog Hi, We have a blog where the author wants to post a link to a page that opens in a specific window size... it's a product demo so they would like it to appear over / with the blog if that makes sense. I can't get JavaScript working (window.open) in a blog... is there any way to do this in a blog? Thanks! Solvedclient request error I'm making abasic get call and I keep getting an error. The endpoint is: <#assign response = http.client.request("http://tt-internal--tst.tomtom.com/cc/kfController/SearchResult?cid=35952894&s=map").get() /> <#if response.hasError> Error: ${response.error.message} <#else> Content: ${response.content} </#if> The error is error making http request: String index out of range: 0 I can see results looking at http://tt-internal--tst.tomtom.com/cc/kfController/SearchResult?cid=35952894&s=map in a browser though. Where am I going wrong?! Using @component within an endpoint We want a component (that is visible only to our admins) and shows the most active threads in that node. That part is fine. The next requirement is to be able to change the time range ... So I have a component that by default displays 24h and has a dropdown selection to pick 1y, 1M or 1w. I'm using an endpoint for that with the node & time as url parameters. It works ... except I made it easy and used <@component> to build it (see below). The links for the results is then wrong: /*mycommunity*/forums/forumtopicpage/board-id/*boardid*/message-id/2 instead of /t5/*boardname*/*subject*/m-p/421 Can I use @component within an endpoint? If so, how? <#assign time_range = http.request.parameters.name.get("time_range","")?string /> <#assign category = http.request.parameters.name.get("category","")?string /> <#assign result_list_size = 5 /> <#assign rest_query = "/categories/id/"+category+"/search/messages?q=is_root:true&sort_by=-replies&rangeTime="+time_range+"&restapi.response_style=view&restapi.format_detail=full_list_element&include_forums=true&size=" + result_list_size /> <div id="new-activity"><@component id="forums.widget.message-list-panel" title="Most Active Threads" messages="rest_v1:"+rest_query style="slim" numMessages="conv:"+result_list_size /></div> Thank you! Re: Featured Threads Order In case it helps anyone ... you can use ?reverse in Freemarker to reverse the list. At least, it worked for me! Determine phase - config.getString Hi, I'm following How to determine the phase to render the proper content. When I have this in a custom component in satge, it always prints out 'prod'. ${config.getString("phase", "prod")} What am I doing wrong? Thanks Solved