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
Ubuntu | How to avoid typing full ssh command to connect to remote server
If you are using ssh (Secure shell ) to connect to remote server, typing long ssh commands in the terminal is unsecure and tedious job. Following is the better and secure way to do this : Just create a file
Linux | Configure Tomcat service in linux
Running Tomcat as a service in Linux: For security reasons you should not run Tomcat as root service. It is better to create a new user and run Tomcat under it. Create a file with the script: $ sudo vi
Salesforce | Show red asterisk symbol in place of red vertical bar
Problem : How to show red asterisk symbol in place of red vertical bar for all required inputFields in Visualforce page? Solution : Sometimes we have some mandatory fields in our form, for this we can simply use required=”true” attribute
Eclipse | SVN still showing already ignored folders during commit
We had a maven project connected to svn repository. There were some folders or file types that we never want to commit such as target folder, bin folder or .class extension files. We had ignored target folder in Eclipse settings
Tarjetasvirtuales.com | Sending a Card
In one of our previous posts, we gave a brief introduction to Tarjetasvirtuales. In this post, we will explain how a greeting card is sent using Tarjetasvirtuales. After registering yourself in Tarjetasvirtuales, select the category of greeting card you want
Moodle/Totara | HTML Editor doesn’t show up on summary area
If HTML editor does not show up on summary area verify whether the editor has been enabled using the admin login to Moodle / Totara. This can be verified by checking the following points (in no particular order): 1. Is
Salesforce | Attach PDF from Visualforce page as an email attachment
Problem: How to attach PDF from a Visualforce page in email using apex class or trigger? Description: We had a Visualforce page name ‘templateCOI’ which was rendered as a PDF. We wanted to use this page as an attachment in the automated
How to insert file names in a text file from command prompt
For Windows user: 1. Open folder that contains files in console 2. type dir /b > D:test.txt (it will copy the result in test.txt file) For Linux user: 1. Open folder that contains files in console 2. type ls > /home/user/test.txt (it will copy
Moodle Themes | Totara Themes | Hierarchical Structure
In one of our Totara theme projects, we wanted to display the categories->subcategories->courses structure dynamically up to any level. In Totara a category can have subcategories, each subcategory can have its own set of subcategories and so on up to