Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

it is possible to hide some collections, for examp...

default discord avatar
Payload-Botlast year
2

it is possible to hide some collections, for example here, media



Original message from @maverick_cr - Moved from https://discord.com/channels/967097582721572934/967097582721572937/1140801124010573834 (in #general)
  • discord user avatar
    tylandavis
    last year

    hey @maverick_cr, you can hide collections using the

    admin.hidden

    property on your collection config:


    export const Posts: CollectionConfig = {
      slug: 'posts',
      admin: {
        hidden: true,
      },
      fields: [
        ...
      ],
    };


    Set to

    true

    or a function, called with the current user, returning

    true

    to exclude this collection from navigation and admin routing.

  • default discord avatar
    maverick_crlast year

    oh, thank you

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team..