Try the below Inline visualforce page code, <apex:page standardController="Quote"> <apex:stylesheet value="{!URLFOR($Resource.sflight, 'assets/styles/salesforce-lightning-design-system.css')}"/> <apex:stylesheet value="{!URLFOR($Resource.sflight, 'assets/styles/salesforce-lightning-design-system.min.css')}"/> <!-- jQuery CDN --> <script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> <!-- Declare SessionId Variable For AJAX Toolkit -->...
Description: If we need to add the related products for the single product we go for a Bundle products feature. The Bundle products have one parent product and related...
We have developed the feature for Exposing Fields based on Radio Button in Salesforce. Try the below code, <apex:page > <script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js”></script> <script type=”text/javascript”> function yesnoCheck() { if (document.getElementById(‘yesCheck’).checked)...
Every Organization sending their technicians to the respective site based on the service what they have to provide. We have developed the feature for Multiple Technician Calendar in Fieldax....
To Cover the Wrapper Class test method in FieldAx, Code – public with sharing class sno_in_table{ public list<wrap> getRecords() { integer sno=1; list<wrap>emps=new list<wrap>(); list<employee__c>emp_records=[select name,phone__c from employee__c];...
We have a sample test class for covering the constructor in salesforce. Kindly see the below code. Controller:- public class MyAccountClass { //Class Constructor public MyAccountClass(ApexPages.StandardController controller) { //Do...
Try the below:- Get Recordtype Id by Name:- Id devRecordTypeId= Schema.SObjectType.Account.getRecordTypeInfosByName().get(‘Development’).getRecordTypeId(); Here, ‘Development’ is the record type’s name. You shuld use ‘someone’. Also, you will have to specify your...
Add Additional fields in the Web to Lead form without regenerating, 1.Generating the HTML code from Web to Lead 2.Incorporate the new HTML into your web site 3.Adding fields via...
How to change picklist value depend on textbox values ? We describe the solution dynamically change picklist value whenever textbox value is edited(without code). You need to create more...
We can show the Apex Page Messages. Apex Class: public class Messages{ public MessagesController(){ ApexPages.addmessage(new ApexPages.message(ApexPages.severity.FATAL,'Enter Account name')); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.ERROR,'This is not valid')); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.WARNING,'It should be correct format'));...
To find whether the record creation Date is Weekday or Weekend it would be simple formula., CASE (MOD ( CreatedDate – DATE (1900, 1, 7), 7), 0, “Weekend”, 6,...
We already have the function deep clone to clone the fields. It has been done via SOQL query(i.e selected fields only cloned). We need a dynamic clone of the...