An error occurred while processing the template.
The following has evaluated to null or missing: ==> serviceLocator.findService("com.avisonyoung.portal.ui.service.GroupServiceUtil") [in template "20302#20342#RESEARCH_REPORTS" at line 14, column 29] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign groupServiceUtil = serviceLoc... [in template "20302#20342#RESEARCH_REPORTS" at line 14, column 1] ----
1<#setting date_format="long">
2
3<#-- Retrieve the display date meta data field of the web content -->
4<#assign displayDate = .vars['reserved-article-display-date'].data>
5<#-- Save the original page locale for later -->
6<#assign originalLocale = locale>
7<#-- Set the page locale to the portals default locale -->
8<#setting locale = localeUtil.getDefault()>
9<#-- Parse the date to a date object -->
10<#assign displayDate = displayDate?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
11<#-- Set the page locale back to the original page locale -->
12<#setting locale = originalLocale>
13
14<#assign groupServiceUtil = serviceLocator.findService("com.avisonyoung.portal.ui.service.GroupServiceUtil")>
15<#assign treePath = groupServiceUtil.getGroupFriendlyUrlTreePath(groupId)>
16<#assign cdnCgiPath = "https://www-cdn01.avisonyoung.com/cdn-cgi/image/h=345,q=85">
17<style>
18 /* Your CSS styles here */
19</style>
20
21<div class="ay-news-release">
22 <h2 id="ay-artTitle" class="h2">${Content.getData()}</h2>
23 <#if (Image?? && Image.getData()?has_content && Image.getData() != "")>
24 <img src="${cdnCgiPath}${Image.getData()}" alt="${Content.getData()}">
25 </#if>
26 <small>${displayDate?date?string}</small>
27 <div class="ay-news-release__content">
28 <#if Sub_Title?? && Sub_Title.getData()?has_content>
29 <h3 class="ay-news-release__subtitle">${Sub_Title.getData()}</h3>
30 </#if>
31 ${Research_Detail_Content.getData()}
32 <#assign boilerplate = Research_Boilerplate_Content.getData()>
33 <#if boilerplate?? && boilerplate?has_content>
34 <div class="ay-news-release__boiler">
35 ${boilerplate}
36 </div>
37 </#if>
38 </div>
39</div>
40
41<#assign newsTitle = Content.getData()>
42
43<style>
44 .ay-news-release__content {
45 min-height: 150px;
46 }
47</style>