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

  • How can we print a list returned by salesforce Remote Action in PageBlockTable?

  • sushant

    Member
    January 25, 2017 at 10:21 am

    Hi All,

    How can we print a list returned by Remote Action in PageBlockTable on VisualForce Page?

    Thanks

  • 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

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos