Lambda Expression in Java 8

Author - Neha Mishra

A lambda expression is a new feature that has been added to Java 8.
It is a function declared inside a method to which we can pass arguments as well as fetch lambda expressions in the form of return value of a function.

This feature is a way to Read more…

WordPress | Dynamically generating ADF XML format of the form submission

Author - Komal


ADF XML format stands for Auto-lead Data Format XML that is an automotive retailing industry standard data delivery format for import and export of automotive customer leads.

This format is used as a way to format the customer data so that the heterogeneous systems Read more…

Salesforce | SOQL OFFSET clause is not supported in this organization

Author - Webner

In Salesforce, we can limit the records returned by the soql query using LIMIT and OFFSET clauses. In our case where we tried to fetch salesforce Product records by using “Salesforce Rest API” using the following query:
$query = “Select unitprice,,,product2.description,product2.ProductCode from pricebookentry Read more…

PHP | core.php and some important settings

Author - Manju Kashyap

In CakePHP application, core.php is configuration file and is located at app/Config/core.php. This file contains various variable definitions and constant definitions that alter the behavior of the application. The description of some important variables and their effect on the application is given below:

Debug:Read more…

Moodle | This page should automatically redirect

Author - Shalini

In my plugin code I was trying to redirect from one page to another page using redirect as follows:
Redirecting to the other page was working but during redirection an intermediate page was being displayed like this:

On click of continue button, it was redirecting Read more…

HTML Media Capture

Author - Shalini

How to access Camera and upload the image/video to server?

We can achieve above requirements easily by using HTML Media Capture :
<form action=”upload.php” method=”post” enctype=”multipart/form-data”>

Capture Image: <input type=”file” name=”uploadedfile” accept=”image/*” capture=”camera”>

<input type Read more…

Captivate | Show instant feedback on selecting an an option in quiz question

Author - Neelam

In Adobe Captivate on a question slide if we want some feedback to be displayed instantly when user clicks radio button to select an option, it will not work. There is no option out of the box to achieve this. But it can be achieved with Javascript.

On entering a Read more…

Java | super keyword in Java

Author - Webner

Should super() be the first method call in constructors, if yes why? What can go wrong if this were not the case? Explain with example.

super() is a keyword in java which is used to refer to immediate parent class object. We can use super keyword to call parent class Read more…

Moodle | How to create a scheduled task in moodle

Author - Kritika Sood

In moodle we can create scheduled tasks which will run after a defined interval. We also have cron jobs in moodle but they usually run after every minute so if we need to run a task after a particular time we need to create a scheduled task for this.

An Read more…

Adobe Captivate | Mathematical Symbols and Expressions

Author - Webner

How to add exponents in Adobe Captivate 9

In one of our Adobe Captivate projects, we had a requirement to add mathematical exponents. Here is what we wanted to achieve:

Writing “x raised to the power of 2” (exponents)

Look at the following image:

In the above image options A Read more…

Adobe Captivate | How to add quiz questions into question pool

Author - Webner

Adobe Captivate is a tool which helps in creating attractive E-learning content such as courses and quizzes. One of the most useful feature that Adobe captivate provides to its user is question pool. Quiz questions can be added to question pools and these question pools can be used to Read more…

CSS/jQuery- Fading out text inside a div and moving the effect as the text scrolls down

Author - Richa

Requirement:- Sometimes we come across the requirement to fade out the text displayed on a webpage horizontally and want the DIV containing text scrollable.

For Example:

The requirement usually comes when there is a large amount of text on the webpage and you want to let the user know that Read more…

CakePHP 3.x or 2.x | Some important configuration settings

Author - Rita

Some important settings that can help you while working with CakePHP 3 or 2.

1. How to set Homepage for your website in CakePHP 3?

Go to the root directory of your project. You will see config folder there. Inside Config
folder, open routes.php file. Add below the line Read more…

Java | Check if JSON field has a value before extracting

Author - Webner

We are using Json to retrieve value of a field from Json object but when field has no value it gives an error. For example from Blackboard LMS we can retrieve value of email field from JSON object with this code:

And if Read more…

AssignTo method in apex (Salesforce)

Author - Kiran Preet

AssignTo method is a getter method in Salesforce. It is used to assign the value of an attribute to a class variable in the associated custom component controller. Getter and Setter methods or a property with get and set values must be defined, if this attribute is to be used Read more…

iCal attachment introduction

Author - Kailash

What is iCal attachment

iCal attachment isn event that we put into the email so that when the receiver will click the it, an event will be added to his calendar. It looks like this in email:

Example of iCal attachment format for IPL Match on Friday 09 Read more…

Selenium | Select item from listbox having dynamic id of options

Author - Webner

In Selenium script if we want to select a value in a dropdown but value of attribute ‘id’ of the options in the dropdown keep on changing every time then we need to find the option based on some other locator instead of ‘id’. In sample code below option is Read more…

Salesforce | Get list of Salesforce sobjects and fields in PHP

Author - Webner

Problem: How to get list of all the Salesforce sobjects in php. Also get fields of each sobject.

Solution: First we need to install Salesforce php toolkit for this. Once you have it then this is the sample code:
require_once(SFDCPHPtoolkit / soapclient / SforcePartnerClient.php ‘);
$mySforceConnection = new Read more…

phpMyAdmin | Different methods to View Table Constraints

Author - Ishpreet Kaur

How to view List of constraints of tables of Database in phpMyAdmin

There are various ways by which we can view the list of constraints applied to tables of given database in PhpMyadmin. Let’s see few methods here:

Suppose we have a database named CollegeDb Read more…

Explanation of Column3 in Moodle/Totara

Author - Kajal Marwaha

Column 3 layout in Moodle is basically dividing the screen into 3 parts .

user setting options Layout (pre )
content layout (region)
editing layout (post)

user setting options Layout (pre): In column3 layout pre region is the first column. This column is at  the left of the content. This Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 Next page ›
Send your message