Can I create a field that's read-only for users in the UI?

  • 29 June 2023
  • 0 replies

I’m thinking about how I might clear the cache for a specific page on my CDN when an entry is changed. One idea is to update entries with the url of any page they are added to via a webhook that triggers when pages are updated.
    For this, I’d want a field where I can add the url via API, but not via UI. I’ve seen documentation about metadata, but it seems metadata needs to be associated with an extension for some reason. I also don’t see a way of creating or reading metadata using the javascript sdk.

   Can I create this kind of read only field? And if not, do you have any suggestions for how I might otherwise determine when to clear a cached page on my CDN?

0 replies

Be the first to reply!