fix bug:console can not open message query by id,because there miss a method to build the template.