SFDC Tutorial

Hi All,
Salesforce.com is really a worth CRM Product.
It is based on Cloud computing.
There is no need of software and hardware to be installed. Just a browser is enough.
Log in with your username and password.
Everything is done effectively in cloud. From anywhere you can log in and work with it.

In SFDC there is no need to write complex SQL queries. Database is maintained by SFDC itself. Which is an added advantage for us.

Cheers!!!

SFDC Training

For SFDC Training, kindly click the link below:

http://www.salesforce.com/services-training/training_certification/online/

This site helps you to understand the features available in Salesforce.com.

Cheers!!!

Spring ‘12 Chatter improvements

• Pilot Resources and Response Bodies
• New and Changed Resources
• New and Changed Response Bodies
• New and Changed Request Bodies


Cheers!!!

SFDC Beginners

Hi All,
Salesforce.com is really a good CRM tool.

To experience it just create an account in developer edition and enjoy. To create a developer account, kindly use the below link

http://www.infallibletechie.com/2013/01/how-to-signup-for-developer-edition-in.html

Starting from Home page, explore all the tabs, create some records and experience the product.

Then use this link to study more: http://www.salesforce.com/services-training/training_certification/online/

Workbooks:

http://www.infallibletechie.com/2013/01/link-for-creating-warehouse-application.html

http://www.infallibletechie.com/2012/10/recruiting-application-in-salesforce.html

Cheers!!!

Saving a chatter post in Spring' 12 Release

This symbol indicates that Chatter post has been bookmarked.
This symbol indicates that Chatter post has not been bookmarked.

If a chatter post is bookmarked, you will receive emails for each and every comment for that particular chatter post.


Cheers!!!

Spring '12 Features that need to contact Salesforce.com to enable the features

  • Chatter Messenger
  • Chatter Answers
  • Live Agent
  • Console push notifications
  • Knowledge Actions(Pilot)
  • Introducing Analytics Edition
    1. Joined Reports—Generally Available
    2. Cross Filters—Generally Available
    3. Data Bucketing—Generally Available
  • Data.com Corporate
  • Data.com Clean - Beta
  • Single View State
  • Repeater and Data Table Pagination(Pilot)
  • Encrypted Fields Available in Full-Copy Sandbox
  • Paging Using the OFFSET Clause
Cheers!!!

Spring ‘12 Certification Maintenance

To know more about what’s new in the Spring ’12 release, please follow the below link:
 
http://na1.salesforce.com/help/doc/en/salesforce_spring12_release_notes.pdf

Cheers!!!

SFDC DEV 401 study - Homepage Editable Standard Components

The Homepage Editable Standard Components are
  • Message and Alerts 
  • Custom Links


Cheers!!!

SFDC DEV 401 Study material

Hi All,
There is no proper study materials for DEV 401.
If you are preparing for the DEV 401 exam, just mail me.
I will send some workbooks, which will be very very useful to clear the exam.

My email id is: info@infallibletechie.com

Cheers!!!

SFDC DEV 401 Study Guides

5% Application Design

5% Overview of Force.com Platform

32% Data Model

15% User Interface

23% Business Logic

10% Data Management

10% Reporting and Analytics


Cheers!!!

SFDC DEV 401 Study Materials

For clearing DEV 401 exam, there is no proper study material.

Visit http://certification.salesforce.com/Home for clear picture.

There will be less number of direct questions. Mostly questions were easy to answer, if we have good practical knowledge. So visit http://www.salesforce.com/services-training/training_certification/ for practical knowledge.

Clearing DEV 401 is not an easy joke. Work hard before you apply for the exam.

Create an account in http://developer.force.com/ and experience all the features in SFDC. Explore all the features available. Practical knowledge plays a vital role in clearing the exam.

All the very best for all!!! Just Rock!!!

Cheers!!!

Hiding header information in visualforce page

Sample Code:

<apex:page showheader = "false">
</apex:page>


Cheers!!!

Disabling sidebar using Visualforce

Sample Code:

<apex:page sidebar = "false">
</apex:page>


Cheers!!!

SFDC Dev 401 Exam Important topics

  • Master-Detail / Lookup / Hierarchical relationships
  • Report / Report Types 
  • Dashboards
  • Org-Wide Default
  • Sharing Rules
  • Approval Processes (Unanimous / Parallel / Skipping Steps / Dynamic Routing)
  • Junction Object
  • Data Loader / Import Wizard
  • Formula Fields
  • Analytical Snapshot
  • Workflows
  • Encrypted Fields
  • External Ids
  • Governor Limits
Cheers!!!

Getting Day, Month and Year from Date

Sample Code:

Date datobj;
Integer dy = datobj.day();
Integer mon = datobj.month();
Integer yr = datobj.year();


Cheers!!!

To send parameters from one visualforce page to another

The below code is used to send parameters from one visualforce page to another visualforce page.

Visualforce:

<apex:outputlink value = "/apex/sample">
  <apex:param name = "msg" value = "hi"/>
</apex:outputlink>

Apex:

public String message = System.CurrentPagereference().getParameters().get('msg');


Cheers!!!

Topics to be covered for SFDC DEV 401 Certification

- Security controls (also learn about criteria based sharing)
- Profiles
- object level permissions
- Field level permissions
- Record level permissions
- Record level access
- Role hierarchy
- Reports
- How are objects related to reports?
- Type of dashboard to component to use per case scenarios
- What can be done with custom report types?
- Analytic Snapshots
- Workflows
- Parallel approval
- Approval process
- Use case for time triggered actions
- Limitations of data loader on importing standard, custom objects
- Features of the data loader
- Sidebar feature how are items added
- User objects
- Types of relationships including hierarchal
- Use case on best relationship to use
- Use case for using Visualforce and Apex
- Force.com Sites
- Encrypted Fields
- External ID fields
- System Fields
- Formula fields
- Console
- Page layouts & Mini page layouts
- Record Ids
- Process Visualizer
- Multiple currencies

