Versions Compared

Key

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

...

This should be performed using the regsvr32.exe application provided with Windows, e.g.

Code Block
nonenone
linenumberstrue
regsvr32 pathway.dll
regsvr32 weavepathway.dll

...

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

true
Code Block
nonenonelinenumbers
regsvr32 /u pathway.dll
regsvr32 /u weavepathway.dll

...

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

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

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

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

xml
Code Block
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="PARC" entity="property"/>
    <link level="STRT" entity="roads"/>

    <!-- Set the name of the Pathway database to launch if it's not already running -->
    <!-- this is the newer way of setting what Pathway has to be launched -->
    <database>Pathway</database>

    <!-- Optionally set the name of the Pathway application to launch if it's not already running -->
    <!-- this is the older way of setting what Pathway has to be launched, you should probably use database above -->
    <launch>C:\\Infor\\Pathway\\Demo\\msc\\Pathway.exe</launch>
  </pathway:config>

</config>

...

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

linenumbers
Code Block
xmlxml
true
  <item action="com.cohga.client.actions.menuAction">
    <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>

...