Une image contenant texte, signe

Description générée automatiquement

Web Link Listener

 

Overview

Some helpers in the Rhapsody Power Pack can generate html pages that contain clickable links/buttons or the html code for clickable links/buttons:

 

·       Generate as HTML

·       Get Hyperlink

·       HTML Link Generator

 

These generated links all send requests to the Power Pack Web Link Listener, for example:

<a href="#" class="btn btn-primary" onclick="fetch(&#x27;http://localhost:7777/?navigate=GUID 7fc973c7-3bf9-471c-a2fa-b092774eedb3&#x27;).then(response =&gt; response.text()).then(data =&gt; console.log(&#x27;Navigate Response: &#x27; + data)).catch(error =&gt; console.error(&#x27;Error sending navigate request:&#x27;, error));">B1</a>

These requests are sent over a port which, by default, is 7777 but this may be changed using the following project level property:

 RhapsodyPowerPack.WebLinkListener.Port  

If this port is changed then:

·       The generated html/links must be regenerated to use the new port.

·       The listener must be restarted to listen on the new port which may be achieved by restarting Rhapsody or by using the helper menu(s):

 

Applicable To

Project

Menu Entry

Power Pack Web Link Listener Close Listener

Power Pack Web Link Listener Launch Listener

Power Pack Web Link Listener Restart Listener