Salesforce | Skip focus from the input box on VF page

Author - Kiran Preet
|
0 Comments
|

We have a VF page containing apex:inputField which contains date value so it shows calendar whenever we focus on the inputField. The problem is it is the first inputField on the page so whenever we open the page by default, the focus goes on this particular field, therefore, it Read more…

Show Processing image on web page for Synchronous Ajax

Author - Ashish
|
0 Comments
|

Problem: When we fire a Synced ajax call it blocks all the other functionality of that tab of the browser and fires/executes other event or code only after the synced ajax gets back with its response. Also the code fires the ajax call very quickly that’s Read more…

Heroku | RabbitMQ Installation and Setup in Heroku

Author - Kritika Sood
|
0 Comments
|

Following are the steps to install RabbitMQ in Heroku App:

1. Install RabbitMQ (bigwig) on Heroku using find more add-ons like shown in the following screenshot:

2. Search for rabbitmq using search bar as shown in the screenshot below:

3. Click on RabbitMQ Bigwig from the search Read more…

Background Processes using RabbitMQ

Author - Kritika Sood
|
0 Comments
|

Whenever we need to execute a block of code which may take long time to run then instead of executing them in real time we can put this code in the background process as it may timeout if we wait for its completion in real time.

What is RabbitMQ?

RabbitMQ Read more…

AWS | Cloudfront for S3 using same domain name placed behind cloudfront

Author - Navneet Kashyap
|
0 Comments
|

How to set up a CloudFront for S3 bucket containing images for the website, using the same domain name that is already placed behind CloudFront.

1. Open CloudFront from a menu:

2.  Click Create Origin:

3.  Now, click in box and select the s3 bucket URL from this list. Click Read more…

Zoho | How to insert or update Zoho product in Shopify

Author - Webner
|
0 Comments
|

We can insert or update Zoho CRM product in shopify by creating a custom function in zoho. Below is the custom function which can create a product in shopify. We can invoke it when we create or update a product in Zoho:
void getProductData (int Product_id )
{
response_from_shopify=map();
requestHeader=map Read more…

How to add font-awesome progress icon in textbox for autocomplete Jquery-UI plugin

Author - Ishpreet Kaur
|
0 Comments
|

First of all, we should know what features are provided by jquery-ui plugin. To know about details, please see link,

http://jqueryui.com/demos/

Jquery UI plugin can be downloaded from the link

http://jqueryui.com/download/

Now, today, we will discuss about Autocomplete feature of jquery-ui plugin Read more…

HTML | Print preview a specific div only

Author - Ashish
|
0 Comments
|

How to view the print preview of a specific div of the page and take a printout of that specific div only?

1.First, create a full-screen modal on the page:
<div class=”modal fade” id=”myModal”>
<div class=”modal-content”>
<div Read more…

Using concatenate, cases, substring in CakePHP 2

Author - Kailash
|
0 Comments
|

How to use concatenate, cases, substring in CakePHP 2.* find query.

Suppose given records are:

Problem: Display user details in one column and the first character of user role in front of the user full name. Also suppose in case of superadmin role as well we want to display (a Read more…

How to Convert XML to a dynamic object in C#

Author - Neha Mishra
|
0 Comments
|

First of all how to parse a predefined XML structure to a class object in C#

Sample XML:
<User>
     <Name>Joseph Lawrence</Name>
     <Class>Second</Class>
     <Section>B</Section>
     <Roll_number&gt Read more…

Uploading files on Amazon AWS S3 server using PHP

Author - Richa
|
0 Comments
|

Before uploading any document to Amazon AWS S3 server, make sure that user has to write access on the bucket where files will be saved else it will throw ‘Access denied’ error. Apart from the write permissions, access keys are also required in the code which we get while creating Read more…

Steps to Create and Delete Windows TaskScheduler instance in C#

Author - Navdeep Kaur
|
0 Comments
|

Steps to Create and Delete Windows TaskScheduler instance in C# code:

Dependencies: Add reference of the taskschd.dll file. On click of start button following steps need to be executed to create an instance of Scheduler:

1. Create the instance of TaskScheduler:
TaskScheduler.TaskScheduler objScheduler = new Read more…

Salesforce | Apply Workflow on existing records as well

Author - Kiran Preet
|
0 Comments
|

I have created a new workflow with criteria “Evaluate the rule when a record is created, and any time it’s edited to subsequently meet criteria”. It includes all the newly created records which fulfil the criteria. But I want to include all the old records which are already existing Read more…

QuickBooks Integration | Important Quickbooks Webconnector Facts

Author - Webner
|
0 Comments
|

Question: Can we add custom functions in quickbook?

Answer: Yes, In quickbook.php file we need to add Constants to make custom function and we can add as many as we want. After defining these constant we can map these in our web service.

For Example:

Suppose we Read more…

Linux | Warning (Y/N) on shutdown command

Author - Navneet Kashyap
|
0 Comments
|

Sometime unknowingly we execute shutdown or reboot command on production live server. So in order to be on the safe side we can configure the shutdown command to ask us for Y/N like explained below:

Switch to root user and then proceed

1. Add Alias in ~/.bash_profile Read more…

How to Disable CSRF token in Laravel Application

Author - Mamta
|
0 Comments
|

CSRF stands for cross-site request forgery. CSRF token is basically used for security purpose in Laravel forms. To understand how it works read here: https://laravel.com/docs/5.4/csrf

How to disable it if required?

CSRF protection is enabled by default in all routes of Laravel 5 Read more…

Download CSV of table Records using OUTFILE sql command and PHP

Author - Deepika
|
0 Comments
|

Create and Download CSV of table Records using OUTFILE Sql command and PHP

1. Create temporary CSV file using OUTFILE SQL command: OUTFILE command is used to write your sql command output to the specified location. You can write the output to some files using OUTFILE when required Read more…

Chargify Retry and Dunning – How to manage failed transactions

Author - Manju Kashyap

Description: When we use auto debit system to charge our customers using their credit cards, it is possible some transactions get declined. This can happen due to different reasons like user’s credit card has expired or due to authentication failure by bank etc. So, if we face such a Read more…

WordPress | Deployment of code to live website from Github, Bitbucket or Gitlab

Author - Komal
|
0 Comments
|

Suppose we have live websites and we are using bitbucket to save the code of plugins, themes etc of those websites. Then we can manage the deployment to live sites easily through the WP pusher plugin.

WP Pusher plugin is used for the deployment of code to the live websites Read more…

Compare Passwords in HTML5 form validation using Jquery

Author - Ishpreet Kaur

In one of our projects, requirement was to compare two password values using HTML5 form validation (display the message in the same format as regular HTML5 messages are displayed).

Let us assume that we have a HTML5 form for change password screen:
<form action=”Controller/User.php”
<div 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 Next page ›
Send your message