Asynchronous Apex
Asynchronous Apex in Salesforce allows developers to execute operations in a separate thread, enabling tasks to run in the background without impacting the user experience. This approach is particularly beneficial for handling long-running processes, callouts to external systems, and operations
Salesforce | Using Javascript to set value in parent Visualforce page field
Suppose you have a Visualforce page with a form and you have a link to open a popup. The page loaded in popup needs to set a value back into a textbox in the parent page. Here is how you
SFTP to server using FileZilla without password
We can connect to a remote server via SFTP without password, using PEM file of server. The PEM file is public key certificate file of the server to which we have to connect. We’ll need to have following details in
Salesforce | Field Visibility Issue
If you want to programmatically read values of certain fields, those field must be visible in the layout. To change field visibility follow these steps: 1. Login and click on setup link. 2. Click Security Controls in Administrator menu. 3.
Mysql | How to drop table having dot (.) in the table name in MySQL
We had a table in our database having dot in the table name as below: Table name – kpc.product_categories On trying to delete kpc.product_categories using below command: drop table kpc.product_categories It used to give error that no such table exists.
Eclipse | How to change or recover Secure Storage Password for Eclipse Kepler
When we add Salesforce project to Eclipse sometimes it asks for ‘Secure Storage Password’. You can try to enter your system password. If it doesn’t works you can change or recover ‘Secure Storage Password’. According to office eclipse documentation. The
Salesforce | Overriding Standard button functionality
We needed to extend a default functionality of standard salesforce page and buttons on this page. That is we needed to display some custom buttons and fields on the standard page and perform our own logic for these. The Object
Heroku | How to delete prior database backups
Following are the steps to delete the Postgres database backup: 1. Login into heroku. 2. Click on the database>PG Backups. Here you can see all the PG backups list. 3. . For deleting the database, first of all you have
Eclipse – Java decompiler (jd-eclipse)
If you are working with eclipse IDE, it provides many plugins and one of them is java decompiler. This plugin will decompile all your class files to give you Java source code. JD-Eclipse is a plug-in for the Eclipse platform.
Cakephp | URL routing using prefix before domain name
Routes in an application are configured in app/Config/routes.php. Defining your own routes allows you to define where your application will take the control to for a given URL. Default routing is like this: domain/controller/action Ex. www.xyz.com/user/login Prefix routing will add