Blog

Refer and Earn

Posted on Dec 15, 2015 by Pradip Shukla in Technology with 0 comments .

                                                                              Boost your business     Everything you need, all in one place Comprehensive and easy to customize Sales Cloud delivers information to you in real time. With Sales Cloud, you can grow your accounts faster. Close more deals No matter the size of your company, all sales reps share one common goal — the desire to be a top performer. We can help with that Contact Managemen

Insert / Update in SQL Server from Salesforce with Pentaho Data Integration

Posted on Oct 15, 2015 by Pradip Shukla in Technology with 0 comments .

To start working on Pentaho Data Integration,you must have to download the package from sourceforge  from below URL- http://sourceforge.net/projects/pentaho/files/Data%20Integration/5.3/ Its file size is around 604 MB(approx.),when download gets complete then extract the same in your local directory and the Run “Spoon.bat” file from there(or you can create a short cut on your Desktop). After the successful run your window will looks like Now Double click on “Transformations” (y

Using the with sharing or without sharing Keywords

Posted on Oct 12, 2015 by Pradip Shukla in Technology with 0 comments .

Use the with sharing or without sharing keywords on a class to specify whether or not to enforce sharing rules. The with sharing keyword allows you to specify that the sharing rules for the current user be taken into account for a class. You have to explicitly set this keyword for the class because Apex code runs in system context. In system context, Apex code has access to all objects and fields— object permissions, field-level security, sharing rules aren’t applied for the current user. Th

How to earn Reputation Point on Ask Question in community in Salesforce?

Posted on Oct 07, 2015 by Prabhat Gangwar in Technology with 0 comments .

Requirement: When any community user  ask any question then increase  Reputation Point  of that Community User how ? Solution: Using Helper Class Code :  Trigger : trigger IncreasePointsOfCommunityUserAskQues on Question (after insert) {   IncreasePointsOfCommunityUserHelper.IncreasePointsOfCommunityUserExecute(trigger.new ,trigger.isafter ,trigger.isinsert);   } Helper Class: public class IncreasePointsOfCommunityUserHelper{     public static void IncreasePointsOfCommu

Set Approval Process Locks and Unlocks with Apex Code

Posted on Oct 04, 2015 by Pradip Shukla in Technology with 0 comments .

New lock() and unlock() methods in the System.Approval namespace let you lock records by passing in record IDs or sObjects. Previously, you could set approval-process locks and unlocks only through the Salesforce user interface. To enable this feature, from Setup, enter Process Automation Settings in the Quick Find box, then click Process Automation Settings. Then, select Enable record locking and unlocking in Apex. Salesforce admins can edit locked records. Depending on your approval pro

Different types of Triggers in Sql Server

Posted on Dec 21, 2014 by Harish Kashyap in Technology with 0 comments .

  A trigger is a special kind of stored procedure that fires automatically when we perform a operation on a table.there are 2 types of triggers. After triggers(also called for triggers) Instead of triggers 1 .After Triggers We can classified it into After insert After delete After update   First Create a table tbl_triggerdemo CREATE TABLE [dbo].[tbl_triggerdemo](       [id] [int] IDENTITY(1,1) NOT NULL,       [name] [varchar](50) COLLATE Latin1_General

Creating a shell script for printing "HelloWorld" in linux

Posted on Dec 19, 2014 by Harish Kashyap in Technology with 1 comments .

In linux You can use any editor like nano editor and vim editor for writing shell scripts. In our example we are using nano editor using command-> nano shellscriptname and write this in the editor #!/bin/bash # My first shell script echo "HelloWorld!" then press key ctrl + X to save  to run this script you can use bash or sh when using bash command is -> bash shellscriptname when using sh command is -> sh shellscriptname

Triggers,Workflow and Order of Execution in Salesforce

Posted on Dec 13, 2014 by Pradip Shukla in Technology with 0 comments .

When you save a record with an insert, update, or upsert statement, Salesforce performs the following events in order.Note Before Salesforce executes these events on the server, the browser runs JavaScript validation if the record contains any dependent picklist fields. The validation limits each dependent picklist field to its available values. No other validation occurs on the client side. On the server, Salesforce: Loads the original record from the database or initializes the re

Common Table Expression(CTE) In SQL SERVER For Deleting Duplicate Rows

Posted on Jul 20, 2014 by Harish Kashyap in Technology with 4 comments .

Common table expression store data in a temporary table whose identity exists only during the query execution .here we store data in it with the fields we required by giving the names and perform the action we want to perform. Consider  a table tbldata with the following fields Id Name Age 1 Harish 24 5

An Introduction to Force.com Metadata and the Metadata API

Posted on Jul 13, 2014 by Pradip Shukla in Technology with 0 comments .

Abstract Force.com allows you to use traditional development practices for creating on-demand applications. Force.com extends the cloud computing development process to encompass external tools such as integrated development environments, source control systems, and batch scripts to facilitate development and deployment. The Force.com platform provides a rich and powerful metadata model and Metadata API. Platform metadata describes your application and the API encompasses a set of me