Tag Archive: VF

Oct 24

get current record id salesforce

get current record id salesforce

get current record id salesforce apexpages.currentpage().getparameters().get(‘id’) can be used to get current record id or other url parameters in apex code. Many times we have requirement to get current record id or url parameters of visualforce page in apex code. Many times we require the current record id in controller. For example we are redirecting from one visualforce …

Continue reading »

 

Permanent link to this article: http://www.sfdcpoint.com/salesforce/get-current-record-id-salesforce/

Jun 20

actionstatus visualforce disable screen

actionstatus visualforce disable screen

actionstatus visualforce disable screen actionStatus visualforce component displays the status of an AJAX update request. An AJAX request can either be in progress or complete. Depending upon the AJAX request status (whether AJAX request is in progress or complete), this component will display different message to user. In many scenarios AJAX request takes some time. …

Continue reading »

 

Permanent link to this article: http://www.sfdcpoint.com/salesforce/actionstatus-visualforce-disable-screen/

Jun 18

custom label in visualforce page

New Custom Label

custom label in visualforce page salesforce We can use $Label global variable to access custom label in visualforce page. Custom labels are custom text values that can be accessed from Apex classes or Visualforce pages. The values can be translated into any language Salesforce supports. Custom labels enable developers to create multilingual applications by automatically …

Continue reading »

 

Permanent link to this article: http://www.sfdcpoint.com/salesforce/custom-label-in-visualforce-page/

Mar 31

actionstatus visualforce loading image

actionstatus visualforce loading image actionStatus visualforce component displays the status of an AJAX update request. An AJAX request can either be in progress or complete. Depending upon the AJAX request status (whether AJAX request is in progress or complete), this component will display different message to user. In many scenarios AJAX request takes some time. …

Continue reading »

 

Permanent link to this article: http://www.sfdcpoint.com/salesforce/actionstatus-visualforce-loading-image/

Feb 04

Show error message in Visualforce Page

Error Message

Show error message in Visualforce Page using ApexPages.addmessage Sometime we need to show error message on Visualforce page. We can implement this requirement by creating new instance of ApexPages.message and then adding message to Apexpages using ApexPages.addmessage. Then displaying these messages in visualforce page. We can add 5 different types of message in Visualforce Page. …

Continue reading »

 

Permanent link to this article: http://www.sfdcpoint.com/salesforce/show-error-message-visualforce-page/