Linking a custom entity
Video transcript
Once you’ve created custom entities, often you need to link them to each other or an existing entity. In this example, we’ve created Seasons as a custom entity, and you’ll want to link it to Episodes.
Flow Production Tracking has two types of fields to link entities together: Entity link and Multi-Entity link.
Because an Episode belongs to only one Season, you’ll need to connect Episodes to Seasons by creating an Entity link field on Episodes.
First, head to the Episode page.
Next, click on Fields > Manage Episode Fields.
Click "Add a new field."
Choose Entity as the field type and Seasons as the entity type.
Give the field a name. In this case call it “Season.”
Click "Next" and choose whether you want this new field to be visible on all projects or just the current project. Now you see the new field, called Season. You can enter a Season into that field to connect it to Episodes.
If you go to the Seasons page, you can display the reverse Episode<>Season field and see which Episodes are connected to that Season. A reverse field will always be multi-entity—that’s why we created the field on the Episode side.
You can also see linked Episodes on a Season detail page. To set this up, click on a Season to view its detail page. Next, enter Design Page Mode. Click New Tab and select Episodes as the Entity.
Next, click on a the Tab’s page filter and set the filter condition to Seasons > is > Current Season, and save the page.
Now the Seasons detail page will display the related Episodes.