Activity Forums Salesforce® Discussions How to access map on visualforce page?

  • shariq

    Member
    August 14, 2017 at 1:50 pm

    Hi Saloni,

    You can try this:-

    <apex:pageBlockTable var="customAccount" value="{!mapIntVsAcc}" id="pageId">

    <apex:column ><h1>
    Account Name
    </h1> <apex:inputfield value="{!mapIntVsAcc[customAccount].Name}" /></apex:column>

    </apex:pageBlockTable>

     

    customAccount will give you the key of map.

    Hope this helps.

     

  • Shaharyar

    Member
    August 15, 2017 at 7:26 pm

    Visiting the following link may help you to understand...
    developer.salesforce.com/forums/?id=906F0000000971EIAQ

    • This reply was modified 7 years, 2 months ago by  Shaharyar.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos