Hexagon Geospatial

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Regular Contributor
Posts: 248
Registered: ‎05-01-2016
Accepted Solution

Adding a liability notice that will display at all below scale bar in gwmpub.aspx

Where/how  would be the best place to modify code to add a few sentence liability message (with a hyperlink) that would display at all times?  I am using gwmpub.aspx as my start page with various modifications.  I would prefer it to display at the bottom of the window on the frame under the scale bar  - just need a hint to get started. Thanks!

Technical Evangelist
Posts: 1,033
Registered: ‎09-11-2015

Re: Adding a liability notice that will display at all below scale bar in gwmpub.aspx

[ Edited ]

Hi Jane,


Please see this topic:



Just create file called e.g. “custom.js” with that code in the Portal’s instance JS folder. Reference this file in any ASPX page that you use, for instance in Full.aspx:

<html xmlns="http://www.w3.org/1999/xhtml" runat="server">
<head runat="server">
    <title><asp:Localize runat="server" meta:resourcekey="Title" /></title>
    <noscript><meta http-equiv="REFRESH" content="0;URL='noscript.aspx'"></noscript>
    <form id="form1" runat="server">
    <asp:ScriptManager runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true">
            <asp:ScriptReference Path="js/MapConfig.js" />
            <asp:ScriptReference Path="js/LayoutHelper.js" />
            <asp:ScriptReference Path="js/API.min.js" />
            <asp:ScriptReference Path="js/StyleConfig.js" />
            <asp:ScriptReference Path="js/Scrollbar.js" />
            <asp:ScriptReference Path="js/Custom.js" />



Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.