Category: Zoho
Using UNION syntax in CakePHP 2.4.6
Following UNION syntax works properly in CakePHP 2.4.6 version but it doesn’t work in CakePHP 2.5.2 version: $unionQuery = $dbo->buildStatement ( array( ‘fields’ => array( required fields), ‘table’ => $dbo->fullTableName(database_table_name), ‘alias’ => ‘customObject1’, ‘limit’ => null, ‘offset’ => null, ‘joins’
Salesforce | How to call apex method using Javascript
We can call apex method from javascript using JavaScript remoting. Javascript remoting has three main parts : 1. Invoke remote method written in javascript method on Visualforce page. 2. Remote apex method contains an annotation @RemoteAction. 3. The response handler
jQuery line control HTML editor | Post data to server
In jQuery line-control editor, values written inside writing space (div) do not get posted to the server by default. This is because although we create textarea while coding, at run time a DIV is created in which user writes. Editor.editor
Salesforce | The inner and outer selects should not be on the same object type on recordtype object
Problem: SOQL does not support using the same object name in the Subquery which is in use in outer Select. For Example: We wanted to get the name of the object values (Record type object) using the SOQL having two
Heroku | An introduction to Procfile and its use
Introduction: We can make our Heroku app run different type of processes by creating a Procfile in the app. There is a specific structure and syntax that we need to follow while creating a Procfile. Following are the main points
LESS Introduction | Dynamic CSS styling
LESS is an open source CSS pre-processor designed by Alexis Sellier in 2009. It is not exactly CSS but acts like one with the help of Javascript libraries that interpret the stylesheet and make it readable for browsers. The very
Salesforce | Email workflow created on custom object throwing error while fetching the Related Contact Id
In one of our Salesforce projects we are working on, we had a custom object with an email trigger that was supposed to send email to the Related Contact. When we clicked the email button to trigger the email sending
Salesforce | Show Email sent from Salesforce in activity history
Problem : How to show Email sent from Salesforce in activity history of an object Solution : Here are the steps : 1. Set WhatId 2. Make SaveAsActivity true Code Sample: Messaging.SingleEmailMessage emailTobeSent = new Messaging.SingleEmailMessage(); List ToAddress = new
Cookie messages on websites and cookie law
Why some sites show cookies message (like this site uses cookies, do you accept?) – is it required, if yes then which body recommends it? Many websites use cookie messages to store information which is required by them for fulfilling