Enable Salesforce1 User For Multiple Users in Salesforce

UserPermissionsMobileUser is the api name for the Salesforce1 User Check box on the user object. We can update UserPermissionsMobileUser value to the set of users to enable Salesforce1 User check box for multiple users in Salesforce.

Enable Service Cloud User For Multiple Users in Salesforce

UserPermissionsSupportUser is the api name for the Service Cloud Check box on the User object. We can update UserPermissionsSupportUser value to the set of users to enable Service Cloud User check box for multiple users in Salesforce.

Set Up Governor Limit Warning Email in Salesforce

  • Log in to Salesforce as an administrator User.
  • Click Setup || Administration Setup || Manage Users || Users
  • Click Edit next to the name of the user to receive the email notifications.
  • Select the Send Apex Warning Emails option.
  • Click Save.

Note: You can specify users in your organization to receive an email notification when they invoke Apex code that surpasses 50% of allocated governor limits.

Check Object Level and Field Level Security Within a Visualforce Page

<!--Check object level access within a Visualforce page-->
<apex:page>
    {!$ObjectType.Contact.Accessible} 
</apex:page>
<!--Check an Object field level access within a Visualforce page-->
<apex:outputText value="{!contactName}" rendered="{!$ObjectType.Contact.fields.Name.Accessible}" />
<!--Check an Object field level Update access within a Visualforce page-->
<apex:inputText value="{!contactEmail}" rendered="{!$ObjectType.Contact.fields.Email.Updateable}" />
<!--Check an Object Delete access within a Visualforce page-->
<apex:commandButton action="{!CustomDelete}" rendered="{!$ObjectType.Contact.Deletable}" />
<!-- Check an Object field level Create access within a Visualforce page .
stringToBecomeNewContactEmail is a generic string type-->
<apex:inputText value="{!stringToBecomeNewContactEmail}" rendered="{!$ObjectType.Contact.fields.Email.Createable}" />

Install the Force.com IDE Plug-In For Eclipse

The Eclipse IDE for Java Developers distribution is recommended for Force.com IDE (Eclipse download site). You can install the Force.com IDE into your existing Eclipse distribution or upgrade from a previous version.
Before installing the Force.com IDE, ensure that you have these items installed on your workstation.

A supported operating system:

  • Windows 7, 8, or 10
  • macOS 10.7, 10.8, 10.9, 10.10, or 10.11
  • Ubuntu 12.04 LTS or 14.04 LTS

Java SE Development Kit (JDK), Runtime Environment 8, or later (Java download site).

Note: Be sure to download the full JDK—without it, the plug-in doesn’t load. On macOS, the full JDK is not the default JRE installation.

  1. Launch Eclipse and select Help | Install New Software.
  2. Click Add.
  3. In the Add Repository dialog, set the name to Force.com IDE and the location to https://developer.salesforce.com/media/force-ide/eclipse45. For Spring ’16 (Force.com IDE v36.0) and earlier Force.com IDE versions, use https://developer.salesforce.com/media/force-ide/eclipse42.
  4. Click OK.
  5. To install an older version of the plug-in (for example, if you don’t have Java 8), deselect Show only the latest versions of available software. Eclipse downloads the list of available plug-ins and displays them in the Available Software dialog.
  6. Select Force.com IDE.
  7. If you want to install the Apex Debugger or our tools for working with Lightning components, select Force.com Debugger or Force.com Lightning Support.
  8. Click Next.
  9. In the Install Details dialog, click Next.
  10. In the Review Licenses dialog, accept the terms and click Finish.
  11. If you chose to install support for Lightning components, Eclipse displays a warning dialog about installing software that contains unsigned content. We are bundling third-party plug-ins to support Lightning components. Salesforce doesn’t own these third-party plug-ins; hence, we don’t sign them. Click OK to proceed.
  12. Eclipse downloads and installs the Force.com IDE and the required dependencies. When the installation is complete, you are prompted to restart. Click Yes.
  13. When Eclipse restarts, select Window | Open Perspective | Other. Select Force.com and then click OK.
    You are now ready to develop and customize Force.com applications in Eclipse!

Note: When you create a project, you are sometimes prompted for a new master password. This master password is a separate password of your choosing. It’s required by Eclipse secure storage but not associated with your Force.com IDE credentials.