Skip to content

Design Import tutorial

Important

The information in this document is based on HCL Volt MX Go version 2.0.4, HCL Domino REST API version 1.0.14, and HCL Domino version 14.0.

The tutorial guides you through the Design Import process in Volt MX Go. You will create a project in Volt MX Go Iris and then run the Design Import Wizard to enable you to import Domino application forms, views, and agents, then build those forms and views within Volt MX Go Iris. You will also perform CRUD operations on the imported Domino application published via Volt MX Go Iris.

At the end of this tutorial, you will gain enough competence to use the Design Import Wizard to successfully import a Domino application.

Before you begin

Before starting this tutorial, you must meet prerequisites based on the situational scenario that applies to you:

  • The All access scenario is for a user with all the necessary access rights to install and configure Volt MX Go and with the correct access to all required Domino databases and the Domino REST API.
  • The Limited access scenario is for a user who is most likely a Volt MX Go Iris developer and doesn't have all the necessary access. In this case, you must coordinate with a Volt MX Go Foundry administrator and a Domino/Domino REST API administrator to obtain the required access and fulfill other requirements.

Kindly follow and complete the prerequisites that apply to your situation.

Volt MX Go prerequisites

Domino/Domino REST API prerequisites

Tip

Contact your Domino administrator/Domino REST API administrator for any needed assistance.

  • You have set up Domino REST API in the Domino server containing the Domino database you are importing.
  • You have at least Designer access to the Domino database where you are creating or updating a schema and to the Domino Keep Configuration database keepconfig.nsf to create a scope and OAuth application for the Domino application.

    For more information on access levels, see Access Levels in the ACL in the HCL Domino documentation

  • You have accessed Domino REST API.

  • You have configured a schema with:
  • You have configured a scope for your schema:
    • having a scope name not exceeding 30 characters
    • having a Maximum Access Level set to Designer or Manager
  • You have created an OAuth application:
    • having your configured scope and $SETUP added to the Scope field.
    • having a placeholder callback URL that you will replace with the callback URL from the Identity Service you will create using the Design Import Wizard
  • You have taken note of the Domino REST API URL, and the App ID and App Secret of the OAuth application.

Volt MX Go prerequisites

  • You have completed the installation of Volt MX Go Iris.
  • You have contacted the Volt MX Go Foundry administrator to:
    • have access to Volt MX Go Foundry
    • have a Volt MX Go Foundry admin account
    • have an Environment created in Volt MX Go Foundry in case there is none

Domino/Domino REST API prerequisites

  • You have contacted the Domino/Domino REST API administrator to:

    • ensure you have at least Designer access to the Domino database you will be importing
    • configure a schema for the Domino database that you will be importing with:
      • All necessary forms:
        • having active status
        • including the $FILES field
        • having the Formula for Delete Access set to @True
        • having a default mode and a dql mode, and both modes having matching fields
      • All necessary views having active status
      • All necessary agents having active status
    • configure a scope or scopes for your schema:

      • having a scope name not exceeding 30 characters
      • having a Maximum Access Level set to Designer or Manager.
    • create an OAuth application:

      • having your configured scope or scopes and $SETUP added to the Scope field.

        Tip

        If you want all the scopes in Domino REST API to be available to Design Import, just add $DATA and $SETUP to the Scope field.

      • having a placeholder callback URL that will be replaced with the callback URL from the Identity Service you will create using the Design Import Wizard

    • provide you with Domino REST API URL, and the App ID and App Secret of the OAuth application.

Launch Volt MX Go Iris

  1. Open Volt MX Go Iris. When the Sign-in to your account page appears, close it by clicking the Volt MX Go Iris home icon.

    Volt MX Go Iris icon

  2. Configure the login settings.

    1. Go to Preferences.

      For Windows, select EditPreferences.

      For Mac, depending on your macOS, select Volt MX Go IrisPreferences or Settings.

    2. In the Volt MX Go Iris Preferences dialog, click Volt MX Go Foundry.

    3. On the Volt MX Go Foundry tab, enter your Volt MX Go Foundry URL in the Foundry URL text box, and then click Validate.

      Preferences

      You should see the Validation Successful message at the top of the dialog. If you entered an incorrect Volt MX Go Foundry URL, you will see an error message at the top of the dialog advising you to try the validation again.

    4. Click Done.

  3. Log in to Volt MX Go Iris.

    1. Click Login on the upper right corner of the Volt MX Go Iris screen.
    2. Enter your email and password for Volt MX Go Foundry on the Sign in to your account page.
    3. Click Sign In. Your username appears next to the profile icon.

Create a new project

In this tutorial, we will use a web app project. The following steps will enable you to create one. If you want to create a native app, see create a native app project for more information.

  1. In the top menu, select ProjectNew Project.
  2. In the What do you want to start with now? dialog, select Web App and click Next.

    Design Import Wizard dialog

  3. In the Which device size do you want to start building for first? dialog, select Desktop and click Next.

    Design Import Wizard dialog

  4. Enter your Project Name and click Create.

    Design Import Wizard dialog

