How to get recordtype name and ID without 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

How to get values of visualforce components using jQuery

n this post we are going to talk about how we get or retrieve the values of the visualforce component using jQuery, if you remember we did something similar in our previous post where we retrieve the value of visualforce components using javaScript but this time it is going to little different from the earlier post. We need to include jQuery script in our visualforce page so please copy the below code and paste thatContinue Reading