Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

The two included .dll files Weave/Pathway integration provides a two way link between Weave and Pathway. That is Pathway can call out to Weave to display information and Weave can call out to Pathway to display information.

Client Workstation

The link between Weave and Pathway requires the installation of components on each client computer that will be requiring communication between Weave and Confirm.

The following two section outline the installation and configuration of these components.

Installation

Two Pathway specific .dll files, pathway.dll and weavepathway.dll, must be copied and registered on each client PC, along with the weave link components.

...

The Pathway map component, PathMap.ocx, must also be installed on the client, this components is supplied with Pathway. PathMap.ocx should be located at ...\Pathway\Prod\msc\PathMap.ocx in your Pathway installation.

Configuration

Then the The Pathway GIS integration must be configured to use Pathway.COMGIS1 as it's mapping component (weavepathway.dll implements Pathway.COMGIS1 ProgId)

Some versions of Pathway do not allow URL's require an executable file to be entered for the application executable, as the setup screens in Pathway verify that the application exists and does not allow the details to be saved because the application, which in the case of Weave is a URL, does not exist.

The workaround for this is to specify any application and then change the underlying database table.
The table is called LPAGISP, the columns to update is called EXEPATH, and the records to change is
where the GISCODEFIELD='COMGIS'.

...

one of the configuration parameters, a dummy executable, WeaveLaunch.exe, can be use if an executable is required.

Un-installation

The installation can be undone by using regsvr32 with the "/u" parametereparameter, e.g.

Code Block
none
none
linenumberstrue
        regsvr32 /u pathway.dll
        regsvr32 /u weavepathway.dll

And, also removing the PathMap.ocx registration.

Server

Configuration

...

Server

Entities in Weave must be linked to one of the four levels, prop, parc, titl and/or strt, in Pathway.

Firstly the pathway namespace must be added to the config.xml file header (or a separate pathway.xml file can be created and included into config.xml)

Code Block
xml
xml
linenumberstrue
<?xml version="1.0" encoding="UTF-8"?>

<config xmlns=          "urn:com.cohga.server.config#1.0"
        xmlns:client=   "urn:com.cohga.html.client#1.0"         xmlns:pathway=  "urn:com.cohga.pathway#1.0">
       
...
</config>

then the pathway configuration must be setup to link the pathway levels with the Weave entities

Code Block
xml
xml
linenumberstrue
<?xml version="1.0" encoding="UTF-8"?>

<config xmlns="urn:com.cohga.server.config#1.0" xmlns:pathway="urn:com.cohga.pathway#1.0">
  <pathway:config>
    <link level="prop" entity="property"/>
    <link level="strt" entity="roads"/>
  </pathway:config>
</config>

Client

Once the levels have been created the Pathway related actions can be added to the client configuration.

Code Block
xml
xml
linenumberstrue
  <item action="com.cohga.client.actions.menuAction">
    <text></text>
    <iconCls>icon-pathway_pathway</iconCls>
    <item action="com.cohga.pathway.Display" text="Display"/>
    <item action="com.cohga.pathway.SendQuery" text="Send Query"/>
    <item action="com.cohga.pathway.DisplayOther" text="Display Other"/>
    <item action="com.cohga.pathway.SendQueryOther" text="Send Query Other"/>
    <item action="com.cohga.pathway.CreateLink" text="Create Link"/>
    <item action="com.cohga.pathway.Return" text="Return"/>
  </item>

Pathway Configuration

...

The configuration of Pathway itself must be done via the Pathway application.

Go to the GIS Product Parameter screen

From there edit the Generic COM GIS Interface

...

You need to set the GIS Layer and GIS Reference Field values for any items you wish to be able to send to Weave.

Also you need to set the window title and startup url in the Parameters. These two values are separated by a verticalbar (|), and the first value, the window title, is the text at the start of the Internet Explorer window title which the link uses to locate a running Weave browser window. The second part is the startup URL for Weave for use when there isn't already a Weave browser running, this is the URL that the link will open in a new Internet Explorer browser window to start Weave.

From there you need to configure the users to use Weave as the GIS link (it may be possible to do this globally rather than having to do it individually for each user)