To enable this feature, you must override the default connectors key values. You can
edit the XML configuration files manually as described below or use the API Console available at http://<HOSTNAME>:<BASEPORT+1>/api-ui
-
Edit the file
<ONEPART_INSTALLDIR>\datadir\config\CustomConfigs.xml
-
Define the list of connectors and their rewritten paths in the section:
-
<ns2:KeyValue key="connectors" description="The list of connector specific rules">
- See the sample configuration file below. Replace the paths in italics with your required file paths.
-
Manually apply the product configuration.
<CustomConfig name="openInSource">
<ns2:KeyValue key="PDM" value="true" description="The rule used for PDM connectors"/>
<ns2:KeyValue key="connectors" description="The list of connector specific rules">
<!-- An example of configuration for the ExampleAppConnector connector -->
<ns2:KeyValue key="ExampleAppConnector" description="A connector specific rule">
<ns2:KeyValue key="active" value="true" />
<ns2:KeyValue key="rewrite" description="A list of rewritten paths">
<ns2:KeyValue key="0">
<ns2:KeyValue key="source" value="c:\your\indexed\folder"/>
<ns2:KeyValue key="destination" value="S:\shared_folder"/>
</ns2:KeyValue>
</ns2:KeyValue>
</ns2:KeyValue>
</ns2:KeyValue>
</CustomConfig>