Redirect to Visualforce page from Custom Button using OnClick Javascript
You have to write javascipt code to redirect to VF page standard custom button. Should use window.location function to redirect to VF page. Example: {!REQUIRESCRIPT('/soap/ajax/26.0/connection.js')} var accReq = "{!Account.Name}"; if(accReq != '') { window.location="/apex/VisualforceName?id={!Account.Id}"; } else { alert('Name is mandatory'); window.location.reload(); }
Override standard tab to hide recent item and unwanted section
You can customize the standard tab to display specific list view and hide unwanted section. You can’t customize the standard tab page using point and click. Need to use Visualforce page to accomplish this functionality. You can use apex:enhancedlist to customize
How to skip salesforce lookup filter?
How to Avoid Performing a Salesforce Lookup Filter Uses a Picklist? There are many scenario user don’t want to fire lookup filter like while running some apex job or generating billing related record. How to skip lookup filter? Create a checkbox field on
Not able to Change email Deliverability in Sandbox org
Learn How Do I Change Email Deliverability Option In Salesforce? We got many request in success community saying not able to change the “Deliverability” option in sandbox org. By default you will have “System email only” after the sandbox refresh. If you
Calculate the End date of the Month from Start Date
How to Calculate End Date of Month From Start Date in Salesforce? You need to create a formula field with Date Field Type and use Below formula field DATE( YEAR(Start_date__c), MONTH(Start_date__c), CASE( MONTH(Start_date__c), 1, 31, 2, IF( MOD( YEAR(Start_date__c), 4) = 0,
How to Track Salesforce HTML Emails?
How To Track/Enable HTML Email Tracking For Salesforce Users? Need to enable “Email Tracking (checkbox)” under Activity Settings Go to Setup | Build | Customize | Activities | Activity Settings | Enable Email Tracking (checkbox) HTML emails are sent as HTML File Refer salesforce
Converting Lookups to Master-Detail Relationships
Requirements of Converting Lookups to Master-Detail Relationships There are many reasons as to why you may want to convert a Lookup to a Master-Detail Relationship. You may need to roll-up data, simplify security settings, or maybe you had initially meant to
How to find list of custom object prefix decoder in your org?
Learn How to Find List of Custom Object Prefix Decoder in Your org Please run below script in your developer console Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe(); for(String str : gd.keySet()) { Schema.SObjectType obj = gd.get(str); Schema.DescribeSObjectResult objResult
How to create a custom field on Task and Event?
You can’t create a custom field directly under Task Fields to Event Fields. You have to create custom field under “Activity Custom Fields” so that same will be available for Task and Event. Setup -> Customize -> Activities -> Activity Custom
View and Edit Converted Lead
How to View & Edit Converted Lead on The User Profile in Salesforce Spring 17 release has ability to view and edit the converted lead. How to get access to view and edit the converted lead? Need to enable "View and Edit Converted