01 Getting Started

In this tutorial, we will overview different functionalities in Titan Web. We will look at SmartV and add some elements to the canvas, like a heading, input elements, a form, and a modal. We will look at an On Click Actions, add conditions and do a quick overview of what Salesforce integrations look like.

You open the project Settings by clicking the Gear icon on the left of the canvas.

Screenshot of the project settings icon located in the Titan project page



02 Add SmartV

The login method for this project is SmartV, which uses a record in Salesforce to give a user access to the webpage. This is a brief explanation, as SmartV will be described in full in another lesson.

Under User Access, the toggle switch is used to enable the SmartV option. Then we clicked the Gear icon. The Configure SmartV screen opens.

Screenshot of Project Settings in the Titan project view
 
The drop-down list is used to select the object from Salesforce, for instance, Contact. This is the object in Salesforce with which you want to authenticate a user.

Screenshot of the configure SmartV Login screen

We added the ContactID and Email as unique identifiers. On this and subsequent screens, we clicked the Next button until the Configure SmartV screen closes.

03 Add a title to a project

The + icon on the left of the canvas opens the list with elements, also called the palette.

Screenshot of the + icon in the Titan project view

 Under Text, the Heading element was dragged and dropped to the canvas.

Screenshot showing how you can drag-and-drop an element onto the canvas

We clicked the Gear icon to configure the text. The Text Settings screen opened.

Screenshot of the text element Gear icon located in the menu

 
We added the text in the field.

Screenshot of the text settings menu content tab

04 Add a form element

Forms help to structure and align elements as they provide a framework.

We did the following to add a form element to the project.

1. Click the + icon on the left of the canvas.
2. Under Form, drag-and-drop the form element to the canvas.

screenshot showing how to drag-and-drop form element onto the canvas

3. Change the following if you do not want to use the default values:
  • Number of columns: the default is 2.
  • Number of rows: the default is 3.
  • Row spacing: the default is 10 pixels.
Screenshot of the insert form window

4. Click the Apply button. The form is added to the canvas.
5. Click the + icon on the left of the canvas and add any elements to the form, for instance, buttons, text, or input elements.

Screenshot showing elements added to the form 

In our example, the form and the heading are placed on strips. A strip is the basic canvas element where all other elements are placed.

 Screenshot showing the canvas divided into strips

05 Adding a New Case

The Add Case modal has already been configured. You can see the modal in this project by doing the following:

On the Layer List, click the Eye icon to show the Add Case modal.

Screenshot showing the Layer List Eye icon    

The modal opens with all the elements that were added, for instance, different input fields, a file upload element, and a Submit button.

Screenshot showing add case modal example

06 Add a Modal

To add a modal, we did as follows:

1. Click the + icon on the left of the canvas. 2. Under Containers, scroll down and drag-and-drop the modal to the canvas.

  Screenshot showing how to drag-and-drop a modal onto the canvas  

2. Add any elements to the form, for instance, buttons, text, or input elements.

Screenshot showing elements added to the modal  

Let’s return to the example modal. We configured an On Click Action on the Submit button.

07 Configure On Click Action

Screenshot of the on click action window displaying the configuration
You can see the On Click Action on the Submit button as follows:

Click the Submit button and click the On Click Action icon (1). You can also click the Gear icon (2) to open the Button Settings screen, and, under Interactivity, click the Configure On Click Action button. The On Click Action screen opens. When the Submit button is clicked, all the actions that are shown here will happen.

  Screenshot of the button menu displaying the On Click Action icon and Gear icon 
An action is added by hovering with your mouse over the Start node and clicking the + icon. The Add Node screen opens.

 Screenshot of the on click action window showing the Start + icon

08 View the Salesforce Action

In this example, we added a Salesforce action.

1. Double-click the Salesforce action. The configured actions are shown.

Screenshot of the on click action window displaying the salesforce action configuration  
2. Use the Process push or get drop-down list to select any of the previously configured Salesforce integrations.

 Screenshot showing the Edit Node screen with the Integration Action dropdown highlighted  

3. Click on the Salesforce Integration button. You will see Get integrations …


Screenshot fo the Salesforce Integration window showing the Get Records tab  

…and Push integrations.


Screenshot of the Salesforce Integration window showing the push tab  

In this example, we created new case and new file integrations.

1. Click the Create New button. The Map Salesforce fields screen opens.
2. Under Object Settings, use the drop-down list to select the Salesforce object, for instance, Case.
3. Use the Action drop-down list to select the Create option.

Screenshot of the Map Salesforce fields screen displaying the object settings tab  

4. Click the Mapping option. The Salesforce Fields are shown on the left. These come from your CRM. On the right side are the elements from the Titan project.


Screenshot of the Map Salesforce Fields window showing the Mapping tab  

5. Use the Search field to search for an object.