Cheers!!!

Like Operator usage in Apex

Example:

String sql = 'Select Name From Account WHERE Name LIKE \'%' + searchKeyword + '%\'';

where searchKeyword is an Apex variable.

or

List<Contact> listCon = [SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%test%'];

system.debug('List contacts are ' + listCon);

Cheers!!!

Hide and Show in Visualforce page

Sample code:

Apex:

public class popup
{
  public boolean displayPopup {get; set;}

  public void closePopup()
  {
    displayPopup = false;
  }

  public void showPopup()
  {
    displayPopup = true;
  }
}

Visualforce page:

<apex:page controller = "popup">
   <apex:form>
    <apex:commandButton value = "Show" action = "{!showPopup}"/>
    <apex:outputPanel layout = "block" rendered = "{!displayPopup}">
      <apex:commandButton value = "hide" action = "{!closePopup}"/>
    </apex:outputPanel>
   </apex:form>
</apex:page>

Cheers!!!

Rendering as PDF in Visualforce page

Sample Code:

<apex:page renderAs = "pdf">
    Testing PDF
</apex:page>

Cheers!!!

Disabling Sidebar in Visualforce page

Sample Code:

<apex:page sidebar = "false">
</apex:page>

Cheers!!!

Enabling Inline Editing in Visualforce page

Sample code:

<apex:detail subject = "{!account.Id}" inlineEdit = "true">


Cheers!!!

How to execute a SOQL query using APEX?

String soql = "SOQL Query";
list_namae = Database.(soql);

Example:

List<Account> acc {get; set;}
String soql = "SELECT Name FROM Account";
acc = Database.query(soql);

Cheers!!!

Search Engine using Apex and Visualforce

Visualforce:

<apex:page standardController="Member__c" extensions="Search" >

  <style type = "text/css">

    .Bld { font-weight:bold;}
  </style>
 
  <apex:form >
 
    <apex:pageblock title="Members" >
      <table align = "center" width = "100%" cellspacing = "5">
        <tr>
          <td class = "Bld">Member Name:</td>
          <td><apex:inputText value="{!memName}" /></td>         
        </tr>
        <tr>
          <td align = "center" class = "Bld" colspan = "2"><apex:commandButton value="Find" action="{!find}"/></td>
        </tr>       
      </table>
      
    </apex:pageblock>
       
    <apex:pageBlock title="Search Result">
      <apex:pageblockTable value="{!memList}" var="a">
        <apex:column >
          <apex:outputlink value="https://na12.salesforce.com/{!a.id}">{!a.Name}</apex:outputlink>
        </apex:column>
        <apex:column value="{!a.id}"/>
      </apex:pageBlockTable>    
    </apex:pageBlock>   
     
  </apex:form>
</apex:page>

Apex:

public class Search
{
 
  public String memName {get; set;}
 
  public List<Member__c>  memList {get; set;}
 
  public Search(ApexPages.StandardController controller)
  {
  }
 
  public void find()
  {
    String sql = 'SELECT Name,id FROM Member__c WHERE Name LIKE \'%'+memName+'%\' LIMIT 20';
    memList = Database.query(sql);
  } 
}

Slide Show using Apex and Visualforce

Visualforce:

<apex:page standardController="Photo__c" extensions="SlideShow" sidebar="false">

  <apex:form >

   
    <center>
 
    <apex:image url="{!tmp}"/> 
     
    <br/>
    <br/>
    <br/>
          
    <apex:commandButton action="{!prev}" value="Previous"/>&nbsp;&nbsp;&nbsp;
    <apex:commandButton action="{!nxt}" value="Next"/>   
   
    </center>
   
  </apex:form>
 
</apex:page>

Apex:

Public Class SlideShow
{
    public List<Photo__c> photo {get; set;}
    public String imageTag {get; set;}
    public String photoUrl {get; set;}
    public Integer strt=0,ed=1,len=0,i=0,indx=0;
   
    public String tmp {get; set;}
   
    public SlideShow(ApexPages.StandardController controller)
    {          
      String sql = 'SELECT image__c FROM Photo__c';
      photo = Database.query(sql);
      imageTag = photo.get(indx).image__c;
     
      strt = imageTag.indexOf('src=',0) + 5;
      ed = imageTag.lastIndexOf('alt=') - 2;
      tmp = imageTag.substring(strt,ed);
    }          
   
    public void prev()
    {
      if(indx != 0)
      {
      indx = indx - 1;
      String sql = 'SELECT image__c FROM Photo__c';
      photo = Database.query(sql);
      imageTag = photo.get(indx).image__c;
     
      strt = imageTag.indexOf('src=',0) + 5;
      ed = imageTag.lastIndexOf('alt=') - 2;
      tmp = imageTag.substring(strt,ed);
      }
    }   

    public void nxt()
    {  
      len = [SELECT COUNT() FROM Photo__c];
      if(indx != (len-1))
      {
      indx = indx + 1;
      String sql = 'SELECT image__c FROM Photo__c';
      photo = Database.query(sql);
      imageTag = photo.get(indx).image__c;
     
      len =imageTag.length();
      strt = imageTag.indexOf('src=',0) + 5;
      ed = imageTag.lastIndexOf('alt=') - 2;
      tmp = imageTag.substring(strt,ed);
      }     
    }       
}