Hello, i’m doing experiments trying to customize t...
# advice-metadata-modeling
i
Hello, i’m doing experiments trying to customize the metadata model. I’ve followed this guide https://github.com/datahub-project/datahub/tree/master/metadata-models-custom and basically I succeeded in adding this aspect to an hive dataset and using the script in the example also got this aspect filled and showed in the UI as a tab. Now, i’m trying to make a step forward, and i’m customizing a dataproduct (the example is on a dataset). I’ve succeeded to change the model and also to insert data on the dataproduct, and also be able to see that in the json payload of that using the cli. I think that what is missing is the UI part for the dataproduct, in fact, i cannot see these data like it happens for dataset. I don’t realize if this is a missing feature, or something is wrong in my model. Any advice here? (Using version 0.11.0)
r
@orange-night-91387 might be able to speak to this!
o
i
Hi @orange-night-91387 thanks for your advise. Looking at the page you linked, they say that with auto-render it should render additional aspects automatically, and for instance in case of dataset it works, but once i use it on dataproduct it doesn’t.
o
Hmm, @bulky-soccer-26729 are you aware of any issues with auto-render not working with newer entities?
b
so it should work with any entity that has a profile page (which data products do) however after looking a little more just now, it just looks like the frontend needs to be updated in order to fetch these aspects for other entity types. so you can see here that we query for these aspects on datasets - you would need to add those lines in the graphql query for getting data products in this fragment here: https://github.com/datahub-project/datahub/blob/master/datahub-web-react/src/graphql/dataProduct.graphql#L7
thankyou1 1