List all Persistable types

#1

Is there an way to list all Persistable entities types?

I tried to use:
MetadataStore.tag().graph().usages({element: {name: 'Persistable'}, kind: MetadataRelationKind.MIXES })

but it fails with the following error:

"Error: wrapped NullPointerException at new C3.client.ActionError (https://engie-darwin.c3iot.com/typesys/1/all.js?env=browser&compat:1129:13) at Object.request (https://engie-darwin.c3iot.com/typesys/1/all.js?env=browser&compat:881:15) at Object.call (https://engie-darwin.c3iot.com/typesys/1/all.js?env=browser&compat:566:27) at c3Call (https://engie-darwin.c3iot.com/typesys/1/all.js?env=browser&compat:99:20) at Object._call (https://engie-darwin.c3iot.com/typesys/1/all.js?env=browser&compat:2563:20) at C3.typesys.Obj.eval (eval at get (https://engie-darwin.c3iot.com/typesys/1/all.js?env=browser&compat:3046:20), <anonymous>:5:22) at <anonymous>:1:4"

PS: We are in 7.6

0 Likes

#2

You can get them with Persistable.mixersIn().

0 Likes