How to get recordtype name and ID with SOQL query

In salesforce you are writing an apex class or trigger and you want that your logic to be work only for particular record type then you put IF condition in your code and in that IF condition you will check that this logic should works only for the particular recordtype, right ? We can achieve that in multiple ways, we can fire a SOQL query and can fetch the recordtype name but SOQL query will countContinue Reading

Cross object reference field in salesforce using trigger

Cross object reference means to refer the value from a field from the parent object to child object, this can be easily be done using a formula field but sometime we may face some scenario where we have to lookup the value from the parent object to child object using the trigger, there could be any scenario as today i have face an issue where i was not allow to create more cross reference fieldsContinue Reading

Blob : primitive data type in Salesforce

Primitive data types in salesforce are the basic data type which can’t be broken further into lower data types. In salesforce we have blob,Integer, Double, Long, Date, Datetime,Time,Decimal,String, ID,Boolean and object, we will discuss all these primitive data types in details with example and scenario where they can be use in salesforce, so Let start discussing these data types in details, A blob is data type which collection of binary data, now if i willContinue Reading

How to pass value of variables from visualforce to controller via javascript

Have you ever stuck at situation where you actually want to send or pass the values from visualforce to controller via javascript,well it sound little tricky but it easy to pass the value to the controller via javascript so in this tutorial we will see how to achieve this i will divide this tutorial in several section so we can easily understand how to pass or send value from visualforce to controller using javascript,so letsContinue Reading

How to use Eclipse IDE to do coding in salesforce

In my last post i talked about cloud computing and how cloud computing is nowadays used for CRM purpose and we also talked about salesforce is the most use cloud computing technology for CRM purposes and also shown you how to create developer account on the salesforce ,In today post we will see how to use eclipse IDE for writing code like apex,visualforce and classes(Extension) for salesforce , so lets how to use it .Continue Reading