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