Custom Metadata Type storage

From the Custom Metadata Type page under Setup, you can both create Custom Metadata Type objects and manage the records they contain. Any records you create can be included in your package and are thus available to your Apex logic immediately after the installation of your package.

Perform the following steps to create the Track Lap Records MDT object:

  1. Create a Track Lap Records Custom Metadata Type by clicking on New, and enter TrackLapRecords as the API name.
  2. From the Visibility field, select All Apex code and APIs can use the type, and it is visible in Setup. This is done since we want to allow the administrator to record their own fastest lap times in addition to those we include. You can choose the Only ...

Get Salesforce Lightning Platform Enterprise Architecture - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.