Context
This is the official documentation of Forest Admin Cloud.
The context
of an action contains all the context data when the action is executed in Forest Admin.
Getting the selected record(s)
To get the selected record(s) on which the action is executed, use the getRecord()
or getRecords()
methods from the context.
Example:
Getting the selected record id(s)
Additionally, you can retrieve just the id(s) by using getRecordId()
or getRecordIds()
Example:
Getting the collection
Example:
Last updated
Was this helpful?