The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

Slots

Slots allow you to control, manipulate, and restrict content blocks. You can create slots, move slots to different blocks, and enforce block number and type restrictions within slots. Blocks within slots are limited to 2x recursion, with a maximum depth of 4 objects.

Add slots to the asset as an object under slots and to the content as a placeholder, where the object keys match the placeholder's data-key attribute. In this example, the partner uses slots with one initial block per slot and no number or type restrictions.