01 Getting Started

Learn how to update a record in Salesforce using a push action from Titan Web.

We will start with a project that has a form and some input fields in the form. There is also a button in the form.For this tutorial, the user will add an account number and update the account name and billing city.

Project example screenshot

02 Create a Push

1. Click the Gear icon to open the Project Settings and click the Salesforce option. The Salesforce Integration screen opens.

Screenshot of the project settings gear icon with the salefsorce tab highlighted

2. Select the Push option and click the Create New button. The Map Salesforce fields screen opens on Object Settings.

Screenshot of the salesforce integration screen with the push tab option displaying

03 The Object Settings Tab

 1. Use the Object in Salesforce drop-down list to find the object, for instance, Account.

2. Add a description in the Description field. This is optional but greatly helps when you have a big Web project with multiple Push and Get integration.

3. Use the drop-down to select an action. The options are as follows:

  • Create: Select this option to create a new record.

  • Update: Search for an existing record and update it.

    • You have the option to create a record if no match is found.

  • Find: Search for an existing record. You can return values from that record to various elements in Titan.

    • You have the option to create a record if no match is found.

  • Delete: Delete the records that match the criteria.

In this example, we select the Update action.

Screenshot of Map salesforce fields object settings options displaying

04 The Conditions Tab

1. Click on the Condition option on the left of the Map Salesforce fields screen.

2. Use the drop-down lists and select the following:

  • Account Number Equals Field Account Number.

Screenshot of map salesforce fields screen with condition tab options displaying

05 The Mapping Tab

1. Click on the Mapping option. Here we will map the two fields on the form to the corresponding fields in Salesforce. You can use the Filter option, especially when you have multiple fields on your Web project. You can filter Pages, Mapped Fields, or Unmapped Fields.

2. Use the Element drop-down lists to map the elements to the Salesforce fields.

Screenshot of Map salesforce fields with mapping options displaying

06 My Push Integrations

1. Click the Apply button. The Push integration is added to the Salesforce Integration screen. 


Screenshot of Salesforce integration displaying my push integrations

Click the Close button.

07 Adding a Push to an Element

1. Click the button element and click the On Click Action icon. The On Click Action screen opens.

A screenshot of a button element menu

2. Hover over the Start icon with your mouse and click the + icon to open the Add Node screen.

Screenshot On Click Action screen with the add node icon

3. Select the Salesforce Action option and click the Next button.

Screenshot of the add node screen with Salesforce Action highlighted

4. Use the Process push or get drop-down list and select the Push you created.

5. Click the Next button.

Screenshot of the add node salesforce action screen with the chosen action listed

6. Add a tag if necessary and click the Insert button. The Salesforce action is added to the On Click Action screen.

Screenshot of the add a tag to the add node salesforce action screen

7. Click the Apply button.

On click action screen with the added node displayed

08 Previewing the Project

In this example, there is an account in Salesforce with the account name “Test New Account,” account number “123456-7,” and a billing city “Birmingham.” This must be updated.

Screenshot of Salesforce data

1. Click Save and Preview the project. 

2. We add the account number and update the information as follows:

Screenshot showing how the information autopopulates

When the button is clicked, the Push update runs and updates the record in Salesforce. Refreshing the page in Salesforce shows the updated information.

Screenshot of updates salesforce information

09 Viewing the Updated Record ID

1. Navigate back to your Web project.

2. Click the Gear icon and click the Salesforce option. The Salesforce Integration screen opens.

3. Click the Integrations option. You will see the updated account with its record ID.


screenshot showing the updated record ID

Additional Resources