2012

Salesforce

Modulo division in Salesforce

Sample Code: <apex:page controller="sample">    <apex:pageBlock >    <apex:variable var="i" value="{!0}"/>        <apex:pageBlockTable value="{!acnt}" var="acc">            <apex:column >                <apex:variable var="i" value="{!i+1}"/>            </apex:column>            <apex:column value="{!acc.Name}" ....

Salesforce

Global variables in Salesforce

$Action $Api                                  $Component $componentLabel $Label $Label.Site $ObjectType                                  $Page $Profile $SControl $Site $System.OriginDateTime $User $User.UITheme and $User.UIThemeDisplayed $UserRole The difference between the $User.UITheme and $User.UIThemeDisplayed is that $User.UITheme variable returns the ....