Activity Forums Salesforce® Discussions How can we print a list returned by salesforce Remote Action in PageBlockTable?

  • Vikas Kumar

    Member
    February 17, 2017 at 6:04 am

    Hi sushant,

    Here is the sample example for your requirement

    function getRecordListJS() {
    Visualforce.remoting.Manager.invokeAction(
    '{!$RemoteAction.AccountRemoter.getRecordList}',
    recordName,
    function(lstresult, event){
    for (var n=0; n<lstresult.length; n++){
    var result = lstresult[n];
    },{escape: true});
    }

    Hope it may helps

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

Video in

Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…