In Moodle a course can have multiple sections and each section can have multiple activities in it. Moodle provides access restrictions feature in course in which we can impose some restrictions to section or activity based on date, completion, group ,score etc. If a user does not satisfy the required Read more…
Scenario : We have the situation where we want to create a backup of all the contacts in Salesforce on daily basis to AWS S3. We are using PHP code to create files according to the desired criteria and upload them to AWS S3. A crucial step is to Read more…
Every developer/designer should be aware of some developer tools and extensions available in the chrome browser.
Accessing the DevTools :
Select the Read more…
What is Webkit?
There are two ways to edit the question content in Captivate question pool :
1. First way is by enabling custom workspace settings. You can enable workspace settings with these steps :
a.) Click on Edit>Preferences on top menu bar like this :
b.) After clicking preferences menu item following window Read more…
How to send an error message from trigger back to the layout and display it on the record detail page. You need to use addError method for this.
For example :
errorMsg=’Some of the catalog courses are not available in LMS.<br/>Please sync them to LMS first Read more…
Tabindex: The tabindex is used to define the sequence for the cursor to move from field to field in an HTML form, to have a control over this flow of the cursor. By default, tab takes the user to the next field created on the page Read more…
Server Side Scripting is – when the user’s request is served by the script on the server to provide customized or dynamic data. Server-side processing on DataTables is that when all the DataTable functions like searching, ordering, pagination etc. are controlled by Server Side. This is used when we Read more…
It is already discussed “What is AutoComplete feature of jQueryUI” in one of my previous blogs. Please refer to following link for description of jQueryUI Autocomplete:
How to add font-awesome progress icon in textbox for autocomplete Jquery-UI plugin
Here, in this blog, I will Read more…
Error: “SEC7111: HTTPS security is compromised by (null)” error in IE11
I recently encountered an issue that a web page does not work in IE11 and throws exception “SEC7111: HTTPS security is compromised by (null)”.
By analyzing the page script, I found that IE threw the exception from Read more…
Use of Branches:
You can create different branches of your working tree with different names. For example if you don’t want to make changes on your working tree (clone repository on your system) you can create a new branch and make changes in it, add new files Read more…
Problem: FPDF which is a php class to generate pdf does not render many HTML tags like <style>,<img>. So it generates an unformatted pdf from HTML content.
Solution: TCPDF solves the problem of not rendering of HTML tags. It is a Read more…
In Linux bash you may face an error while using wildcard * to search files. For e.g. trying to search all jar files with the following command:
find. -name *.jar
will give following error:
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path…] [expression]
Reason is that * is Read more…
AJAX Response Race Condition
I am working on a j2ee project in which a lot of UI screens are AJAX based. Recently we started facing problems on some screens, which were not updating correctly. On one of the screens we have a lot of options with Read more…
Data loader is a desktop application and is used to import or export data in Salesforce. After import/export operation it gives back the detailed success and error log files in CSV format. It supports export of records up to 5 million. Data loader Read more…
Microsoft Outlook Rules
Rules are very helpful in setting the behavior of MS outlook. Rules can be used for many different purposes.
For example :
you can automatically send a reply to all the emails which you receive.
you can Read more…
Creating Custom Email Rest API Apex class in Salesforce using SingleEmailMessage class and C# example code to consume the Api
My web application was integrated with Salesforce and I had a requirement to use Salesforce as Email Client, but with a Rest API approach to send Read more…
GrapesJS is an open-source, Web Builder Framework to build HTML templates without any knowledge of coding.
Some tips for customizing GrapesJS Editor:
1. To add custom blocks in block manager.
Add this code to block manager json with other Read more…
By mistake if you have only 1 userid and you change that also to API only, then you cannot login to Salesforce. In this case how to convert Salesforce “API only” User to “Normal” User using Data Loader?
Salesforce API Only User is the user which can be Read more…
Below are some CSS best practices that every developer and designer should follow to write better code.
Reset user agent stylesheet or default styling of the browser :
There are default CSS properties in website pages that come from “user agent” stylesheet. Every browser has its own Read more…