Monday, 8 June 2015



Deployment Management Using ChangeSet :



ChangeSet are used to deploy the changes from sandbox to production/sandbox environments.


ChangeSet are available in Unlimited,Performance,Enterprise and Database.com editions. Also, available in professional on purchase.

We can deploy workflows, rules, Apex classes, triggers and other customisations from sandbox to production.






Inbound and Outbound ChangeSet:

Inbound ChangeSet is a ChangeSet that has been sent from another organisation to the organisation you are logged in.

Outbound ChangeSet is a ChangeSet created in organisation you are logged into and want to sent to another organisation.


Prerequisite:

Deployment connection is required between two organisations.
Deployment connection allows you to copy the customisation from one organisation to other.

navigate to setup-> deployment connections -> target organisation and click on edit -> check “Allow inbound change set” and click on save.






Note : Each organization must be authorized to send and receive change sets.


Deploying ChangeSet:


1. In sandbox navigate to
Setup -> Deploy -> Outbound ChangeSet




Create new ChangeSet filling the details and save.


2. You will land up on detail view of ChangeSet. Go to ChangeSet component subsection and add components that need to be deployed.

After adding the components click upload.


3. Now go to other sandbox / production environment and navigate to setup -> deploy -> Inbound ChangeSet.
Select the ChangeSet uploaded by you and deploy the same by clicking on deploy button.

Wait for a while until the result is generated and check "View Result" in case of any errors.

Note : To prevent a deployment from failing when components are referenced by Apex jobs, check "Allow deployments of components when corresponding Apex jobs are pending or in progress in deployment settings", and then click Save.

Sunday, 26 April 2015

Salesforce Interview questions for Experienced - 2


Salesforce Interview questions for Experienced - 2 :

These are few more interview questions for experienced :

  1. Why to use custom controller, when we can use standard controller with the extension?
  2. What is code coverage for code to deploy from one sandbox to other sandbox?
  3. What is pagination and how can we achieve through normal functionality?
  4. What is custom settings? Where did you use it in your project?
  5. What is apex sharing rule?
  6. What is best practice for testing?
  7. Why we use system. Assert function?
  8. What is the scope of static variable?
  9. What is relationship between account and contact? 
  10. Why does the contact record get deleted when an account record is deleted?
  11. Best practice to write a trigger?
  12. What are events in trigger?
  13. What are custom components in Visualforce?
  14. Why do we use without sharing key word when by default the class is without sharing?
  15. What is view state? why is it useful?
  16. Why transient key word used? 
           Good Luck!!







I



Thursday, 23 April 2015

Getting Started with Salesforce


New to Salesforce Technology?  Don’t know where to start?


Here are some steps to get started with Salesforce.


Pre-requisite:
  1. Knowing about Salesforce and how it works(Rough Idea)
  2. Free Developer Account (For practicing purpose)
  3. Acquaintance with OOPS Concepts


Firstly, try learning about Salesforce CRM which include all “point n click” features of salesforce.
After you get confident enough in Salesforce CRM, then jump into development in Salesforce using Apex (business logic) and visualforce (User Interface).

Books to refer for knowing more about Salesforce CRM:
  1. Salesforce CRM: The Definitive Admin Handbook by Paul Goodey.  
  2. Salesforce CRM Admin Cookbook by Paul Goodey.
  3. Force.com Workbook.



Books to refer for learning Salesforce development:
  1. Development With force.com Platform
  2. Apex Workbook
  3. Visualforce workbook
  4.  Apex study Guide
  5.  Visualforce study Guide
  6.  Force.com Developer Handbook (Especially for Dev401 certification)
  7.   Last but never the least Salesforce Help.



There are lots and lots of videos by Salesforce (Dreamforce video) to explain each topic elaborately. There are training program videos specifically for Certification Dev401 and Dev501.

I would like to share few more channel were I found some well explained video’s on Salesforce. 
  1. Shellblack.com,LLC
  2. Salesforce

Subscribe to above YouTube channel and enjoy learning Salesforce in more effective way.
Keep updating your knowledge by learning about the features added in each release.


Good luck.

Thursday, 16 April 2015

Interview Questions For Experienced


Here are some interview questions for experienced


1.    Difference between Master-detail and look up relationship?

2.       What is Self-relationship and which relationship is referred in self-relationship (lookup or Master Detail)?

3.       There is a many to many (Master1-junction object- Master2) relationship in which you have to incorporate a logic that “User is not allowed to delete Master 1 if it has child record”, But you can’t use Trigger and any type of coding in it.

4.       Best Practices for writing a trigger?

5.       How to overcome limit violation by recursive trigger?

6.       What are permission sets?

7.       Difference between Role and profile?

8.       If few employee’s under the manager should have Read access to their manager records. How do you make it?

9.       Why batch Apex is used? Explain how you have implemented batch apex in your project?

10.    What is the use of custom settings? Types of Custom settings? Which type you have used in your project?

11.   What is junction object?

12.   What does AJAX function do? Name and explain few AJAX functions?

13.   What is difference between standard controller and standard set controller?

14.   What is Record Type?

15.   Best practice for writing an apex code?

16.   What is a static Variable?

17. How can we send 400 Reports from sandbox to production environment?
18. What is difference between Standard and Custom Controller?

19.   Why is Transient Key word used in Salesforce?

20.   When converting lead to opportunity, Account and contact, do we have option to exclude any of this conversion? If Yes, How?

21.    What do mean by foreign key?

22.    How do you deploy code from Sandbox to Production?

23.    Number of ways you can make a field required?

24.    What are interface?

25.    What is difference between Assignment Rule and workflow Rule in case of transferring the ownership?
Good Luck!!