ContributionsMost RecentMost LikesSolutionsError when calling component out of context I know that most components use env and page context vars as a default, but some of them allow you to pass in your own object via parameters. I'm having issues embedding the "message-view.widget.labels" component on a custom page. I have my messages loop, and would love to be able to call the OOTB component and pass in my own message object like: <@component id="message-view.widget.labels" messageObject=message /> Does anyone know what the parameters this component can accept? Digging through Quilts, I've been able to deduce useChrome and useHeading which both accept boolean values. Is there a parameter to pass the message object or message.id or any other way I can make this component work on a custom page? It's worth noting also, that unlike most components which silently fail, this one is loud about its error: RenderQueueException:Render queue error in SetupRender[messages/contributions/MessageViewParametersContributionPage:labelsformessage]: Failure reading parameter 'message' of component messages/contributions/MessageViewParametersContributionPage:labelsformessage: No object of type lithium.coreapi.boards.IMessage is available from the Environment. SolvedGet "is_solution" and "solved" from page.context.message I can't use OOTB components my topic messages, so I'm recreating the component from scratch. To keep my REST calls down, I'm using page.context as much as possible. I've been able to find almost all of the data I need by traversing and calling native methods and attributes from MessageTemplateModel, but I cannot find anything representing the database columns for is_solution or solved. Is there a method/context/ancestor I need to fetch these two properties from page/env. Please don't respond with the equivalent REST call. I know how to fetch them, but as I stated, I need to reduce the number of calls I make. Re: Endpoint error 'template not found for name "objecttojson"' I've adapted Eric Brandel's function for use in Khoros for easy copy/paste if anyone in the future needs it: <#macro objectToJson object> <@compress single_line=true> <#if object?is_hash || object?is_hash_ex> <#assign first="true"> { <#list object?keys as key> <#if first="false">,</#if> <#assign value><@objectToJson object=object[key] /></#assign> "${key}" : ${value} <#assign first="false"> </#list> } <#elseif object?is_enumerable> <#assign first="true"> [ <#list object as item> <#if first="false">,</#if> <#assign value><@objectToJson object=item /></#assign> ${value} <#assign first="false"> </#list> ] <#else> "${object}" </#if> </@compress> </#macro>