Business Glossary setup & maintenance for non-...
# troubleshoot
f
Business Glossary setup & maintenance for non-technical users I am setting up a process for my client, where non-technical people would be responsible for glossaries definition. So it'd be great to allow them change stuff via DataHub UI, but I want to have everything synced back to the version controlled repo (via API calls?). Simple question - is that currently possible?
g
Hey @fierce-garage-74290! Great question- this approach absolutely makes sense. This isn’t something we support out of the box at the moment, but there are a few approaches you can take. 1. Via graphql, you can periodically fetch all glossary terms & nodes and reconstruct the offline versions 2. Using the actions framework (https://datahubproject.io/docs/actions), you can listen to changes to the business glossary and write the updates back in real time. Both approaches would take some manual work at the moment. If you implement one, certainly please do put up a PR to contribute it back! I know a lot of folks in the community would benefit from this
q
@green-football-43791 Could you share with some simple examples from https://demo.datahubproject.io/api/graphiql? Because I’m kinda lost trying to query using docs https://datahubproject.io/docs/graphql/objects#glossaryterms
g
@sparse-advantage-78335 you can use the search api to search through all glossary terms and glossary nodes: https://datahubproject.io/docs/how/search/#graphql
f
If we decide to let users define their business glossaries from the DataHub's web UI there's another topic - if we don't sync them back to the repo, what's the way to go to sync glossaries between different environments (DEV / TEST / PROD)?