0

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 having 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.

1

CreateEroll is presumably the name of a method in the Apex controller for this component.

If you're new to writing Aura, consider completing modules like Aura Component Basics on Trailhead, which will help you acclimate to the idioms of Aura, including the use of server-side controllers.

1
  • Yup looks like there is a class that has same method! – Simple Code May 6 at 23:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.