I have some transient fields that I want to display in read-only textfields and I need them formatted a certain way, so it seems I have to set up a custom datatype to do that. No big deal!
However, following the examples, I have an error displayed in metadata.xml:
Note - everything works fine and the custom datatype works as expected except I can’t select it from the dropdown in the screen designer (because it’s not listed). If I type it in manually in the source code view it all works fine.