Friday, May 30, 2014

What is TestVisible annotation in Salesforce?

What is TestVisible annotation in Salesforce? Hi, This is the documentation notes about @TestVisible annotation in salesforce.  Use the TestVisible annotation to allow test methods to access private or protected members of another class outside the test class. These members include methods, member variables, and inner classes. This annotation enables a more permissive access level for running tests only. This annotation doesn’t change the visibility of members if accessed by non-test classes. With this annotation, you don’t have to change the access modifiers of your methods and member variables to public if you want to access them in a test method. For example, if a private member variable isn’t supposed to be exposed to external classes but it should be accessible...

Thursday, May 29, 2014

How to configure Sharing Rules in Salesforce?

How to configure Sharing Rules in Salesforce? Continuing on setting up security with for our example sales organization, let’s say that you have support staff in the role of Sales Engineer that report directly to the VP, North America Sales. Sales Engineers lend technical assistance on Opportunities, and thus need to see Accounts and Opportunities owned by the salespeople under the VP, North America Sales. To do this, you would have a Sharing Rule as follows: ...

How to Configure Groups in Salesforce?

How to Configure Groups in Salesforce? Let’s say that the Director, Direct Sales does want to allow her team to have access not only to her records but also access to records owned by the Eastern Sales Team and theWestern Sales Team. First you would create a Public Group from Setup >Administration Setup > Manage Users > Public Groups and click the “New” button. We create a group name called “Direct Sales Team,” we searched by Roles to include theDirector, Direct Sales, the Western Sales Team and the Eastern Sales Team, and clicked the “Save” button. Now that we have our group we can create...

What is Organization-Wide Defaults(OWD) in salesforce?

What is Organization-Wide Defaults(OWD) in salesforce? Organization-Wide Defaults, or OWDs, are the baseline security you for your Salesforce instance. Organizational Wide Defaults are used to restrict access. You grant access through other means we will talk about later (sharing rules, Role Hierarchy, Sales Teams and Account teams, manual sharing, etc). There are four levels of access that can be set: Public Read/Write/Transfer (only available of Leads and Cases) Public Read/Write Public Read/Only  Private  To reduce the number of variables in this discussion let’s collapse the three “Public” flavors to a single...

What is the difference between a Profile and Role?

What is the difference between a Profile and Role? Roles are one of the ways you can control access to records. They also impact reports (e.g. "My Teams" filter). Roles come into play if your security model (OWDs) are set to private. A little more on Roles and how they impact security: Profiles help determine record privileges. Assuming the User can see the record, Profiles determine what the User can do, view or edit on that record. Profiles control other system privileges as well (mass email, export data, etc). ...

What all the services provided in cloud computing?

What all the services provided in cloud computing? Hi! In this post i am trying to explain about what is cloud computing and what are the different services offered by cloud computing. Cloud Computing Services provide information technology (IT) as a service over the Internet or dedicated network, with delivery on demand, and payment based on usage. Cloud computing services range from full applications and development platforms, to servers, storage, and virtual desktops. Who uses cloud computing services and why? Corporate and government entities utilize cloud computing services to address a variety of application and infrastructure needs such as CRM, database, compute, and data storage. Unlike a traditional IT environment, where software and hardware are funded up front by department...

Simple Pagination using apex in Salesforce?

Simple Pagination using apex in Salesforce? Hi !, Here i am going to give an example of simple pagination on Account object. to achieve this we need to create Visualforce page and Controller Class. Visualforce Page:- <apex:page controller="AccountPaginationController">     <apex:form >         <apex:pageBlock >             <apex:pageBlockSection title="Account Results -  Page #{!pageNumber}" columns="1">                 <apex:pageBlockTable value="{!listAccount}" var="a">          ...

What is the Architecture of Salesforce Software?

What is the Architecture of Salesforce Software? Hi ! In this post i am trying to give some details about salesforce architecture. Salesforce uses a cloud-based "multi-tenant" architecture."Cloud Based" meaning that you do not install software locally on a server. Salesforce software is accessed over the Internet (the cloud) on Salesforce servers. The Salesforce database is actually Oracle on the back end by the way The analogy salesforce uses frequently to describe "multi-tenancy" is an office building. Like an office building, Salesforce users have secure barriers (likes walls in an office) that divide your business from someone else's business (and your data!). However that office building that you share provides all the structure (stairs, elevators) and utilities (power, water, etc)....

Wednesday, May 28, 2014

How to disable Force.com Quick Access Menu in Salesforce?

How to disable Force.com Quick Access Menu in Salesforce? Hi !, In this post i am going to tell about how to disable quick access menu from salesforce, In previous post we discuss about how to enable quick access menu in salesforce. To disable quick access menu from salefrorce  Select any tab like Account,Contact,Opportunity etc and click on Quick access menu, then it will appear in Right Side, then click on Turn Off Menu. That't it  Enjoy !!!!!!!! ...

How to enable Quick Access Menu in Salesforce?

Hi, Here i am going to explain how to get Quick Access Menu in Salesforce. 1. Go to My Settings. 2. Select Personal and Advanced User Details. 3. Click "Edit". 4. Enable "Force.com Quick Access Menu".                That's it !!! Enjoy ...

Monday, May 26, 2014

How to Create Visualforce Related List with Edit and Delete Action's?

How to Create Visualforce Related List with Edit and Delete Action's? I have requirement of create a Visualforce Related List to display opportunity Details in Contact object with Edit and Delete Actions. Page:-  <apex:page standardController="Contact" extensions="sampleDetailPagecon"> <style> .fewerMore { display: none;} </style>  <apex:form >  <apex:pageMessages />  <apex:detail relatedList="true"></apex:detail>  <apex:pageblock id="CustomList" title="Related Opportunities">  <apex:pageblocktable value="{!oppz}" var="o" rendered="{!NOT(ISNULL(oppz))}">   <apex:column >              <apex:facet name="header">Action</apex:facet>  ...

Friday, May 2, 2014

Salesforce Q&A 2

Salesforce Q&A 2? Salesforce Interview Questoins part-2 1. For which criteria in workflow “time dependent workflow action” cannot be created? Ans: created, and every time it’s edited 2. What is the advantage of using custom settings? Ans : You dont have to query in apex (fire select query) to retrieve the data stored in custom settings. 3. What are the different workflow actions available in workflows? Ans: 1. Field update 2. Email alert 3. send Outbound messages 4. Create new task 4. What is whoid and whatid in activities? Ans: Whoid is the id of either contact or Lead. Whatid is the id of the related to record in activity record(standard or custom object) 5. What is the difference between a standard...
Page 1 of 10312345Next

 
| ,