Design Import tutorial
Important
The information in this document is based on Volt MX Go version 2.0.4, Domino REST API version 1.0.14, and Domino server version 14.0.1.
This tutorial will walk you through the Design Import process in Volt MX Go. With the Volt MX Go Iris client, you can import a Domino database .nsf
file, bringing its design elements into Volt MX Go. This feature helps you import the Domino database .nsf
from Domino REST API and make it available on mobile apps and responsive desktop apps.
The tutorial implements two user experiences:
- mobile app
- responsive desktop app
Before you begin
Info
If you are granted access to any of the following roles: Volt MX Go Foundry admin, Domino REST API admin, or the Volt MX Go Iris developer, please follow the specific instructions for each user.
For Volt MX Go Foundry admin
-
You must complete the Volt MX Go installation.
-
You must create a Volt MX Go Foundry admin account to the Volt MX Go Iris developer.
For Domino REST API admin
-
You have completed the Domino REST API installation.
-
You have at least an Editor access to the Domino Keep Configuration database
keepconfig.nsf
to create a scope and Domino REST API application. -
You have set up Domino REST API with a specified Domino database
.nsf
, schema, scopes, and application. -
When you configure the
schema
, set the views to Active status. -
When you configure the
schema
, include the$Files
field in the configured form. This is to capture the uploading and downloading of files in the Design Import. For more information, see step numer 3 in Change form configuration. -
When you configure the
schema
, set the Mode Formula Settings → Formula for Delete Access to@True
indefault
anddql
mode in all the schema forms. For more information, see step number 5 in Change form configuration. -
When you configure the
schema
, add thedefault
anddql
modes and must have a matching fields. For more information, see Cloning modes. -
When you configure
scope
, the scope name must be limited to 30 characters. -
When you configure the
scopes
, set the Maximum Access Level to Designer or Manager ACL role. For more information, see Add a scope in Domino REST API. -
When you configure your Domino REST API app, it's mandatory to add
$SETUP
to Scope field. For more information, see Application Management. -
Provide the Domino REST API URL, Client ID, Client Secret and scope to the Volt MX Go Iris developer from your Domino REST API app.
For Volt MX Go Iris Developer
-
You must install Volt MX Go Iris.
-
You must have a Volt MX Go Foundry admin account.
- You must have at least a Designer role to the Domino database
.nsf
that you are importing and to the Domino Keep Configuration Database (keepconfig.nsf
). - You must have your Domino REST API URL, Client ID, Client Secret and scope which comes from the Domino REST API admin.
Launch Volt MX Go Iris
-
Open Volt MX Go Iris. When the Sign-in dialog opens, close it.
Note
If you have already configured the login settings while performing the other tutorials, enter your email and password for Volt MX Go Foundry on the Sign in to your account page and click Sign In. You don't need to execute the steps below for configuring the login settings and logging in.
-
Configure the login settings.
-
Go to Preferences.
For Windows, select Edit → Preferences.
For Mac, depending on your macOS, select Volt MX Go Iris → Preferences or Settings.
-
On the Volt MX Go Iris Preferences dialog, click Volt MX Go Foundry.
-
On the Volt MX Go Foundry tab, enter your Volt MX Go Foundry URL in the Foundry URL text box, and then click Validate.
-
Click Done.
If the Foundry URL is incorrect, a prompt error will appear.
-
-
Log in to Volt MX Go Iris.
- Click Login on the upper right corner of the Volt MX Go Iris screen.
- Enter your email and password for Volt MX Go Foundry on the Sign in to your account page.
- Click Sign In. Your username appears next to the profile icon.
Create a new project
- On the top menu, select Project → New Project.
-
On the What do you want to start with now? dialog, select Web App and click Next. For other platforms, please see Native App.
-
On the Which device size do you want to start building for first? dialog, select Desktop for Web App and click Next.
-
Enter your Project Name and click Create.
You can now see your project name in the upper-left corner of the Volt MX Go Iris UI.
Import a Domino Application using a new Volt MX Go Foundry app
-
On the top menu, select Project → Import → Domino Application. The VoltMX Design Import Wizard opens.
-
On Getting Started, click Next.
-
On Associate Foundry App step, click Create New.
The default name is the same as your Project Name.
-
On Identity Service.
For New Idenity Service, be sure to have your Domino REST API URL, Scope, Client ID, and Client Secret from the Domino REST API admin.
-
Enter the required details in the Create New Identity Service and click Next.
Fields Description Domino REST API URL This refers to the Domino REST API URL you are working with. You must enter your respective Domino REST API URL. Scope This is the name of your configured scope described in your App of Domino REST API app management. $DATA scope show all the scopes in your App in Domino REST API. Client ID This is the App ID of your Application in Domino REST API app management. Once you configured and added your App, you may see your App ID
and yourApp Secret
.Client Secret This is the App Secret in Domino REST API app management. Once you configured and added your App, you may see your App ID
and yourApp Secret
.Service Name: Any name that identifies the Volt MX Go Foundry Identity Services. -
Select the Identity Service - for example, MXGOISMyApp.
Important
- It's important to get your callback URL in Volt MX Go Foundry and send it to Domino REST API admin. Form more information. see copy callback URL in Volt MX Go Foundry. Be sure that your Domino REST API admin updated the callback URL in your Domino REST API application immediately without closing the wizard.
-
Click Next.
Important
If the wizard is terminated, you may proceed with Import a Domino Application using existing identity service from existing Volt MX Go Foundry app.
-
Login with your Domino credentials within this wizard dialog and click Allow.
-
Select your Foundry App Identity Service name associated to Domino REST API and click Next.
Important
The wizard expects to stop if your login credentials don't have Designer access in Domino REST API on your scope, or if your Domino database ACL doesn't give you a Designer role. For more information, see Troubleshooting.
-
-
On Scope and Forms
Important
In this Volt MX Go 2.0.4 version, actions imported as inactive buttons.
-
Select the scope that you’ve configured in Domino REST API.
Important
The scope name should be no more than 30 characters. If it exceeds this limit, a prompt will appear. In this case, contact your Domino REST API admin to configure your scope. Please take note of the prerequisites required for importing Domino Application.
When a Domino REST API Issues Report prompt appears, check Domino REST API schema issues.
-
Select or deselect the active
forms
,fields
in each form,views
,agents
,actions
and click Next.Note
- The following lists show the forms, views and action you have active and inactive in the Domino REST API. When selecting items, you can only choose those that are active, such as forms, views, agents, and actions. Inactive items on the other hand, only display their disabled form, action, and agent names.
- These actions, which are basically buttons, can be added to your imported app. These actions are often active within the Domino database
.nsf
and can only be modified in the Domino Designer.
-
On the Forms tab, you may select or deselect form, field within forms and actions.
-
On the Views tab, you may select or deselect views and actions.
-
On the Agents tab, you may select or deselect agents.
Follow this link to learn more on showing Domino Agents as part of the Design Import app
-
-
On Summary, review the final
forms
,fields
in each form,views
andagent
, and then click Build Iris Application.Note
It may take a while to complete the publishing of the imported Domino app.
-
On Result, see the final
forms
,views
,actions
,agent
and then click Done.Tip
- The check mark icon beside each of the
forms
,fields
from the forms,views
andagents
means that it was successfully created. -
The warning icon beside each of the
forms
,fields from the forms
,views
andagents
means that the supported property values doesn't match with the Volt MX Go Iris app property values. -
Turn on the Show only error toggle to see all the fields with the error icon.
- When selecting a scope with active Agents, the Agents tab appears. Otherwise, the AppForms tab is displayed.
- The check mark icon beside each of the
Once you click Done, each of the selected forms, views, and agents are imported into Volt MX Go Iris through the use of forms
. The App Events [desktop] appears.
Note
- You can view the final result of the Domino database
.nsf
that you configured in Domino REST API. - You can click the link click here to view logs on a separate window to see the summarized
forms
,views
,agents
and app forms.
Import a Domino Application using existing identity service from existing Volt MX Go Foundry app
- On the top menu, select Project → Import → Domino Application. The VoltMX Design Import Wizard opens.
-
On Getting Started, click Next.
-
On Associate Foundry App step:
-
Click Use Existing.
-
Select Foundry Apps, click Associate and close the form.
-
Click Next.
Info
- If you have an existing Domino Application Project on your UI and you want to import and associate it with another Volt MX Go Foundry app, click the Unlink App.
- There is a prompt to delete the Foundry App, click delete. This unlinks the Volt MX Go Foundry App and returns to selecting Create New or Use Existing
-
-
On Identity Service, select existing identity service.
-
Select the identity service - for example, MXGOISMyApp.
Important
- It's important to get your callback URL in Volt MX Go Foundry and send it to Domino REST API admin. Form more information. see copy callback URL in Volt MX Go Foundry. Be sure that your Domino REST API admin updated the callback URL in your Domino REST API application immediately without closing the wizard. Otherwise, the wizard will close.
-
Click Next.
-
Login with your Domino credentials within this wizard dialog and click Allow.
-
Select your App Identity Service name associated to Domino REST API and click Next.
Important
The wizard expects to stop if your login credentials don't have Designer access in Domino REST API on your scope, or if your Domino database ACL doesn't give you a Designer role. For more information, see Troubleshooting
-
-
On Scope and Forms
Important
In this Volt MX Go 2.0.4 version, actions will be imported as inactive buttons.
-
Select the scope that you’ve configured in Domino REST API.
Important
The scope name should be no more than 30 characters. If it exceeds this limit, a prompt will appear. In this case, contact your Domino REST API admin to configure your scope. Please take note of the prerequisites required for importing Domino Application.
When a Domino REST API Issues Report prompt appears, check Domino REST API schema issues.
-
Select or deselect the active
forms
,views
,agents
andactions
and click Next.Note
- The following lists show the forms, views and action you have active and inactive in the Domino REST API. When selecting items, you can only choose those that are active, such as forms, views, agents, and actions. Inactive items, on the other hand, only display their disabled form, action, and agent names.
- These actions, which are basically buttons, can be added to your imported app. These actions are often configured within the Domino database
.nsf
and can only be modified in the Domino Designer.
-
On the Forms tab, you may select or deselect form, field within forms and actions.
-
On the Views tab, you may select or deselect views and actions.
-
On the Agents tab, you may select or deselect agents.
Follow this link to learn more on showing Domino Agents as part of the Design Import app.
-
-
On Summary, review the final
forms
,views
andagents
you want to import, and then click Build Iris Application.Note
- It may take a while to complete the publishing of the imported Domino app.
-
On Result, see the final
forms
,views
,actions
andagents
, and then click Done.Note
When selecting a scope with active Agents, the Agents tab appears. Otherwise, the AppForms tab is displayed.
Once you click Done, each of the selected forms, views, and agents have imported into the Volt MX Go Iris. The App Events [desktop] appears.
Copy callback URL in Volt MX Go Foundry
- Login to the Volt MX Go Foundry.
- On the Home page, select and click your Volt MX Go Foundry App.
- On the Configure Services tab → Identity tab, select and click your Identity Service name.
-
Find and click copy of Callback URL field.
-
Send the callback URL to Domino REST API admin.
The Domino REST API admin updates the Domino Application callback URL in Domino Application.
Important
You may continue the procedure in step 4.b in the Import a Domino Application using the new Volt MX Go Foundry app. If the wizard was terminated, you may proceed with Import a Domino Application using existing identity service from existing Volt MX Go Foundry app.
CRUD operation upon importing the Domino database .nsf
Published the web app and native app in Volt MX Go Iris
-
Before you can do the CRUD operation in your imported Domino app, you must first build and publish the web and native app in Volt MX Go Iris.
-
If your app is a Web App, see Building a Web App in the HCL Volt MX documentation.
-
If your app is a Native App:
- Configure your mobile app browser.
- After configuring your mobile app browser, see Building a Native App in the HCL Volt MX documentation to view the mobile app.
-
-
Log in to your account in Domino REST API using the newly published imported Domino application. Your configuration in Domino REST API decides what operations you can include in the design import form. All the
views
,agents
,forms
of your Domino database.nsf
have been imported, so you can design your Domino database.nsf
file with CRUD operation. -
The Native App (mobile and tablet) and the Web App (responsive desktop) have the same capability of doing the CRUD operation.
Create entry
-
In the Dashboard, go to the Forms section and click your preferred document. (example: NewCustomers).
-
Fill in the fields.
-
Click Select Files to upload a file. Keep in mind that this step only applies to fields that need you to upload an attachment. The File Upload appears only if the schema included the
$Files
field in the configuration of Domino REST API.-
Select the file you want to upload. You can select more than one file to upload.
Notes
To see the details of uploading size limit, see HCL Notes and DOMINO file limits in the HCL Domino documentation.
-
Click Open. If the file is pre-existing, a dialog prompt appears with the option to overwrite it.
-
-
Click Add. This adds the data to the Domino database
.nsf
file.
Viewing data
-
In the Dashboard, go to the Views section and click your preferred document -for example: AllCustomers_Lead.
-
This will open the AllCustomers_Lead's document page. Go to your preferred AllCustomers_Lead and click View.
-
This will open the AllCustomers_Lead's detail. Select the Download All Attachments link. Files will be downloaded.
Note
- You can download the attachments in your document-for example AllCustomers_Lead's detail. You can download the attachment if the
$File
is configured in your Domino REST API Database Views. - You can also see here the Delete and Edit button.
- You can download the attachments in your document-for example AllCustomers_Lead's detail. You can download the attachment if the
Update data
-
On the Dashboard, go to the Views section, click your preferred document - for example: AllCustomers_Lead.
-
In the Dashboard/AllCustomers_Leads page, search the customer, click the name and select Edit.
Note
If the detail view DOESN'T show, check the Database Views in Domino Rest API under schema, to confirm that the Database View is active and the columns in the view are added during the import.
Note
You may also see the delete button here, which allows you to erase or remove the data you've selected.
-
Edit the fields that you want to modify.
-
Click Select Files to add a new file. The uploaded file will show below the Select Files button. Keep in mind that this step only applies to fields that need you to upload an attachment.
-
Select the file you want to upload. You can select more than one file to upload.
Notes
To see the details of uploading size limit, see HCL Notes and DOMINO file limits.
-
Click Open. If the file is pre-existing, a dialog prompt will appear with the option to overwrite it.
-
-
Click Save.
Delete entry
Note
Before you delete any of the data, you must set Formula for Delete Access to @True
in default and dql mode
during your schema configuration.
-
On the Dashboard, go to the Views section, click your preferred document -for example: AllCustomers_Leads.
-
In the Dashboard/AllCustomers_Leads page, find the row corresponding to the customer and select the Delete option.
There is a confirmation message box to confirm the deletion of data, click OK.
Another pop-up message box appears.
Note
Since changes to the form are reflected in the Domino Server, they're also visible in the Notes Client.