Connection.js is a part of AJAX Toolkit. We can simply include this file in our code as here because of we are writing here for OnClick javascript on custom button:-
Schedule Batch Class To Run Hourly On Every 15th Minutes In Salesforce
You can use the System.schedule method, which takes a cron string to represent the repeating time.
Execute below code to run batch on every 15th minutes of hours.
Continue reading “Schedule Batch Class To Run Hourly On Every 15th Minutes In Salesforce”
Winter 17: Setting Debug Logs For Site Guest User, Set A Browser Cookie To Enable.
Guest site user debug is not showing in debug log, it is related to Winter 17 change. Now need to set a special cookie from their side so that Salesforce will generate logs only when that user accesses the site.
InvocableMethod Annotation In Apex
Best Practices For Large Data Volumes
Winter’17 Communities Enhancements
CHANGES THAT IMPROVE YOUR EXPERIENCE WITH COMMUNITIES.
Explore Salesforce Event Log File To Avoid Concurrent Apex Limit Issues
Continue reading “Explore Salesforce Event Log File To Avoid Concurrent Apex Limit Issues”
Enable More Than 20 Fields For Field History Tracking.
Continue reading “Enable More Than 20 Fields For Field History Tracking.”
VLOOKUP Function In Salesforce
Syntax:
VLOOKUP(field_to_return, field_on_lookup_object, lookup_value)
Create a validation rule and pass parameters, field_to_return, field_on_lookup_object & lookup_value.
Field_to_return : The field that contains the value you want returned
Field_on_lookup_object : The field on the related object that contains the value want to match
Lookup_value : The value want to match.
Continue reading “VLOOKUP Function In Salesforce”
Work Around For TEMPLATE NOT FOUND Issue In Salesforce
TEMPLATE NOT FOUND issue due to non access of field in email Templates. Salesforce is saying that Email Template is using standard controller even for Visualforce templates using without sharing classes. So you can’t send email through template if user don’t have access of fields used in template!
Continue reading “Work Around For TEMPLATE NOT FOUND Issue In Salesforce”