You can now see your project name in the upper-left corner of the Volt MX Go Iris UI.

Volt MX Go Iris user interface

Import a Domino application

  1. In the top menu, select ProjectImportDomino Application. The VoltMX Design Import Wizard opens.

  2. On Getting Started step, click Next.

    Design Import Wizard dialog

  3. On Associate Foundry App step, click Create New.

    Design Import Wizard dialog

  4. After creating the Foundry app having a default name similar to your Project Name, click Next.

    Design Import Wizard dialog

  5. On Identity Service:

    1. Enter the required details in Create New Identity Service and click Next.

      Fields Description
      DRAPI URL This refers to the Domino REST API URL you are working with.
      Scope This refers to the name of the scope that's set up in the OAuth app you are using in the Domino REST API.

      If multiple scopes are configured in the OAuth app, and you wish to use specific scopes, ensure that you separate these scopes with commas when you enter them. For example: scope1,scope2

      If you intend to use or access all the scopes available in Domino REST API, enter $DATA. Just make sure that you only configured $DATA and $SETUP in the OAuth app in Domino REST API.
      Client ID This is the App ID of the OAuth app you are using in Domino REST API.
      Client Secret This is the App Secret of the OAuth app you are using in Domino REST API.
      Service Name: Any name that identifies the Volt MX Go Foundry Identity Services.

      Design Import Wizard dialog

    2. Select the Identity Service.

      The name of the Identity Service is the service name you provided prefixed with MXGO. As shown in the image, the name of the Identity Service is MXGODemoApp

      Design Import Wizard dialog

      Important

      You need to pause here and do not click Next until you update the callback URL in the OAuth app in Domino REST API with the callback URL from the Identity Service in your Volt MX Go Foundry app. If you click Next without updating the callback URL in the OAuth app, a validation error occurs and prevents you from proceeding.

      To update the callback URL of the OAuth app in Domino REST API
      1. Get the callback URL of your Identity Service.

        1. Log in to Volt MX Go Foundry.
        2. On the Apps page, click your Volt MX Go Foundry app.
        3. On the Identity tab under Configure Services, click your Identity Service.
        4. Under Provider Details, click Copy corresponding to the Callback URL field to copy the callback URL.

          Callback URL

        5. Close Volt MX Go Foundry.

      2. Update the callback URL of the OAuth app in Domino REST API.

        1. Log in to Domino REST API.
        2. Select Application Management – OAUTH from the home page or Applications from the side navigation pane to access the Application Management page.
        3. Click the Edit Application icon corresponding to your OAuth app.
        4. Update the Callback URLs field with the callback URL you copied from your Identity Service.
        5. Click Update.
        6. Close Domino REST API.
        1. Send the copied callback URL to the Domino REST API administrator and request to update the callback URL of the OAuth app.
        2. Get confirmation that the callback URL of the OAuth app is already updated before proceeding.

        Note: If you don't receive immediate confirmation that the callback URL in the OAuth app has been updated, you can close the Design Import Wizard and Volt MX Go Iris. Once you receive confirmation, follow these steps:

        1. Open Volt MX Go Iris and sign in using your MX Go Volt Foundry account.
        2. Make sure that the opened project is what you used in this tutorial.
        3. In the top menu, select ProjectImportDomino Application to open the VoltMX Design Import Wizard.
        4. On Getting Started, click Next.
        5. On Associate Foundry App, you will see that the Volt Foundry app is still linked. Click Next.
        6. On Identity Service page, click Use Existing and then select the identity service under Select Existing Identity Service.

        From here, you can continue with the next step in this tutorial.

    3. Click Next. The HCL Domino Login dialog opens.

      Domino REST API log in dialog

    4. Login with your Domino credentials in the HCL Domino Login dialog.

    5. In the Permission Requested dialog, click Allow.

      Domino REST API permission request dialog

    6. Choose the identity service related to your app on Volt MX Go Foundry in Foundry App Identity Service and click Next.

      Design Import Wizard dialog

  6. On Scope and Forms:

    Note

    • Selectable forms, views, and agents are only those set to the active status when configuring the schema in the Domino REST API. Those in inactive status can still be seen but won't be selectable. Unsupported agents are also shown but won't be selectable.
    • Actions are often active within the Domino database and can only be modified using Domino Designer. Imported actions might not function as expected. If this happens, you modify or update the actions to function as expected. For more information, see Modify or update imported actions using VoltFormula.
    • If a dialog opens indicating that your Domino REST API schema has misconfigured settings, kindly see Troubleshooting for more information on addressing the issue.
    • If you see a warning icon appear beside any form, form field, view, or agent, click the Reports folder icon and click a report to open a detailed report explaining the cause of the warning.
    1. Select the scope you want to use from the drop-down list.

      The available scopes are based on the scopes defined when creating the identity service.

      Design Import Wizard dialog

    2. Click the Forms tab and select the forms, fields and actions you want to include in the import.

      Design Import Wizard dialog

    3. Click the Views tab and select the views and actions you want to include in the import.

      Design Import Wizard dialog

    4. Click the Agents tab and select the agents you want to include in the import.

      Design Import Wizard dialog

    5. Click Next.

  7. On Summary, review the selected forms, fields, views, and agents. Once you confirm that you have selected everything that you want to import, click Build Iris Application.

    Design Import Wizard dialog

    Note

    • It may take a while to complete the publishing of the imported Domino app.
    • If a dialog indicating that existing Iris forms are detected appears, click Yes to overwrite the detected forms and proceed with the building of the application. The existing Iris forms were automatically generated when you created the project in Volt MX Go Iris.

      Screenshot

  8. On Result, see the final forms, views, actions,agents, and then click Done.

    Tip

    • A checkmark icon indicates a successful import.
    • A warning icon indicates a successful import, but the imported component might not work as expected due to, for example, its data type not being currently supported.
    • An error icon indicates a failed import.
    • Click the Show only with errors toggle in a specific tab to the on position to see all elements with the error icon in that specific tab.
    • When the scope you selected has active agents, the Agents tab is shown. Otherwise, the AppForms tab is shown.
    • You can click view report to see a results report of imported forms, views, and agents in a new window.

    Design Import Wizard dialog

