Authortrupti.dhoka

jQuery PostMessage (Cross-Domain Messaging)

j

From long back sending messages between windows was only possible if the windows used the same protocol, port, and host. The postMessage() method helps to solve this issue by providing a way to securely pass messages across domains. In this blog post I’m going to explain how to use the postMessage() method to communicate between a controller window and a receiver window running different domains...

How to add Chatter Feed for a record in visualforce pages

H

Chatter feeds show you recent activities performed by people and on records in your Salesforceorganization. Salesforce Touch lets you view your Chatter feed, group feeds, profile feeds, and record feeds. You must follow people and records to see their updates in your Chatter feeds. Chatter feeds display on profiles, groups, the Home tab, topic detail pages, and on record detail pages. Typically...

Avoid recursion of Trigger

A

Recursive trigger is frequently arising issue in Salesforce triggers. Recursion in trigger means a trigger calling itself again and again. Recursion in trigger occurs when we’ve added some DML statements in trigger and same DML condition is used for trigger firing. A recursive trigger is one that is called over and over, if not controlled will result in this error… maximum trigger depth...

How to Create Tab Panel in Salesforce

H

This blog will provide you information about creation of tabpanel in salesforce. TabPanel is a page area that displays as a set of tabs. When a user clicks a tab header, the tab’s associated  content displays, hiding the content of other tabs. Steps 1. Create a new visualforce page (Setup → Build → Develop → Pages) 2. Write the below code inside page. In below code I’m showing related...

How to add Activity History while sending emails in Salesforce

H

Hi Friends, many of you know the Salesforce SingleEmailMessage method,In fact you have used it in your apex code. But when we send mail through this method by default it doesn’t add mail into related list of recipient’s activity history. If you are stuck with this type of issue, then below I’m providing the solution for this. setSaveAsActivity(true); Add this method into your code which...

Show/Hide fields as Picklist value changes using Deluge script in Zoho

S

Sometimes we need to show/hide  certain fields as picklist value changes for example  there is field called ‘Reason’ and we want to hide this field as picklist ‘Product type’ changes to ‘Research’. We can achieve this by configuring fields action in deluge script. steps Go to the field on which you want to add action ,in above example ‘Product type’. Field Deluge Name is the name of the field...

How to Create a subform in Zoho

H

A subform is a form that is inserted into another form. In a one-to-many relationship, each parent record associates itself with multiple children. Using Subforms, users can display the parent and child records in one place without having to switch between forms. Zoho have field type ‘subform’ which you can insert blank form /existing form in the main form. To add the subform in the main form...

Converting Normal to Stateless Form in Zoho

C

Regular Form By default, when a Form is created, Zoho Creator will have a table generated at the back-end to store data submitted through the Form. These Forms are called Regular/Normal Forms. For example, when you create a  Form ‘Order Details’, a table named  ‘Order Details’ is created and  all data submitted through the form will be stored in this table. The ‘Order Details’ will display the...

How To create Stateless form In Zoho Creator

H

When you create a new form to your application, there is one check-box option “Data will be stored in creator“, De-selecting this option will create the Form as a Stateless Form with custome buttons that does not generate a table at the back-end as Normal form.  you can add custom buttons and write your own logic on  “on click” event of the form. Creating a Stateless Form...

Category