Showing posts with label Quicklinks. Show all posts
Showing posts with label Quicklinks. Show all posts

Wednesday, 24 July 2013

Custom Settings Overview

-Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user.
-All custom settings data is exposed in the application cache, which enables efficient access without the cost of repeated queries to the database. This data can then be used by formula fields, validation rules, Apex, and the SOAP API.



There are two types of custom settings:

  List Custom Settings
  -A type of custom setting that provides a reusable set of static data that can be accessed across your organization.
  - If you use a particular set of data frequently within your application, putting that data in a list custom setting streamlines access to it.
  -Data in list settings does not vary with profile or user, but is available organization-wide.
  - Examples of list data include two-letter state abbreviations, international dialing prefixes, and catalog numbers for products. Because the data is cached, access is low-cost and efficient: you don't have to use SOQL queries that count against your governor limits.
  Hierarchy Custom Settings
  -A type of custom setting that uses a built-in hierarchical logic that lets you “personalize” settings for specific profiles or users.
  -The hierarchy logic checks the organization, profile, and user settings for the current user and returns the most specific, or “lowest,” value.
  -In the hierarchy, settings for an organization are overridden by profile settings, which, in turn, are overridden by user settings.

The following examples illustrate how you can use custom settings:
  -A shipping application requires users to fill in the country codes for international deliveries. By creating a list setting of all country codes, users have quick access to this data without needing to query the database.
  -An application calculates and tracks compensation for its sales reps, but commission percentages are based on seniority.
  -By creating a hierarchy setting, the administrator can associate a different commission percentage for each profile in the sales organization.
  -Within the application, one formula field can then be used to correctly calculate compensation for all users; the personalized settings at the profile level inserts the correct commission percentage.
  -An application displays a map of account locations, the best route to take, and traffic conditions. This information is useful for sales reps, but account executives only want to see account locations.
  -By creating a hierarchy setting with custom checkbox fields for route and traffic, you can enable this data for just the “Sales Rep” profile.

Useful References:

Understanding Force.com Platform Internals Helps You Build Better Apps

Today when I was going through my Outlook, I saw an email from one of my colleagues. That email was talking about a blog on how understanding Force.com Platform Internals helps you build better apps.
I went through that blog and find it quite interesting to share it on the Hub.

The blog starts like this: When you have a good understanding of how something works, you greatly increase the likelihood that you’ll have a better experience using that something.



Consolidating the related resources at one place:


Friday, 26 April 2013

Excerpts from the Salesforce Mobile Developer Week organized on 23rd April 2013 in Bangalore


On 23rd April 2013, I attended Salesforce Mobile Developer Week | Developer Force.com event Bangalore location. The event was hosted by Sandeep Bhanot , a Salesforce evangelist at Salesforce.com.

I would like to divide this blog into two parts; one talking about an statistics (which I liked very much) shown during the event  and the other showing useful links to get to know Salesforce mobile apps development.

Part 1

One statistics that I saw during the event was that "Apple's iPhone business is now bigger than whole of Microsoft | Mail Online". My first thought was like this: I could not believe this. I have grown up hearing all about Microsoft and Bill Gates. They are there from a long time. How could a small innovation all of a sudden could surpass this big mammoth. I then did Google search and found this Forbes report.

So much of talk on the above Forbes statistics. Lets move ahead with the event updates. 

Part 2

Sandeep started talking about Salesforce Touch, the Salesforce mobile application. To sum up, Salesforce Touch is built on HTML5 technology, so it’s easy to add the Sales app to any mobile tablet or handset. That means your company can focus on growing sales, not building and maintaining infrastructure. As of now, officially Salesforce Touch is supported on iPhone and iPad.
For mobile app development, Salesforce has introduced Salesforce Platform Mobile Services tol  rapidly build enterprise mobile apps. To know more about this services, click here Mobile Application Development with Salesforce Platform Mobile Services  | Developer Force.com. The services introduced Mobile Packs( namely jQuery Mobile | jQuery MobileAngularJS — Superheroic JavaScript MVW Framework and Backbone.js ) to jumpstart web mobile development with leading open-source JavaScript frameworks.


Moreover, I get to know some ways of data binding in Salesforce. They are:

In the end, I would like to share some other important source of information which could be needed for mobile apps development.


Explore these resources and enjoy how to develop Salesforce mobile apps.

Happy mobile apps development !!!