CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


Sidebar

software:knowledge-base:hosting-gui-projects

This is an old revision of the document!


Remote Hosting of GUI Projects

guiDesigner projects can be hosted remotely. This allows users to download projects to their devices even when guiDesigner is not running.

This may be useful when updating a clients GUI. The project can be uploaded to a server, and the URL given to the end user to enter into guiDesigner settings. The project would then automatically be downloaded and installed on the device when Reload GUI Layout is enabled in iViewer Settings.

You can store the files on the server in two ways:

  1. As a zip archive (recommended)
  2. As a replica of your local project folder - complete with .gui file and all assets (images, scripts, sounds, etc)

When using method 2 - you must supply the File URL including the .gui file name.

Exporting a Project

The first step is to export the .gui project as a zip archive.

To do this, open the project in guiDesigner and click File>Export>Project Archive.

This will save a .zip file in the same location as your guiDesigner project is currently saved.

Uploading Project Archive to Server

The project archive (.zip) can then be uploaded to any web server that is accessible by the device that you want the GUI loaded onto.
Enter the address of the file in File URL under iViewer settings on the device. You must include the complete file URL including .zip

Note: The files cannot be served from a local file share - iViewer can only download projects from a HTTP web server.

Using Dropbox to Host Projects

Dropbox can be used to host guiDesigner projects. To do this, move the exported project to a location on your PC that syncronises with Dropbox.
Then right click on the file and choose Dropbox>Share Link.

This will open up a web browser.

Because we need a direct download link, we then need to change the link it gives us.
You will have something such as this in your address bar: https://www.dropbox.com/s/v7ikx4p6xod8x9u/projectname.zip

All we need to do is change the www to dl:
https://dl.dropbox.com/s/v7ikx4p6xod8x9u/projectname.zip

You can test this my entering this in your web browser address bar and the zip file should begin downloading.
This is the address that you type into File URL under iViewer settings.

Auto Updating GUI

software/knowledge-base/hosting-gui-projects.1367975419.txt.gz · Last modified: 2013/05/08 01:10 by aaron