APEX SALESFORCE Salesforce.com

Add Functionality in Salesforce Custom button executing javascript

How to Execute the Javascript Functionality in Salesforce Custom Button: {!REQUIRESCRIPT(‘/soap/ajax/28.0/connection.js’)} var opportunityRecord= {!GETRECORDIDS($ObjectType.OpportunityLineItem)}; if (opportunityRecord[0] == null) { alert(“Please select at least one product to traffic.”) } else { var oppLineItemsIds = “”; //fetch opportunity Line items Ids for(var…

Read More