What is Opportunity Contact Role In Salesforce and how to fetch contact details from opportunity contact roles

Salesforce is cloud based platform where we configure the salesforce according to our business flow, so before jumping to Opportunity contact role, let consider a scenario where your team is working on the opportunity and your team want to discuss something about opportunity with client, now there can be so many person in company, so to whom should your team talk and who take what decision on the opportunity, as there are so many peopleContinue Reading

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

Sorting,pagination and Searching on data Table using jQuery-Salesforce

In default Salesforce list view we can view all the records and it also include the standard functionality of sorting and pagination but what if we need to create a custom list view with extra functionality added to it like button or something else then if you remember I told in one of my post that to create sort able Page block table but it’s still lack the functionality of pagination and searching so ifContinue 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

How to get values of visualforce components in javascript by id in Salesforce

In visualforce page you can embed and can also write your own javaScript code as we do in HTML pages but to access the values of the visualforce tags is little tricky in salesforce because when visualforce convert to simpler HTML page then salesforce append some code to the ID so it become little tricky to refer those ID in javaScript, let see different method with example code but before moving to the tutorial IContinue Reading