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

Sublime Text Editor Vs Eclipse IDE for salesforce development

If you are a salesforce developer then probably you have start force.com development with eclipse IDE , i am like you all i also start force.com development with eclipse IDE and one of the reason was that i was familiar with it, i used eclipse for java development but as i move ahead in development i came to knew about that we can configure our sublime text editor to use it for force.com development, InContinue Reading

How to call JavaScript from Apex Class

In today post we will see how to call JavaScript method from apex class, if you remember in some of my earlier post we have seen how to call the apex class method and refer apex class variable through JavaScript, In earlier post we also discussed how to pass the visualforce variables values to the apex class methods via JavaScript and jQuery Remoting but today we will see completely different thing, i came across aContinue Reading

Date Picker limitation problem in visualforce page(Salesforce) [Solved]

If you have been in force.com and salesforce development then probably you might encountered a problem where you have face a challenge that you could not able to pick the date beyond certain limit , today developing a visualforce page i could not able to pick a date from the date field beyond a certain limit example(2 years back) that is something not that much flexible for the people who want to select his orContinue Reading