Domain Names, API's,
Hi, seeking for a solution. I have a community called Marketing Reference Data Community. In that community I’m performing an action called edit term. This edit term is basically to edit and update the terms. But when I perform the edit action for the term it is throwing an error called unexpected error and the term is getting saved into Marketing Retired Reference Data Sub Community instead of saving it into Marketing Reference Data Sub Community. This is happening with the specific term in a particular glossary. The same edit request is working fine with the other glossaries when performing an edit request for the other terms.My observations from the code code: In the code they have not directly initialized the domain names or id’s of the domains.
def newAssetUuid = assetApi.addAsset(AddAssetRequest.builder() .name(newBusinessTermName)
.displayName(newBusinessTermName)
.typeId(businessTermTypeUuid)
.domainId(draftGlossaryID).build()).getId()
I can see these methods and api’s were used in code.
How can we declare the domain id’s/names.
How to specify a term to save within to that specific glossary.
Thanks in Advance!
sophiemcenteemorris
·3 years ago · EditedHi @gujsruthi.deloitte.com ,
Have you tried using Collibra University to look at workflow examples? I found this really useful when looking at creating business terms, it may be similar for editing.
You could also look at trying the asset ID of the community in the code?