Sunday, 12 July 2015

Salesforce javascript get lookup field id

In JavaScript Button we can get the look up field Id with out using query.




var conid= '{!Opportunity.ContactId__c}';
var con_Name = '{!Opportunity.Contact__c}';

Field definition:

Contact      Contact__c     Lookup(Contact)

3 comments:

  1. Our company is using salesforce for all the CRM solutions and it has never disappointed us in the past 2 years. Pleased by the service and support.
    salesforce training in chennai | salesforce training institute in chennai | salesforce training institutes in chennai | FITA Velachery

    ReplyDelete
  2. Big data is the next big thing in the IT industry and it has created many job opportunities. Analysis of big data helps in making data driven decisions and to increase the profits of the business. Hadoop is the cloud based application which is used to analyse the big data.
    Big data training in Chennai | Hadoop training in Chennai | angularjs training in Chennai

    ReplyDelete
  3. Big data is extremely essential for the big enterprises to reach on a data driven decision. The importance of big data is increasing with every passing day. Hadoop is the best tool for analyzing the big data.
    Hadoop training in chennai | Hadoop training chennai | Big data training in chennai

    ReplyDelete