Legacy Product

Fusion 5.10
    Fusion 5.10

    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.

      If the Variables File is needed, it must be a separate file that is not in a .zip file. It is a .json map of variables to values. The following is an example:

    {
     "secret.dataSources.Inventory_BR_S3_DS.password":"SOMETHING",
     "secret.dataSources.LLM_A_BR_S3_DS.password":"FmJSaDE9Tj5REDACTED",
     "secret.dataSources.LLM_BR_Inventory_S3_DS.password":"FmJSaDE9Tj5GzIVvethAC4Huh",
     "secret.dataSources.LLM_BR_Load_S3_DS.password":"FmJSaDE9Tj5GzIVvethAC4"
    }
    1. In Fusion 4.1 and later, 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 USERNAME:PASSWORD -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 USERNAME:PASSWORD -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
    password_file.json must contain plaintext passwords.
    Import a zip file of Fusion objects and merge any conflicts
    curl -u USERNAME:PASSWORD -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

    This is only available in Fusion 4.1 and Fusion 4.2.

    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.