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
Pass the Data to Custom Validation attribute in MVC C#
How to Pass the Data to Custom Validation attribute in MVC C#? Introduction .Net provides the capability of validating model data with validation attributes like Required, Compare, Regular Expression, and user-defined custom attributes (also known as data annotations C#). MVC
TF30063 Issue – Authorization
TF30063 Issue: You are not authorized to access (Tfs Server link) I suddenly started getting the error while committing the code to TFS in Visual studio, after the password of the Microsoft account was changed. As per the scheduled password
Custom Javascript in Moodle/Totara, Javascript & AMD Modules
How can we add custom Javascript in Moodle/Totara, Javascript & AMD modules? A Javascript module is a collection of Javascript code. It enhances the reusability of this code. As a result, it is called/used from alternative javascript files. These modules
Laravel: Issues in Thumbnails in Email Attachments
Laravel: Issues in thumbnail along with images while attaching multiple attachments to the mail While sending an email to someone using a laravel Mailable class, we may need to attach some attachments to it. Then we can simply use the
Partial View in ASP.NET MVC
The partial view is a special view used to render a portion of view content. It is a reusable view. It reduces code duplication. We can say that a partial view enables us to render a view within the parent
How to parse an XML file and save the parsed data into the corresponding objects?
Solution: First of all, we need some dummy XML data for parsing as given below: The above XML has many tags. The first one being the XML tag which lets us know that it is an XML document. Moving on
Validation vs. Application Rules In CakePHP
CakePHP uses a two-layered approach to validation: 1. Validation It determines basic validity. It ensures that the data types, size, and format of data are correct. When we call newEntity() or patchEntity() methods, validations are triggered. For example, checking if
PHP: mysqli_multi_query stops the execution of further MySQL queries.
The mysqli_query statement Generally, we use mysqli_query to execute Mysql queries in PHP. We can use multiple mysqli_query statements to execute multiple operations like insert, update, and select. Sometimes, we store records in more than one table during save operation
Laravel 5.4 Logs And Errors
Introduction to Laravel 5.4 Logfiles: A log file is a file that keeps a registry or records of events, processes, messages that occur in the operating system or any software runs. -Laravel provides the robust logging services that allow the