IB - Insights - Video - Banner

Insights
Designed for curious minds

Discover a cross-section of content from industry leaders and experts shaping the future of our innovation economy.

Menu Display

IB - Insights - Videos - HeadLine

CIBC Innovation Banking Videos

From actionable lessons to must-ask questions, our #CIBCInnovationEconomy video series showcases how founders have navigated the growth of their company.

Asset Publisher

An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceContext.getAttribute("my_view_url")  [in template "709831#709857#1192461" at line 14, column 15]

----
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: viewURL = serviceContext.getAttribute...  [in template "709831#709857#1192461" at line 14, column 5]
----
1<#-- 
2Web content templates are used to lay out the fields defined in a web 
3content structure. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<#macro language key> 
9    ${languageUtil.get(locale, key)} 
10</#macro> 
11 
12<#assign 
13    serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() 
14    viewURL = serviceContext.getAttribute("my_view_url") 
15    /> 
16<div class="card"> 
17    <#assign journalArticleId = .vars['reserved-article-id'].data /> 
18    <div style="position: relative;"> 
19        <#if BackgroundImage.getData()?? && BackgroundImage.getData() != ""> 
20            <img  
21                alt="${BackgroundImage.getAttribute("alt")}"  
22                data-fileentryid="${BackgroundImage.getAttribute("fileEntryId")}"  
23                src="${BackgroundImage.getData()}"  
24                class="card-img-top"  
25                style="padding: 0 15px 0 15px;"/> 
26        </#if> 
27        <a  
28            id="videoLink${journalArticleId}"  
29            class="center-play-btn"  
30            href="${YouTubeLink.YouTubeEmbedLink.getData()}"  
31            role="button" data-toggle="modal" data-target="#videoModal"  
32            aria-label="<@liferay.language key="play-video"/>: ${Title.getData()} ${YouTubeLink.VideoDuration.getData()}. <@liferay.language key="opens-in-dialog"/>" 
33
34            <img src="/o/innovation-banking-theme/images/Play-Icon-Red-Large.png" alt="Play Video" > 
35        </a> 
36    </div> 
37 
38    <div class="card-body" style="padding: 15px;"> 
39         
40        <div class="justify-content-start d-flex"> 
41            <div class="row no-gutters"> 
42                <div class="primary-color subhead_md col-md-auto"> 
43                    <@liferay.language key="latest-video" />:&nbsp; 
44                </div> 
45                <div class="subhead_md col-md-auto"> 
46                    <#if TitleHeaderTags?? && TitleHeaderTags.getData() != ""> 
47                        <#if TitleHeaderTags.getData() == "Default"> 
48                            ${Title.getData()} 
49                        <#else> 
50                            <${TitleHeaderTags.getData()}>${Title.getData()}</${TitleHeaderTags.getData()}> 
51                        </#if> 
52                    <#else> 
53                        ${Title.getData()} 
54                    </#if> 
55                </div> 
56                <div class="col-md-auto"> 
57                    <#if SummaryHeaderTags?? && SummaryHeaderTags.getData() != ""> 
58                        <#if SummaryHeaderTags.getData() == "Default"> 
59                            ${Summary.getData()} 
60                        <#else> 
61                            <${SummaryHeaderTags.getData()}>${Summary.getData()}</${SummaryHeaderTags.getData()}> 
62                        </#if> 
63                    <#else> 
64                        ${Summary.getData()} 
65                    </#if> 
66                </div> 
67            </div> 
68        </div> 
69 
70        <div class="pt-2"> 
71            <a  
72                href="${viewURL}"  
73                class="link-of-page"  
74                aria-label="<@liferay.language key="transcript" /> ${Title.getData()}"> 
75                <@liferay.language key="transcript" /> 
76            </a> 
77        </div> 
78 
79    </div> 
80</div>