Wednesday, June 12, 2019

Missing links on webMethods Administrator UI

Missing Links

There are a set of links at top right if you login Administrator UI. For example you can click Help link to view build-in documents based on what page you're viewing.
But in some of versions or some of pages, these links are missing.

Top.dsp

The reason is there is a missing %end% tag in DSP page "top.dsp" under WmRoot package. On version 9.9 this issue occurs between line 156 to 180.

156      %invoke wm.server.query:getLicenseSettings%
157      %ifvar keyExpired%
158      <TD width=100% class="keymessage">
159        <center>
160          <A  class="keymessage" HREF="settings-license-edit.dsp" TARGET="body">
161            License Key is Expired or Invalid.
162          </A>
163        </center>
164      </TD>
165      %else%
166      %ifvar keyExpiresIn%167      <TD width=100% class="keymessage">
168        <center>
169          &nbsp;
170          <A class="keymessage" HREF="settings-license-edit.dsp" TARGET="body">
171      %ifvar keyExpiresIn equals('0')%
172            License Key expires today.
173      %else%
174            License Key expires in about %value keyExpiresIn% days
175      %endif%
176          </A>
177        </center>
178      </TD>
179      %endif%
180      %endinvoke%

There is an obvious %end% tag missing for line 157, so what we need to do to fix it is to insert a new line like below.

156      %invoke wm.server.query:getLicenseSettings%
157      %ifvar keyExpired%
158      <TD width=100% class="keymessage">
159        <center>
160          <A  class="keymessage" HREF="settings-license-edit.dsp" TARGET="body">
161            License Key is Expired or Invalid.
162          </A>
163        </center>
164      </TD>
165      %else%
166      %ifvar keyExpiresIn%167      <TD width=100% class="keymessage">
168        <center>
169          &nbsp;
170          <A class="keymessage" HREF="settings-license-edit.dsp" TARGET="body">
171      %ifvar keyExpiresIn equals('0')%
172            License Key expires today.
173      %else%
174            License Key expires in about %value keyExpiresIn% days
175      %endif%
176          </A>
177        </center>
178      </TD>
179      %endif%
         %endif%
180      %endinvoke%

No comments:

Post a Comment

Extendable System Monitor on webMethods

System Connectivity Monitoring There could be hundreds of systems integrated in a big company, and it's a challenge for administrator...