Import a Fusion App

To import an app, you can use either the Fusion UI or the Objects API.

Import an app with the Fusion UI

How to import an app with the Fusion UI
  1. Navigate to the launcher.

  2. Click Import app.

    Import app

  3. Under Data File, click Choose File and select the zip file containing the app you want to import.

  4. If your app has usernames and passwords in a separate file, select it under Variables File.

    Tip
    If the variables file is included inside the zip file, then you don’t need to upload it separately.
  5. In Fusion 4.1+, you can sometimes edit parameter values to use the new values in the imported app. If this is the case, Fusion displays a dialog box that lets you edit the parameter values.

    Edit parameter values

    Make desired changes, and then click Import.

Import an app with the Objects API

Like any other Fusion object, an exported app is contained in a zip file which Fusion can consume upon import. The zip file does not need to be expanded first.

Import objects from a file and stop if there are conflicts
curl -u user:pass -H "Content-Type:multipart/form-data" -X POST -F 'importData=@/Users/admin/Fusion/export.zip' http://localhost:8764/api/objects/import?importPolicy=abort
Import objects, substitute the password variables, and merge any conflicts
curl -u user:pass -H "Content-Type:multipart/form-data" -X POST -F 'importData=@/Users/admin/Fusion/export.zip' -F 'variableValues=@password_file.json' http://localhost:8764/api/objects/import?importPolicy=merge
Note
password_file.json must contain plaintext passwords.
Import a zip file of Fusion objects and merge any conflicts
curl -u user:pass -H "Content-Type:multipart/form-data" -X POST -F 'importData=@/Users/admin/Fusion/techpubs.zip' http://localhost:8764/api/objects/import?importPolicy=merge

Change an app’s default launch action

Important
This is only available in Fusion 4.1+ and before Fusion 5.0.

The default launch action is the action that Fusion takes when you click an app’s tile or name in the Fusion Launcher:

  • After you create an app, the default launch action is to open the app in the Fusion workspace.

  • If you create and publish a UI for the app, then you can change the default launch action to open the app in the browser.

To change an app’s default launch action in the Fusion UI:

  1. From the Launcher, hover over an app tile, and then click the Configure Configure icon.

  2. Under Default launch action, use the drop-down list to select a launch action:

    • Select Fusion workspace to open the app in the Fusion workspace.

    • Select an app name to open that app in the browser.

  3. Click OK.