function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Answer plzAnswer plz 

Can't find component

I am new at a company and they are using a Js. code in one of their custom components. There is a button it calls upon an action. this action then creates an object called "Action" this action is then using the following code:
 
var Action = component.get("c.CreateEroll");
the problem I am facing is that I have no idea what CreateEroll is it's not one of the components in the .cmp file. Is this part of Aura's components? How can I find this? I need to know what is inside that component to see what values it holds and what it does
Suraj Tripathi 47Suraj Tripathi 47
Hi,
CreateEroll is the method of the apex class that is mentioned in your controller on .CMP page.
For ex:- <aura:component controller="ApexOnOpportunity"  ,access="global"> .
Go to the apex class on your controller where you will find the CreateEroll method.

Please mark it as Best Answer if it helps you.

Thanks & Regards
Suraj Tripathi