• WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service Lightning
        • Field Service for SMEs
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Data Science
      • BI Solutions
      • AI/ML solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG
    • WHO WE ARE
    • WHAT WE DO
      • Salesforce
        • Implementations
          • Sales Cloud
          • Service Cloud
          • CPQ
          • Field Service Lightning
          • Field Service for SMEs
        • Developments
          • Salesforce Customization
          • Custom Application Development
          • AppExchange Product Development
        • Migrations
          • Classic to Lightning Migration
          • Other Systems to Salesforce Migration
        • Integrations
      • Data Science
        • BI Solutions
        • AI/ML solutions
        • Agentic AI
    • HOW WE DO
      • Delivery Model
      • Our Works
    • REACH US
      • Contact Us
      • Careers
    • BLOG
  • [email protected]
  • (+91) 44-49521562
Merfantz - Salesforce Solutions for SMEs
Merfantz - Salesforce Solutions for SMEs
  • WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service Lightning
        • Field Service for SMEs
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Data Science
      • BI Solutions
      • AI/ML solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG

Use of rendered, renderAs and reRerender in Salesforce

  • August 1, 2017
  • Merfantz Editor
  • Salesforce Developments Tutorial
  • 0

We explained rendered, reRender and renderAs attribute in the visualforce page. This article is effective to you can use visual force page.

Rendered : –

This attribute uses in all visual force components. It will return output depend on boolean value. The default value is true.

The below code to check active account, show result if only the condition becomes true.

Code –

<apex:outputLabel rendered=”{!if(AND(Account.AccountNumber!=”,Account.Active__c==’Yes’),true,false)}”>{!aa.Name}</apex:outputLabel>

RenderAs : –

This attribute useful to display visual force page as PDF view.

For example, customer needs to display invoice preview, job preview as pdf template on each record. In that situation, you can use the below code.

Code –

<apex:page standardController=”Account” renderAs=”pdf”>

reRender : –

This attribute is used to refresh visual-force page components in the visual force page. Which is a wonderful concept in real time? Partially refresh action done by this attribute. So no need to reload full page. The below example shows to refresh part of the component whenever a specified event occurs. More than one component to refreshed, they are separated by commas [example -tbl,cn].

Code –

<apex:inputText value=”{!txtval}”>

<apex:actionSupport event=”onclick” action=”{!selval}” reRender=”tbl,cn“/>

</apex:inputText>

<apex:pageBlock title=”Student Records”>

<apex:pageBlockTable id=”tbl” value=”{!selList}” var=”aa”>

<apex:column value=”{!aa.id}”/>

<apex:column value=”{!aa.name}”/>

<apex:column value=”{!aa.Marks__c}”/>

</apex:pageBlockTable>

</apex:pageBlock>

<apex:outputLabel id=”cn“>Congratulations</apex:outputLabel>

We are the ISV Partners and Please reach us for custom development => www.merfantz.com

————————- We hope this will help you —————————

Author Bio

Merfantz Editor
+ Recent Posts
  • August 4, 2023
    How to Setup CRM Analytics for Financial Services Cloud
  • August 2, 2023
    How to Get Started with Salesforce Hyperforce - Merfantz
  • July 28, 2023
    Health Cloud Mastery: Salesforce Trailhead for Effective Healthcare CRM
  • July 26, 2023
    How to integrate Data cloud and Marketing cloud In Salesforce
Tags: Field Service ManagementFieldax
  • Previous How to View Button in Salesforce1
  • Next How to Change Pagination View Dynamically Using Visualforce Page in Salesforce

Leave a Reply

You must be logged in to post a comment.

Merfantz Technologies is a leading Salesforce consulting firm dedicated to helping small and medium enterprises transform their operations and achieve their goals through the use of the Salesforce platform. Contact us today to learn more about our services and how we can help your business thrive.

Discover More

Terms and Conditions
Privacy Policy
Cancellation & Refund Policy

Contact Info

  • No 96, 2nd Floor, Greeta Tech Park, VSI Industrial Estate, Perungudi, Chennai 600 096, Tamil Nadu, INDIA
  • (+91) 44-49521562
  • [email protected]
  • 9:30 IST - 18:30 IST

Latest Posts

Comprehensive Overview of Salesforce Agent-Force Platform
Comprehensive Overview of Salesforce Agent-Force Platform June 12, 2025
Salesforce GraphQL Revolutionizing Data Queries in CRM
Salesforce GraphQL: Revolutionizing Data Queries in CRM June 6, 2025
Unlocking the Power of Dynamic Forms in Salesforce Lightning App Builder
Unlocking the Power of Dynamic Forms in Salesforce Lightning App Builder May 29, 2025

Copyright @2023 Merfantz Technologies, All rights reserved