2014 archive

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/

Permanent link to this article: http://www.sfdcpoint.com/salesforce/migration-using-ant-in-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 19

custom label in apex code salesforce

custom label in apex code salesforce example We can use System.Label.labelName to access custom label in apex code. 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 presenting …

Continue reading »

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

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/

Jun 18

Trigger on Attachment in Salesforce

developer console3

Trigger on Attachment in Salesforce Many times I have seen question from others that how can we write trigger on attachment in salesforce. For the Attachment, ContentDocument and Note standard objects, we can’t create a trigger in the Salesforce user interface. For these objects, we can create a trigger using development tools, such as the …

Continue reading »

Permanent link to this article: http://www.sfdcpoint.com/salesforce/trigger-on-attachment-in-salesforce/

May 04

SOSL Example in Salesforce

SOSL-Example-in-Salesforce

SOSL Example in Salesforce SOSL – Salesforce Object Search Language SOSL is a search language in salesforce and the important feature is that Unlike SOQL, we can search in multiple objects at same time using SOSL. In SOQL, we can query only one object at a time but in SOSL, We can search for some …

Continue reading »

Permanent link to this article: http://www.sfdcpoint.com/salesforce/sosl-example-in-salesforce/

Apr 19

SOQL query in javascript example

SOQL in javascript example

SOQL query in javascript example You can use SOQL in java-script on your VF pages or any kind of java-script that you write, like we can get it executed on click of a button or link present on your detail page of a record. Below is the simple example and you can use it and …

Continue reading »

Permanent link to this article: http://www.sfdcpoint.com/salesforce/soql-query-in-javascript-example/

Apr 12

Custom Visualforce Component example

Custom Visualforce Component example

Custom Visualforce Component example Custom visualforce components are very useful. In our projects, many times we develop codes which are required again and again. So instead of repeating same code again and again, we can create visualforce component. Then we can use visualforce component in every place where we need that particular piece of code. …

Continue reading »

Permanent link to this article: http://www.sfdcpoint.com/salesforce/custom-visualforce-component-example/

Mar 31

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/