How to auto refresh the GIS view in Spectrum OneClick

book

Article ID: 110031

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The GIS view in Spectrum is static. How to auto refresh the GIS view in Spectrum OneClick.

Environment

Release: Any
Component: SPCOCK

Resolution

Add the following tag in $SPECROOT/tomcat/webapps/spectrum/console/gis-view.jsp file:

<meta http-equiv="refresh" content="30" /> 

Example::. 

... 
<%@page import="com.aprisma.util.EncodeUtils"%><html:html locale="true"> 
<head> 
<title><%=request.getAttribute( "pagetitle" )%></title> 
<meta http-equiv=X-UA-Compatible content="IE=5"> 
<meta http-equiv="refresh" content="30" /> 
<apputil:css/> 
</head> 
<meta http-equiv="Pragma" content="no-cache"> 
<jsp:include page="/console/console-header-common.jsp" flush="true" /> 
...

This will refresh the page every 30 seconds