# Test Lesson

### About this export

| Field | Value |
| --- | --- |
| **content_type** | lesson |
| **platform** | contentstack-academy |
| **source_url** | https://www.contentstack.com/academy/courses/copy-of-techsurf-test/test-lesson |
| **course_slug** | copy-of-techsurf-test |
| **lesson_slug** | test-lesson |
| **markdown_file_url** | /academy/md/courses/copy-of-techsurf-test/test-lesson.md |
| **generated_at** | 2026-08-17T13:10:25.500Z |

> Part of **[Copy of Techsurf Test](https://www.contentstack.com/academy/courses/copy-of-techsurf-test)** on Contentstack Academy. **Academy MD v3** — structured for retrieval; no quiz or assessment keys.

<!-- ai_metadata: {"lesson_id":"07","type":"video","duration_seconds":187,"video_url":"https://cdn.jwplayer.com/previews/wY3lqOiw","thumbnail_url":"https://cdn.jwplayer.com/v2/media/wY3lqOiw/poster.jpg?width=720","topics":["Test","Lesson"]} -->

#### Video details

#### At a glance

- **Title:** Field Visibilty Rules
- **Duration:** 3m 7s
- **Media link:** https://cdn.jwplayer.com/previews/wY3lqOiw
- **Publish date (unix):** 1713726667

#### Streaming renditions

- application/vnd.apple.mpegurl
- audio/mp4 · AAC Audio · 113633 kbps
- video/mp4 · 180p · 180p · 139184 kbps
- video/mp4 · 270p · 270p · 152011 kbps
- video/mp4 · 360p · 360p · 167146 kbps
- video/mp4 · 406p · 406p · 175781 kbps
- video/mp4 · 540p · 540p · 196990 kbps
- video/mp4 · 720p · 720p · 226766 kbps
- video/mp4 · 1080p · 1080p · 303853 kbps

#### Timed text tracks (delivery)

- **thumbnails:** `https://cdn.jwplayer.com/strips/wY3lqOiw-120.vtt`

#### Video transcript

Welcome back. In this walkthrough, we're going to go ahead and implement field visibility rules for the news article content type. Field visibility rules allow you to dynamically display fields based on certain conditions. The objective here is to display the main image field within this news article whenever the featured article Boolean toggle switch is selected to true. So let's go ahead and get started by adding the field visibility rule. So we'll go ahead and click here. You can see we don't currently have any rules defined and that a field visibility rule allows us to show or hide fields dynamically. So let's go ahead and create a new rule, and you can see this opens up a new modal with a rule that contains two parts, and you can have multiple rules. But essentially, if we look in this rule, you have essentially two parts. You have the ability to add the condition as well as add an action, and you can add multiple conditions or add multiple actions as well. We also can choose here whether we want all conditions to be met before an action is triggered or if we want any, meaning any one of the conditions to be met for the action to be triggered. So let's go ahead and select all, and we'll go ahead and select from this dropdown here. We're going to select the featured article field, and when it is true, we're going to have this action fire, and we're going to put show, and we're going to select the main image. So now we have when the featured article is true, we will show the main image. We can go ahead and save this, and now we see that it's been updated successfully. Now we can navigate over to our entries section, and we can go to a news article entry, and we'll just create a new one here, and we see this featured article toggle switch, but currently there is no main image field being displayed. So what we'll go ahead and do is turn on the featured article toggle switch, and now that it's set to true, we see this main image field appear, and now as an editor, I can go ahead and choose an image, or I can choose to not have this featured article display a main image, and by implementing a field visibility rule, you create a dynamic display of this main image field within the news article. Keep in mind there are limitations to field visibility rules, so always consult the Content Stack documentation or visit us at the Content Stack community.

#### Lesson text

This is testing text lessons

#### Key takeaways

- Connect **Test Lesson** back to your stack configuration before moving to the next module.
- Capture one concrete artifact (screenshot, Postman call, or code snippet) that proves the step works in your environment.
- Re-read the delivery versus management boundary for anything you changed in the entry model.

## Supplement for indexing

### Content summary

Test Lesson. This is testing text lessons

### Retrieval tags

- Test
- Lesson
- copy-of-techsurf-test
- lesson 07
- Test Lesson
- copy-of-techsurf-test lesson

### Indexing notes

Index this lesson as a primary chunk tagged with lesson_id "07" and topics: [Test, Lesson].
Parent course slug: copy-of-techsurf-test. Use asset_references URLs as thumbnail hints in search results when present.
Never surface LMS quiz content or assessment answers from this file.

### Asset references

| Label | URL |
| --- | --- |
| Video thumbnail: Test Lesson | `https://cdn.jwplayer.com/v2/media/wY3lqOiw/poster.jpg?width=720` |

### External links

| Label | URL |
| --- | --- |
| Contentstack Academy home | `https://www.contentstack.com/academy/` |
| Training instance setup | `https://www.contentstack.com/academy/training-instance` |
| Academy playground (GitHub) | `https://github.com/contentstack/contentstack-academy-playground` |
| Contentstack documentation | `https://www.contentstack.com/docs/` |