6. Use the drop-down list to map the Company object to the input element called “Company” in the project.
7. Click the Cancel button to close the screen. To save some time, let’s open the existing integration.

 Screenshot of Map Salesforce Fields window showing Mapping tab with the Company field displayed

8. Click the Edit button to open the Case integration.

Screenshot of the Salesforce Integration window showing the configured push actions  

9. Under mapping, use the Filter to show only the Mapped fields.

Screenshot of the Map Salesforce Fields window showing the Mapping tab  

You will see the following mapped fields to input elements on the project:

  • The ContactID is mapped to the SmartV ID of the user.
  • The AccountID is mapped to a variable we created.
  • Case Type is mapped to Case Type/Value.
  • Case Origin is mapped to Other, and “Web” was added in the field. 
The following were also mapped: Subject, Description, Engineering Req Number, and Product. After the Salesforce Action, we reset the state (1) of the Add Case modal to make sure that all the fields are empty. Then we hide the modal (2), show a message (3), and refresh the power table (4).

Screenshot of the On Click Action window

09 View the My Details page

Now we will look at the My Details page.

To open the page, click the arrow next to Home to open the list and select the page.

 Screenshot showing the home page dropdown menu expanded with the My Details page highlighted  

On this page, there is a stepper element that we added from the element list under Containers.

 Screenshot displaying the stepper element located in the containers tab

We also added form elements and other input fields to each step.

Screenshot showing elements added to the stepper element

10 View conditions

Let’s see how the condition for the Business Information step is configured on the checkbox element.

1. Select the checkbox element and click the Gear icon to open the Checkbox Settings screen.

 Screenshot of the Checkbox element menu with the Gear icon highlighted  

2. Under Conditions, click the Configure Conditions button to see the existing conditions.

 Screenshot of the Checkbox Settings menu

The condition (1) states that if “this is a company account” is BOOLEAN TRUE, then the element will be shown (2); otherwise, it will be hidden (3).

Screenshot of the Set Conditions window

 If Affected Element (2) is double-clicked, you will see that the stop Business Information in the stepper will be shown when the statement “this is a company account” is TRUE.

Screenshot of the Edit Node window showing the Affected Elements configuration

11 Submitting the details

When the stepper is completed, the details will be submitted. This is how we did it:

1. Select the Stepper’s Gear icon to open the Stepper Settings screen.
2. Under Interactivity, scroll down and click the Configure On Finish Action button. The On Finish Action screen opens.

 Screenshot showing the stepper element with the stepper settings menu  

We created a Salesforce Action that will update contact details. Then, a message is shown, and the user is redirected to the homepage.

Screenshot of the On Finish Action window  

The Salesforce Push actions are on this screen:

Screenshot of the Salesforce Integrationwidnow showing the Push tab  

The Contact object is updated and the mapped fields are as follows.

Screenshot of the Map Salesforce fields window showing the Mapping tab  

12 Page actions

Let’s have a quick look at page actions. On the different steps of the stepper element, some fields can be pre-populated.

On the My Details page, we opened the Pages drop-down list and clicked the Kebab icon.

On the subsequent screen, we clicked the Configure Actions button. The Configure Actions screen opens. This screen is used to configure page load actions.

Screenshot showing the Pages dropdown expanded with the kebab menu displayed  

We are looking at the actions that must happen every time a page is loaded.

Screenshot of the configure actions window showing the Page load actions - every time tab  

We configured a Salesforce Get action. This will populate the fields on the stepper with the information from Salesforce. When double-clicking on the Salesforce Action, we see the following:

Screenshot of the Edit Node screen displaying the Integration Action selected  

Let’s view what this action looks like by clicking the Salesforce Integration button. On the Salesforce Integration screen, we clicked on the #1 Contact integration’s Edit icon. This opens the Map Salesforce fields screen.

Screenshot of the Salesforce Integrations window showing the Get Records tab  

The Contact object in Salesforce was mapped and we gave it a clear description so that we can know exactly which integration to use, for instance, in a condition. A good description also makes maintenance easier.

Screenshot of Map Salesforce fields window showing the Object Settings tab  

Under the Conditions option, the condition was configured as follows:
  • Contact ID Equals Field ID (The ID is the SmartV login ID.)
 Screenshot of Map Salesforce Fields window showing the Conditions tab

The following element to Salesforce field mapping was done. For the Company information, we mapped to the account ID and used the Set reference Gear icon to map to the Name.

Screenshot of Map Salesforce Fiue4lds window displaying Mapping tab  

Every time the page loads, these fields will be updated with the mapped information

13 Conclusion

This was a quick overview of some of the functionalities available on Titan Web. We looked at the following: SmartV access, basic conditions, the action flow, basic elements, and Salesforce Get and Push.

14 Got Feedback?

Additional Resources