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 Guide

  1. Click the icon to open the list of elements.
  2. Under Table, drag a power table to the canvas. The Salesforce Configuration screen opens.
  3. Click 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. Click the Next button.
Salesforce source option – Your Apex
  1. If necessary, click the Add a Condition option and type the name of the input parameter received from the Apex class.
    Condition screen
    Condition screen
    1. 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. Click 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
    Note:

    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?

    Titan logo
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.