Hi Team, I am trying to build custom entity as a t...
# getting-started
b
Hi Team, I am trying to build custom entity as a top level entity but there is no proper documentation available and how to build so? Can anyone provide some insight to it? I saw recent push in the datahub where datahub team added ownershiptype as a top level entity. It looks that whole datahub needs to be build for top-level entity unlike custom aspect. For custom aspect we can utilise metadata-model-custom, but for custom entity as a top-level entity there is no such method if I am not wrong... But since I have to make custom entity as a top level entity...can anyone from datahub team guide on the same, it would be very helpful.
a
It walks through the ins and outs of extending the model, including adding new entity types
b
Yes - to add a new entity type we have various changes. In the case of the ownership type entity, it was a bit more work because we had to support special functionality around it inside the UI
b
Yes...I saw that extending metadata model documentation and was able make custom aspect and was able to ingest custom metadata under dataset entity. I wanted to know if we make custom entity in the metadata-custom-models and I want show it on the UI then what we need to do? In the doc, https://datahubproject.io/docs/metadata-modeling/extending-the-metadata-model, step 7 is optional, but without step 7 we cannot show our custom entity on the UI right?
a
Unfortunately to have entities appear in the UI, it requires extension with graphQL models and additional react code- so it isn’t no code