Tag: VF

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/

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/

custom label in visualforce page

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/

actionstatus visualforce loading image

Salesforce 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/

Show error message in Visualforce Page

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/