5.0 Adding a Component Child Instruction

Adding a Component Child Instruction

👥 User Journey

User Journey - Adding a Child Instruction

📋 Setup

Select a Task

Select Components from the side menu

In the header bar, click the expander arrow if the filter options are hidden

📘 Steps

1️⃣ Within the code, place the cursor where the Child Instruction is required

2️⃣ Click the Child button

3️⃣ Select Reference link field type

4️⃣ Click to expand Config section

5️⃣ Enter the Child name

6️⃣ [optional] Select Default component per Content type (default is None)

7️⃣ Click Confirm

note Notes

Child instructions allow the Content editor to select only Components created for Content types linked in a Reference link field. A Parent Content type can link up to 30 Content types via a Reference link field.

warning Warnings

Deleting a Content Instruction unlinks the Content Entry field, which can result in page changes when the Task is completed.

💻 Examples

The example code in the video is shown below:

HTML
<ul ctx-foreach="fruit in Fruits">
  <li>@fruit</li>
</ul>


🔖 References