Integrating External References
HOPEX Power Studio - Publisher offers you the possibility of importing external references into the HOPEX site.

To do this, you must create external references with predefined folder (see
Using External References).
External reference integration standard mode
To integrate external references in the HOPEX site:
1. Verify that the external references are specified using a predefined folder.
2. Indicate that the address of external references is relative to the Web site.
From HOPEX menu bar, select Tools > Options, then double-click the Web Sites icon and select External references relative to site.
3. Generate the Web site.
4. Start the "XRefCopy.vbs" file in the "Intranet" folder to copy the external references in a sub-folder of the site.
By default, this sub-folder is called REFEXT. You can modify it in the user configuration (in the workspace, select Options > Tools then double-click the Web Sites icon).
The external references are now accessible from the Web site.
External reference management configuration
External reference path generation can be configured if the standard method described above is not suitable.
You can carry out this parameterization using a macro, connecting it to the Web site or Web site template by the "External reference manager" link.
To do this:
1. In the pop-up menu of the Web site, select Explore.
2. In the empty "External reference manager" folder, click Connect.
The Query window appears.
3. Select the required macro.
Macro content
You can create your own macros. The macro must contain the following methods:
Start of generation
This method indicates start of generation.
Sub StartExternalReference(oWebGenCtx)
End Sub
Method called for external references
Sub ExternalReferencePathGet(oExternalReference, oWebGenCtx,enFilter , strResultPath)
This method is called for each external reference. It retrieves the path of the external reference to be displayed in strResultPath and manages copy.
|
oExternalReference
|
External reference object
|
|
oWebGenCtx
|
Generation context
|
|
enFilter
|
enFilter = 1, relative path
enFilter = 0, absolute path
|
End of generation
Sub StopExternalReference()
End Sub