Search Content


Content Categories



How to make a field Read-only in Salesforce.com

A few days ago I got an e-mail asking for some help in Salesforce.com -   How to make a field as Read only in GUI. For ex: In Account Tab, i want to make a Phone Field as Read Only in GUI. when we click on Edit on an Account, in that I want to disable that textbox related to Phone field. How can I do this?


So, the assumption is somehow they are entering the phone number data in to SFDC by means of a data-load. They want users to view the phone number, but not edit it. This is actually fairly easy to do using Page Layouts and field level security. Just go to Setup - Customize - Contacts. Click on the field you want to control permissions for (in this case Phone) and then click on “View Field Accessibility”. On that page you can control Field Access by Role! You will of course need Salesforce.com Admin privileges to make this change.

Profile & field permissions




Related Custom Application Development Articles

Revenue Sharing on a Multi-Author Blog


You are the admin of a team blog that has multiple guest authors. The revenue sharing arrangement is such that all members get to keep a fixed percentage of the AdSense revenue that is generated from pages / articles that they have...

Read more about Revenue Sharing on a Multi-Author Blog...

Calling Apex Web Services from PHP


Apex Code can be exposed as a Web Service and made available outside of your Salesforce environment (e.g. from a PHP page). This approach essentially lets you build a personal API into your Salesforce org and eliminates the need for calling...

Read more about Calling Apex Web Services from PHP...