Etag Header in API Response

Author - Manju Kashyap

What is ETag header and how it works?

ETag stands for entity tag. Etag Header is a response header element which provides a mechanism to cache the unchanged resources. Whenever we make an API call, we can use this header value to track if Read more…

Dynamically applying specific Layout to a record on VF page in Salesforce

Author - Umang Pasricha

Dynamically applying specific Layout to a record on VF page in Salesforce

You may need a specific layout to show in a tab for a particular record (like account settings). For this, we can fetch ‘Metadata’ field from Field Definition with SOQL using Tooling API. In Read more…

Install Microsoft Powershell in Ubuntu

Author - Navneet Kashyap
|
0 Comments
|

How to install Powershell in Ubuntu:

PowerShell is Microsoft proprietary and it is a task automation and configuration management framework from Microsoft consisting of a command-line (shell) and associated scripting language but Microsoft provides ways to use this in linux environment also.

Installation via Read more…

How to Detect Mobile devices in php

Author - Gopi Garg

Detect mobile device php code

We often need to detect if site visitor is using an iPad, a smartphone or any other mobile device in order to change website appearance and even make it faster by reducing data load. Normally we use the media queries and Read more…

Responsive DevExtreme Grid Toolbar

Author - Varun Chopra

Introduction – Responsive DevExtreme Grid Toolbar

DevExtreme is a powerful web development framework with a vast array of data presenting and formatting capabilities. It is developed by DevExpress to make responsive and platform independent application. DevExtreme makes the web development swift and easy with its rich features Read more…

Totara | How to enroll audience to Course or Program

Author - Varun Chopra

Enrolling audience to Course or Program in Totara

Problem: I want to enroll audience in course/program and I do not know that how we can enroll audience in course/program. To enroll an audience in course/program, I have followed the below steps Read more…

Salesforce SOAP and Bulk API Integration in PHP

Author - Ashish Gautam

Implementing Salesforce SOAP and Bulk API Integration in PHP

Salesforce SOAP API:
Salesforce SOAP API is a coding method to use our Org’s information with the help of inbuilt functions and SOQL query. With the help of these function, we can access or Read more…

Creating custom plugins in wordpress

Author - Mamta Sharma

How to Create a custom plugins in wordpress

What is a WordPress plugin:
A plugin in WordPress is a small software app that can be added to a WordPress site to extend its functionality and to add new features to it without changing its Read more…

Adding multiple filters to the query dynamically in Laravel

Author - Komal Dhiman
|
0 Comments
|

Laravel: Adding multiple filters to the query dynamically

There may be some situations when the user has the facility to apply some filters on a set of objects. For Example – when we visit the e-commerce sites, there are certain filters like price range, brand, sort Read more…

Fetching resolution of screens using Selenium code

Author - Varun Chopra
|
0 Comments
|

How to fetch resolution of screens using Selenium code

For Gui testing aspects java.awt.Dimension and java.awt. Toolkit packages are used to get the screen resolutions whereas the Dimension object stores the result. Inbuilt methods of Dimension class are used to get different aspects Read more…

Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*

Author - Kailash Kumar

How to resolve “Class ‘App\Controller\Aws\S3\S3Client’ not found” error in CakePHP 3.*

Problem: Class ‘App\Controller\Aws\S3\S3Client’ not found error occurs when we are trying to create S3Client class object with given code (code copied from github):

$s3 = new Read more…

Find broken links using Selenium Webdriver

Author - Manpreet Singh
|
0 Comments
|

Find broken links using Selenium Webdriver

A broken link or dead link occurs when a user tries to reach a website page that couldn’t be found on the server. A standard “404 Not Found error” message displayed on the screen.

There are a number Read more…

How to create Bootstrap dropdowns in Bootstrap v4

Author - Varun Chopra

Creating Bootstrap dropdowns in Bootstrap v4

Dropdowns are used to display lists of links, names etc. Bootstrap dropdowns can be toggled by clicking on it.

1.Create a file with .html extension.
2.Include bootstrap css and js version 4 CDN link in Read more…

Using Laravel Eloquent ORM

Author - Umang Pasricha

Introduction to Laravel Eloquent ORM

Introduction:

Eloquent ORM is an Object Relational Mapper that interacts with the database. It is a package separate from laravel so can be used outside the laravel too. It implements active record pattern. Laravel Eloquent ORM uses Object-Oriented Read more…

Sort query result according to search conditions in CakePHP 2.

Author - Kailash Kumar
|
0 Comments
|

How to sort query result according to various search conditions in fetch query of CakePHP 2.

Problem: Priority based sorting of records

Example: Search a string (“Proposalways StudySection”) and display records in following order:

Contain all words (“Proposalways StudySection”) in Read more…

Using Breadcrumbs in Laravel

Author - Mahesh Kumar
|
0 Comments
|

How to add Breadcrumbs to your Website in Laravel

Breadcrumbs are links used to track and navigate in the website. Generally every page is considered as a link and is arranged in hierarchical order at the top of the website.

We can use breadcrumbs to track Read more…

Handle data from .msg file parsed by IndependentSoft’s msg.net package

Author - Varun Chopra

Handle data from .msg file parsed by IndependentSoft’s msg.net package

IndepentSoft’s MSG.NET package is used for parsing of outlook .msg files for reading the contents of file and which can be used to display contents on screen or in our custom viewer Read more…

iCal format for different frequency of events

Author - Webner
|
0 Comments
|

Format for various type of event occurrence in iCal

Description: Calendar events can be of multiple types like which can occur on daily basis, weekly, monthly or on custom days of the same month. So, followings are the ways how we can use these types of Read more…

Salesforce – How to do it right

Author - Varun Chopra

Salesforce – How to do it right

Moving on from managing your customer relationships in a worksheet and deciding to do that in a CRM system like Salesforce is a big step forward. If you have already taken that step and you are a Salesforce customer, congratulations Read more…

Document Your API with “Doxygen Tool”

Author - Varun Chopra
|
0 Comments
|

Problem: Document Your API with “Doxygen Tool” | SOAP web services using spring jax-ws package (ubuntu 14.04)

Solution: Documenting any API is prerequisite if we are exposing our api web services to the third party to make them easily understandable to the outside world. Documenting Read more…