OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Enable glossary term ID as an alternate to FQN for stable external references

Open leroykahn opened this issue 1 year ago • 9 comments

Is your feature request related to a problem? Please describe. When using glossary term URLs (consisting of FQN) to reference these externally (e.g. from Word, Google Docs, Confluence, Notion, etc) these will break when the glossary term name or hierarchy changes, that is, the links no longer work.

Describe the solution you'd like

  1. Glossary term URL should work with the FQN or ID (uuid) Version URL example that works: https://host-name/glossary-term/757ca37a-b574-41da-9d63-eda54fefadbb/versions/0.5

As per image:
Image just providing URL part in green box with ID should resolve to glossary term overview page.

  1. Glossary UI should provide ability to "Copy URL based on ID"
    Image

Describe alternatives you've considered We have been using the version URL above with term id as a stable workaround for external links but when the version is updated this becomes outdated - it does not show latest version so users have to find this in version history and then select latest version.

Additional context Also mentioned here.

leroykahn avatar Oct 14 '25 11:10 leroykahn

Hi, @leroykahn I have implemented the following. Please let me know if it meets your requirements.

Image
  • Copy URL based on FQN :http://localhost:8585/glossary/Asset%20Securitization
  • Copy URL based on ID:http://localhost:8585/glossary/0b95db8e-7e83-4cbd-a00f-ee6931f6505b

when changed: Image

  • Copy URL based on FQN :http://localhost:8585/glossary/Asset%20Securitization%20v2
  • Copy URL based on ID:http://localhost:8585/glossary/0b95db8e-7e83-4cbd-a00f-ee6931f6505b

Code-Eat-Rabbit avatar Oct 29 '25 02:10 Code-Eat-Rabbit

@Code-Eat-Rabbit Amazing, thank you!

leroykahn avatar Oct 29 '25 11:10 leroykahn

@sonika-shah @karanh37 can you check this!

mohityadav766 avatar Dec 02 '25 06:12 mohityadav766

@leroykahn I do not understand the requirement here, If you have URL with ID it won't work Can you help us with use case you are trying to address? Please mentioned OM version We did fix few issue on glossary term rename that might be resolve your issues @karanh37 @sonika-shah @Code-Eat-Rabbit We won't be able to consider your PR since that URL not make sense in actual use case

chirag-madlani avatar Dec 04 '25 11:12 chirag-madlani

Hey @chirag-madlani - that's what we are trying to fix! Use Case:

  1. Copy the URL of a term to a Google Doc / Word Doc / Confluence page (external reference)
  2. Change the Name (not Display Name) of the term
  3. Now click the link in the external reference - it does not work We will have hundreds of these external references and term names can change at any time so better to use stable ID that does not change like Atlan has implemented. OMD version 1.9.9 - I do not see anything in releases re: glossary term rename after this version - can you please point me to this / these?

leroykahn avatar Dec 04 '25 22:12 leroykahn

OK above PR was just allowing you to copy with ID but that link won't work as that link is not known to OM

chirag-madlani avatar Dec 05 '25 04:12 chirag-madlani

@leroykahn Can you help me more with why you need to change the name and not displayName? Name is more of a technical property which shouldn't be change frequently, that's why we have disaplyName as alternative

chirag-madlani avatar Dec 05 '25 04:12 chirag-madlani

Hey @chirag-madlani This would happen any time there is a refinement/refactor of the enterprise data model e.g. 1 we just found out that "Consumer" which usually means Individual Customer was actually physically modelled as Account Holder. Making this change in the Display Name and not the Name would just be confusing for users.
e.g. 2 Finance approved a definition for "Account" but now we have to move it under GL entity and rename it to distinguish this from Customer_Account
Agree, term names should not be changed frequently but any time it does, all related external links break impacting user engagement.

How difficult would it be to change OMD to accept ID in URL considering it already does this for viewing versions? Image

leroykahn avatar Dec 07 '25 21:12 leroykahn

Won't be supporting this, not in plans for now.

karanh37 avatar Nov 04 '26 11:11 karanh37