Configuring the Appeon Workspace download center

After the Appeon Workspace app is created, you can follow this section to post the Appeon Workspace app files to a Web site and then create the Appeon Workspace download center from the template provided by PowerServer.

You can choose to post the Appeon Workspace app to the PowerServer which is a readily-used Web site for the Appeon Workspace app, if you decide to go this way, you can skip Step 1 and directly start from Step 2.

Step 1: Set up a Web site for hosting the Appeon Workspace app files.

  1. Install IIS or Apache. The third-party Web server is recommended to be IIS 7.5 - 10 or Apache 2.x.

  2. (For IIS only) Configure the MIME types for the IIS Web site.

    In the IIS Manager, add the following MIME types:

    Extension: .apk MIME Type: application/octet-stream

    Extension: .ipa MIME Type: application/octet-stream

    Extension: .plist MIME Type: text/xml

Step 2: Copy the Appeon Workspace app files to a location on the web site that is accessible to the users; or upload the files to PowerServer via AEM (for details, see the section called “Mobile App Distribution” in PowerServer Configuration Guide for .NET).

  • For the Android installation, copy the *.apk file

  • For the iOS installation, copy the *.ipa, *.plist, and *.png files

Suppose the same file name is used for .apk file, .ipa file and .plist file (for example, 8.0.0088.00), and the files are copied to the aws folder under the Web root directory of the Web site, and the Web site HTTPS URL is: https://192.0.3.111:7000, then the URL to the above files is:

  • https://192.0.3.111:7000/aws/8.0.0088.00.apk

  • https://192.0.3.111:7000/aws/8.0.0088.00.ipa

  • https://192.0.3.111:7000/aws/8.0.0088.00.plist

  • https://192.0.3.111:7000/aws/appicon57.png

  • https://192.0.3.111:7000/aws/appicon512.png

Step 3: (For iOS only) Modify the .plist file to point to the URL of the .ipa and .png files.

  1. Locate the following line of script, and specify the URL of the .ipa file:

    Change

    <string>$ipa_url$</string>

    To

    <string>https://192.0.3.111:7000/aws/8.0.0088.00.ipa</string>
  2. Locate the following two lines of script, and specify the URL of the icon files:

    Change

    <string>$appicon_512$</string>
    <string>$appicon_57$</string>

    To

    <string>https://192.0.3.111:7000/aws/appicon512.png</string>
    <string>https://192.0.3.111:7000/aws/appicon57.png</string>

Step 4: Copy the downloadaws.html file from \%powerserver_installation_directory%\aws\ (for example, C:\inetpub\wwwroot\appeon\aws\) to the same folder as the app files, and modify it to specify the URL of the .plist and .ipa files for iOS, and .apk file for Android.

For Android:

var android_web_server ='http://192.0.3.111:7000/aws/8.0.0088.00.apk';

For iOS (Notice that the URL to the .plist file must be an HTTPS URL):

var ios_mobile_url ='https://192.0.3.111:7000/aws/8.0.0088.00.plist';
var ios_web_url = 'http://192.0.3.111:7000/aws/8.0.0088.00.ipa';

Now the Appeon Workspace app is ready for download and installation on both the Android and iOS device.

Step 5: Send the URL of downloadaws.html to the end users, for example, https://192.0.3.111:7000/aws/downloadaws.html.