Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
None
Description
In a headless environment where no FTL templates are being created and the pages app is not used, block definitions have no need for a templateId. Without it, the block functions as expected and has no errors. When templateId is added, because the docs say it's required, it results in an error shown in the definitions/problems app similar to this:
![]()
Documentation needs to be updated to say it's optional
Steps to Replicate on Demo instance:
- Import the attached yaml to /travel-demo-stories-app/blocks in the resources workspace
- Look at the definitions app and see a MAJOR error in the problems tab
- Modify basicText.yaml by commenting out the templateId line and save
- Look at the definitions app again and see the error is removed
basicText block can be added to /travel-demo-stories-app/decorations/stories-app/apps/stories.yaml and used with or without the templateId property.
Checklists
Acceptance criteria