• #22094
    Salesforce | sandeep sandeep #481
    Forcetalks

    What is enqueue action and app hostile in Salesforce?

    What is enqueue action in Salesforce?

    What is app hostile in Salesforce?

     

    #23310
    Salesforce | Ajay Prakash Ajay Prakash #230
    Forcetalks

    Hi Sandeep,

    I am considering you are asking to enqueue in reference to the lightning component. Whenever you want to call a server side method from a javascript controller you need to create an action. enqueue action is the keyword that binds server-side action with the Aura framework.

    Thanks.

    #41404
    Forcetalks

    Hello,

    If we need to call more than one server side controller then we need to write a second controller inside the First setCallBack method , the third controller inside the second Controller and so on .
    Like this way we can achieve the right output always . This is the correct way to call $A.enqueueAction() .

    Thanks.

    #54977
     William #5
    Forcetalks

    Enqueue action refers to the server-side controller activity to the line of activities to be executed. All activities that are enqueued will keep running toward the finish of the event loop. As opposed to sending a different demand for every individual action, the system forms the occasion chain and groups the activities in the line into one demand. The activities are asynchronous and have callbacks.

    App hostile is the situation that occurs when the callbacks in the enqueue loop are hindered due to a faulty code or asynchronous instruction.

Viewing 4 posts - 1 through 4 (of 4 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?