Salesforce Fact #601 | first in apex:repeat

There is an attribute named 'first' in apex:repeat which works similar to offset in SOQL. The number specified in the offset is equal to the number of rows which will be skipped.

Reference: https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_repeat.htm

Attached are the screenshots.




Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow