Using Private-label Version of ActiveX/Java Uploader JavaScript

When users download and install ActiveX/Java Uploader to the browser, they see the security dialog which asks whether they trust Aurigma, Inc. and want to install the control. However, if you prefer to display your company name instead of Aurigma, Inc., rename ActiveX/Java Uploader control, and sign it with your own digital signature you need to order a private-label version of ActiveX/Java Uploader (for more information about signing a private-label version see the How to Sign a JAR File and How to Create a CAB File topics). Additionally, private-label versions can contain enhanced functionality not available in the standard version. If you need a private-label version of ActiveX/Java Uploader, please, contact our sales team at sales@aurigma.com.

Note

Private-lable versions are available in ActiveX/Java Uploader Premium only. See the Upload Suite Editions topic for details.

This article describes how to use a private-label version of ActiveX/Java Uploader using JavaScript wrapper. Walk through the following steps to configure the wrapper to launch private-label version of ActiveX/Java Uploader:

  1. Obtain *.cab and *.jar files as well as private-label embedding instructions from Aurigma, Inc. For instance, you have MyUploader.cab and MyUploader.jar files.
  2. Copy these files to any folder of your application.
  3. Configure the activeXControl property of the uploader object in the following way:
  4. Specify a path to MyUploader.cab file as a value of the codeBase property.
  5. Specify a path to MyUploader_x64.cab file as a value of the codeBase64 property.
  6. Specify CLSID and PROGID of the ActiveX control as values of the classId and progId properties respectively.
  7. Configure the uploader.javaControl property as follows:
  8. Specify a path to MyUploader.jar file as a value of the codeBase property.
  9. Specify Java applet class name with the className property.
  10. All the information you need to specify using these properties will be provided by Aurigma, Inc. If some parameters were not sent, you should use default values.

    The code sample below demonstrates how to implement this.

    JavaScript
    $au.uploader({
    	id: 'Uploader1',
    	activeXControl: {
    		codeBase: "MyUploader.cab",
    		codeBase64: "MyUploader_x64.cab",
    		classId: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
    		progId: "MyCompany.MyUploader"
    	},
    	javaControl: {
    		codeBase: "MyUploader.jar",
    		className: "com.mycompany.myuploader.MyUploader.class"
    	}
    });

    See Also

    Reference

    Manual