Luis Carriço
01/16/2024, 2:27 PMFrancisco Antunes
01/16/2024, 2:41 PMLuis Carriço
01/16/2024, 2:42 PMFrancisco Antunes
01/16/2024, 2:55 PM"deprecated" : "1"
flag). In order to fix this, it would be necessary to first un-hide the missing attributes, and then delete them properly via the LDM screen. Here is how to do that via the Grey Pages:
• We start by accessing the Grey Pages for each missing label, via the URL with the following structure: https/{HOSTNAME}/gdc/md/{WORKSPACE ID}/obj/identifierlabel.merchant.merchantidshort
◦ note that you need to replace the bit after identifier:
with each label’s name (copied from the mapping validation logs). I used label.merchant.merchantidshort
as an example here.
• You will end up on the Gray Page of that label (not the attribute) - basically a metadata definition in JSON
• on that page locate "formOf"
(it will be somewhere around the top part and there will be a link (/gdc/md/{WORKSPACE_ID}/obj/{SOME_NUMBER}. Click this link
◦ You will end up on the Grey Page of the attribute. Scroll all the way down to the meta
section and you should see "deprecated" : "1"
there.
• To unhide follow these steps:
◦ check that the URL is https:/{HOSTNAME}/gdc/md/{WORKSPACE_ID}/obj/{SOME_NUMBER}
◦ add ?mode=edit
at the end of the URL and hit Enter
◦ the contents of page will load in a simple text editor
◦ scroll all the way down and change the "deprecated" : "1"
to "deprecated" : "0"
. Do not modify anything else.
◦ hit “Submit”
◦ your attribute should now be restored and visible in the UI
Once that’s done you will be able to see them in the LDM again. Then, you can proceed to delete them via the LDM Modeler instead, which should properly remove them.
Let me know if you have any questions or run into any trouble during this process!Luis Carriço
01/16/2024, 4:10 PM