After expanding blueprint new field not showing up in panel

Hi all,

using kirby as a headless CMS due to the strength of the blocks module. Due to shifting needs i need to add a new field to the following blueprint, but it’s not showing up in the panel when i check if i’m able to add the new information.

Any help much appreciated!

# Each page blueprint must have a title, the title may be different from the file name
title: Post

# Sorting number scheme that is applied when page status is changed to `listed`
# More about page sorting: https://getkirby.com/docs/reference/panel/blueprints/page#sorting
num: date

# Each page can have an icon that is shown in page listings when no preview image is available.
icon: 📖

# image: page.cover.toFile

# Custom descriptions for each page status depending on use case
# More about page status: https://getkirby.com/docs/reference/panel/blueprints/page#statuses
status:
  draft:
    label: Draft
    text: The note is still in draft mode. It can only be seen by editors with panel access.
  unlisted:
    label: In Review
    text: The note is online and can be visited with the direct URL. The team must still give the final go to publish it.
  listed:
    label: Published
    text: The note is online and listed in the blog

# Define the form layout with two columns
# Columns are optional but help structure the form layout
# More about columns: https://getkirby.com/docs/guide/blueprints/layout#defining-columns
columns:
  - width: 2/3
    # This columns only has a single field
    fields:
      text:
        type: blocks
		fieldsets:
   	     - text
         - image
         - video
         - markdown

  - width: 1/3
    # This second column holds a fields section with multiple fields
    # More about fields sections: https://getkirby.com/docs/reference/panel/sections/fields
    sections:
      meta:
        type: fields
        fields:
          # If you need the same field in multiple locations, you can define them once and reuse whereever needed.
          # Here we use a files field defined in `/site/blueprints/field/cover.yml`
          cover: fields/cover
          date:
            type: date
            time: false
            default: now
          author:
            type: text
          authorlink:
            type: text
          category:
            label: Category
            type: radio
            options:
              essays: Essays
              reviews: Reviews
              images: Images
              lectures: Lectures
              interviews: Interviews
          pinned:
            label: Pinned
            type: toggle
            text: 
              - "no"
              - "yes"
          # Fields types can be added using the shortcut `fieldname: true`
          # (however, you can only use a fieldname once per page and this only makes sense for simple fields without configuration)
          # tags: true
      files:
        type: files
        template: blocks/image

Hi, not quite clear what you added. Just copy/pasting the above it seems there are some indentation issues though. Please check.

Sorry, i added nothing in this example, just showing the blueprint. However, adding a new field does not show up in panel
.
Thanks!

Please copy the version with the newly added field here, then.

Here it is, the new field is ‘caption’. Thank you for the help.

# Each page blueprint must have a title, the title may be different from the file name
title: Post

# Sorting number scheme that is applied when page status is changed to `listed`
# More about page sorting: https://getkirby.com/docs/reference/panel/blueprints/page#sorting
num: date

# Each page can have an icon that is shown in page listings when no preview image is available.
icon: 📖

# image: page.cover.toFile

# Custom descriptions for each page status depending on use case
# More about page status: https://getkirby.com/docs/reference/panel/blueprints/page#statuses
status:
  draft:
    label: Draft
    text: The note is still in draft mode. It can only be seen by editors with panel access.
  unlisted:
    label: In Review
    text: The note is online and can be visited with the direct URL. The team must still give the final go to publish it.
  listed:
    label: Published
    text: The note is online and listed in the blog

# Define the form layout with two columns
# Columns are optional but help structure the form layout
# More about columns: https://getkirby.com/docs/guide/blueprints/layout#defining-columns
columns:
  - width: 2/3
    # This columns only has a single field
    fields:
      text:
        type: blocks
		fieldsets:
   	     - text
         - image
         - video
         - markdown

  - width: 1/3
    # This second column holds a fields section with multiple fields
    # More about fields sections: https://getkirby.com/docs/reference/panel/sections/fields
    sections:
      meta:
        type: fields
        fields:
          # If you need the same field in multiple locations, you can define them once and reuse whereever needed.
          # Here we use a files field defined in `/site/blueprints/field/cover.yml`
          cover: fields/cover
          date:
            type: date
            time: false
            default: now
          author:
            type: text
          authorlink:
            type: text
          caption:
            type: text
          category:
            label: Category
            type: radio
            options:
              essays: Essays
              reviews: Reviews
              images: Images
              lectures: Lectures
              interviews: Interviews
          pinned:
            label: Pinned
            type: toggle
            text: 
              - "no"
              - "yes"
          # Fields types can be added using the shortcut `fieldname: true`
          # (however, you can only use a fieldname once per page and this only makes sense for simple fields without configuration)
          # tags: true
      files:
        type: files
        template: blocks/image

Hm, if the other fields before and after caption show up, the caption field should appear as well.

The fields after caption don’t show up. sorry, forgot to include that piece of information. Any idea what could be causing this?

As I already wrote above, you might have an issue with the correct indentation, please double-check, I’m pasting a working version here:

# Each page blueprint must have a title, the title may be different from the file name
title: Post

num: date

icon: 📖

status:
  draft:
    label: Draft
    text: The note is still in draft mode. It can only be seen by editors with panel access.
  unlisted:
    label: In Review
    text: The note is online and can be visited with the direct URL. The team must still give the final go to publish it.
  listed:
    label: Published
    text: The note is online and listed in the blog


columns:
  - width: 2/3
    fields:
      text:
        type: blocks
        fieldsets:
          - text
          - image
          - video
          - markdown

  - width: 1/3
    sections:
      meta:
        type: fields
        fields:
          cover: fields/cover
          date:
            type: date
            time: false
            default: now
          author:
            type: text
          authorlink:
            type: text
          caption:
            type: text
          category:
            label: Category
            type: radio
            options:
              essays: Essays
              reviews: Reviews
              images: Images
              lectures: Lectures
              interviews: Interviews
          pinned:
            label: Pinned
            type: toggle
            text:
              - "no"
              - "yes"
      files:
        type: files
        template: blocks/image

you’re an absolute hero. didn’t think it could have to do with indentation. I really appreaciate the quick effective support on this, thank you :slight_smile: