Home > Blog > Archive by category "Developer"

Hello All, Lets discuss about the custom apex code to handle some more complex pricing scenarios using Pricing Call Back class. What is Pricing Call Back class: This is an Apex class provided by Apttus itself to define our own custom logic to handle the scenarios which are not possible by Apttus OOB configurable features. It executes when: When we land on the Cart. When we make any change in Price or Quantity or any kind of adjustment in cart...

Continue Reading

Overview                – Blog holds the explanation of how to use apex schedulers. Problem                  – It is usually the requirement that we need some automated process that can automatically keep running at one particular time every day or after few days gap into your SalesForce org. Solution                  – The possible solution is that, we can use Apex Schedulers.   What is Scheduled Apex? Currently in the universe of SalesForce, if you want to align your set of codes and you want...

Continue Reading

During Lead Conversion Mapping, we need to map different data type fields with the same data type fields. Using some apex code customization, we can achieve this easily. Here I am going to explain how we can dynamically populate fields of sObject can. syntax-                    SobjectVariable.put(fieldApi,value);                                       Account acnt = new Account();                                      acnt.put(‘Name’, New Account);...

Continue Reading

A wrapper class is a data structure which contains objects and collection of objects and its data member. Wrapper class has different type of data or property as per requirement. Important use case of wrapper class is to show table of data with checkbox and then process only the records that are selected. Examples: Wrapper class, controller and visual force page. Test class of Wrapper class. Select contacts from contacts list and then send mail to selected contacts emails. Figure-1...

Continue Reading

Hi All, Today we will discuss how to implement Voice Recognition on input text box. So I am writing this post to implement this feature on visualforce pages to get it better. So to understand this you need to have a knowledge on Javascript and Apex VF pages. Below is the code to implement this feature on VF page . Click inside box to speak… (function() { ‘use strict’; if (! (‘webkitSpeechRecognition’ in window) ) return; var talkMsg = ‘Speak...

Continue Reading

Salesforce Wave Analytics, also called Analytics Cloud, is a business intelligence (BI) platform from Salesforce.com that is optimized for mobile access and data  visualization. The Wave mobile app allows users to work with large data files and create graphs, charts and other pictorial representations of data from them. According to Salesforce, the platform allows users to drill down into key parts of the business with only a few clicks and little or no training in data analysis. Let’s try to understand the...

Continue Reading

Hey guys, today we will have a discussion on How to Pass value of variables from visualforce to controller via javascript. So, have you ever stuck in a situation when you want to pass value of variables from your visualforce page to your controller ? Sounds tricky !! Well this can be easily achieved via javascript. So to understand this easily , I have explained this in below defined steps. I will explain it with an example. Here, apex action function...

Continue Reading

Overview – Blog holds the explanation of using getContent() method to get report data. Problem – I came across the requirement of sending the report data to a user in an email having the report data in both HTML body of an email and as CSV attachment to an email. Using ApexPages.PageReference, either proper HTML body was not received or CSV attached could not get data in UTF-8 (Rich Text Format). Solution – The possible solution is that while adding email...

Continue Reading

Hi friends, This blog is written with Winter ’18 release, where time field still in Beta, So I am going to explain here about Time data type in Salesforce. Currently, We have the ability to create Time/Date fields, Or just Date fields, but not Time fields. A Time field would be handy for – special event management – time tracking – Project Management. Date: Existing Date (data type) allow users to enter a date or pick a date from calendar dialog...

Continue Reading

Custom Search on text box is an important feature to be added in many projects. Most of the developers requirement is to create custom search and searching perform when keyup. So, today we are going to learn how to create an autocomplete field using input tag. So, lets get started! We’ll start with an example . I will show you how to create a custom search for Contact in your Org. We will perform this with Jquery. 1. First ,...

Continue Reading
Enquire Now
X

lets get over a cup of coffee and discuss!