Map Apex Class to a Power Table

Business Background

Map the result of an Apex Class to a Power Table using Titan Web.

Titan Solution

  • Using Titan Web, you can map the result of an Apex class to a power table.
  • This option will allow to map an output data from a Apex class into a multiple columns in a table format.

How to Video

Coming soon!

How to Guide

  1. Select the expand (+) icon next to the settings icon in Titan Web. A list of elements will show.
  2. Under Table, drag a power table to the canvas. The Salesforce Configuration screen opens.
  3. Select the Your Apex button.
  4. Type the name of your Apex class in the Source in Salesforce field. This class will return a list of results to Titan.
  5. Select the Next button.
Salesforce source option – Your Apex
  1. If required, add the conditions you need.
Condition screen
Condition screen
  1. Select the Add a Condition option and type the name of the input parameter received from the Apex class.
  2. Select Static or Field from the drop-down list.
  • If you select Static, type the GET value.
Condition screen
Condition screen
  • If you select Field, select the field from the drop-down list.
  1. Select the Next button. You must set the mapping.
Condition screen
Condition screen
  1. Type the value of the source in the Value field. This is the value for each table row you are setting up. It is the API name from Salesforce.
  2. Select the Add a Column option.
  3. Map the fields. These are the column names of the table that you are setting up. The fields are case sensitive.
  4. Type the heading name in the last field. This is the column heading you will see in the table.
Mapping screen
Mapping screen

These fields must come from the Apex query.

  1. Save and Preview the page.

You will see the table populated with the data from the Apex class.

  • The data comes from the custom Apex class, with the specified conditions. These can be very complex.
  • It doesn’t have to come from one object.

Hidden Title

Need more help?