Once you click Done, you can see the imported forms and views in a storyboard view in Volt MX Go Iris.

Import output in storyboard view

To see the imported forms in a directory, click the DESIGN tab to show the Project tab. You then expand the Responsive Web / Desktop and the Form directory to show the imported forms, views, and actions.

Import output in the Forms directory

Perform CRUD operation in imported Domino app

Before you can do the CRUD operation in your imported Domino app, you must first build and publish the imported app in Volt MX Go Iris.

If your app is a Web App, follow the instructions in Building a Web App in the HCL Volt MX documentation.

If your app is a Native App:

  1. Configure your mobile app browser.

  2. After configuring your mobile app browser, follow the instructions in Building a Native App in the HCL Volt MX documentation to view the mobile app.

Note

For the following topics, the steps are based on an example Domino application. The example images will be different from what you will see when you try the steps using your imported application.

Create entry

  1. On the Dashboard, go to Forms and click your preferred document. In the example image, we're selecting NewCustomer.

    Screenshot

  2. Fill in the fields.

  3. Click Select Files to upload a file. The File Upload dialog appears.

    Note

    This step only applies to fields that need you to upload an attachment. The File Upload also appears only if the configured forms of your schema in Domino REST API include the $FILES field.

  4. Select the file you want to upload. You can select more than one file to upload.

    Notes

    To see the details of the uploading size limit, see HCL Notes and DOMINO file limits in the HCL Domino documentation.

  5. Click Open. If the file is pre-existing, a dialog prompt appears with the option to overwrite it.

  6. Click Add.

    Screenshot

    This adds the data to the Domino database.

Viewing data

  1. On the Dashboard, go to Views and click your preferred document. In the example image, we're selecting AllCustomers Lead.

    Screenshot

  2. On the AllCustomers_Leads page, go to your preferred AllCustomers_Lead and click View to open the AllCustomers_Lead detail.

    Screenshot

  3. Select the Download All Attachments link to download the attachment files.

    Note

    You can download the attachments only if the $FILES field is configured in the form in your schema in the Domino REST API.

Update data

  1. On the Dashboard, go to Views and click your preferred document. In the example image, we're selecting AllCustomers Leads.

    Screenshot

  2. On the AllCustomers_Leads page, select a customer, and then select Edit from the context menu.

    Note

    If the detail view DOESN'T show, check the Database Views in Domino Rest API under schema to confirm that the selected database view is active. Also, confirm whether the columns in the view were added during the import.

    Screenshot

  3. Edit the fields that you want to modify.

    Update form

  4. Click Select Files to upload a file. The File Upload dialog appears.

  5. Select the file you want to upload. You can select more than one file to upload.

  6. Click Open.

  7. Click Save to save your updates.

Delete entry

Note

To delete data, make sure that the Formula for Delete Access is set to @True in both the default and dql modes of your forms during schema configuration in the Domino REST API.

  1. On the Dashboard, go to Views and click your preferred document. In the example image, we're selecting AllCustomers Leads.

    Screenshot

  2. On the AllCustomers_Leads page, select the customer you want to delete, and then choose Delete from the context menu.

    Screenshot

  3. When the confirmation dialog appears, click OK.

    Screenshot

  4. When the notification dialog indicating that the record has been deleted appears, click OK.

    Screenshot

Note

Since the changes to the form are reflected in the Domino Server, they're also visible in the Notes Client.