An error occurred while processing the template.
The following has evaluated to null or missing:
==> IsRedirectToExternalSite  [in template "20115#20151#SHOW_IFRAME" at line 2, column 10]

----
Tip: If the failing expression is known to be 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: #if IsRedirectToExternalSite.getData(...  [in template "20115#20151#SHOW_IFRAME" at line 2, column 5]
----
1<script> 
2    <#if IsRedirectToExternalSite.getData() == "true"> 
3        window.location.href = '${.vars['URL'].getData()}'; 
4    </#if> 
5 
6    window.onresize = function() { 
7        resizePdfFrame(); 
8    }; 
9 
10    setTimeout(function() { resizePdfFrame(); }, 500); 
11 
12    function resizePdfFrame() { 
13        var fr = document.getElementsByTagName('iframe')[0]; 
14 
15        var entireH = document.documentElement.clientHeight; 
16        var entireW = document.documentElement.clientWidth; 
17        fr.style.height = (entireH - (entireH * 0.2)) + "px"; 
18        fr.style.width = (entireW - (entireW * 0.2)) + "px"; 
19
20 
21</script> 
22 
23<div style="margin-left: 15%"> 
24    <iframe frameborder="NO" src="${.vars['URL'].getData()}"></iframe> 
25</div>