Activity Forums Salesforce® Discussions How can we test list size from the Salesforce visualforce page?

  • Tanu

    Member
    September 6, 2016 at 6:27 am

    Hello Mohit,

    On visualforce page we can check conditions by:

    {!IF(condition,InTrueCondition,IfConditionIsFalse)}

    For example :

    First you have to make a controller to pass this list

    <apex:pageBlockTable ... rendered="{!IF(listInstance.size>0,'true','false')">

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos