Custom Asset Label

Hey @rich,

is it possible to add a Infill/Text to the LABEL Meta?

public static final AttributeDescriptor<String> EXAMPLE= new AttributeDescriptor<>("example", ValueType.TEXT,
    new MetaItem<>(MetaItemType.LABEL))

and also when i add a, f.e. MetaItemType.SHOWONDASHBOARD, can i add a “false”?

Hi @Denis,

Apologies for the delayed response.

You can indeed specify the value of the MetaItem when you instantiate it:

new MetaItem<>(MetaItemType.READ_ONLY, false),
new MetaItem<>(MetaItemType.LABEL, "Build")

Hope this answers your question(s).

1 Like