I’m trying to create a custom selector for content types.

I can find the “long name” of a contenttype from some contents type field.

How can I find the contentType display name?

It must be possible in java at least, cause it is used in Content Studio.

Is there a js api for that? Should there be one?

The icon/iconUrl would be useful too.

There is a Java API, see ContentTypeService, ContentType. But no JavaScript API.

It is possible to create a library to access it in JavaScript.
And it does not necessarily need to be a library that is included as part of XP.

1 Like

We should probably add this to lib content. Added to backlog.