thinkclay
5 years agoGuide
Get "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.