How to handle documents in classic pages

Because Internet Explorer is the only browser which can fully support ActiveX,
the integration of office documents in Sage X3 pages, which is based on the Microsoft
proprietary technology, had to be redesigned to continue supporting this
feature.

Name of the version 7 class which implements the version 7 version of the OBJCODE object.
ParameterDescription
OBJCODECode of the version 6 object.
CLASSNAME
REPRNAMEName of the version 7 representation which handles events of the CLASSNAME class.
KEYSKeys of the version 6/version 7 object.
LANISOISO language code.
COMPANYCompany.
LEGISLATIONLegislation.
ACTIVITY_CODEActivity code.

The return status can be [V]CST_AOK if the function succeeds; otherwise, is [V]CST_AERROR.

Important: this code is not compatible with the Windows client. It must be run in Classic pages or version 7 native pages.