(7)-d-3. Call ApexClass

【Apex Controller unset】


【Apex Controller already set】

 When there is no enable Apex Class method 


When there is no enable Apex Class methods selected on Apex controller, please check those two points below. 

① Is @AuraEnabled annotation declared in the method ? 

② Is the methods declared as "static" ? 

    @AuraEnabled
    public static String getXXXXX(){
        return XXXX;
    }
}


 When the methods are available 


Property 

Description

[Open Apex Controller settings]

Click to set up for Apex Controller 

Please refer to< (3)-d. Apex Controller > for more details. 

Apex Controller set 

Apex Controller name Apex Controller name selected on Apex Controller will display. 
[Show codes]Click to display source codes of Apex Class that is selected on Apex Controller 
ApexClass method list List of available Apex Class methods will display. 

Substitute Return value for Custom Attribute 

Check to select custom attribute from the picklist 

Custom Attribute PicklilstAlready created custom attribute is able to be selected from the picklist 
[Open Custom Attribute Settings]

Click to set up for custom attribute 

Please refer to < (3)-c. Custom Attribute > for more details.