FlexCard

How to Call Apex Class In FlexCard

In this post we see how to call Apex Class in Flexcard and Show Account on preview tab.

Step :--1

Creating Apex Class for query account data.

create global apex class  and implements omnistudio.VlocityOpenInterface for calling in flexcard. 

 

Step :-- 2

Creating a new FlexCard. In DATA SOURCE > Data Source Type –  Apex Remote.

Remote Class – Here we pass Apex Class Name.

Remote Method –  Here we pass Apex Mathed  Name. 

Step :--3

Drag data table  in canvas .

On Preview Tab Data Is showing in a Table.  

FlexCard
On Preview Tab
Scroll to Top