I am not able to delete empty MetaAssociationEnd its Absolute Identifier (ID) : "83F48E4E57344C2C", Because of this i am getting compile and translate errors. so please give me a solution for this to delete using script or some other way ...
Please find the Attachments
Thanks in advance .. !
Solved! Go to Solution.
Hello Colruyt Team
Deleting a MetaAssociationEnd means in fact deleting a MetaAssociation with both MetaAssocationEnds.
This is not a common action and deletion from Mega.exe is prevented to ensure metamodel consistency as much as possible.
If you do not want to use a MetaAssocation any longer, it is recommended to hide it.
If the metamodel is already inconsistent for some reason, it is recommended to use a .MGR command file to delete the MetaAssocationEnd involved (it they exist, delete also MetaAssocation and the opposiste MetaAssociationEnd)
I only created that MetaAssociation and that Ends for temparary usage, related Metaclasses and MetaAssociation are deleted by me but only this metaAssosiationEnd was balanced, that is not allow to delete so can you please provide .MGR file to delete??
Please specific the name/idabs of what remains and has to be delete
MetaAssociation 'XXXX' idabs 'XXXXXXXXXXXX'
MetaAssociationEnd1 'XXXX' idabs 'XXXXXXXXXXXX'
MetaAssociationEnd2 'XXXX' idabs 'XXXXXXXXXXXX'
We need this information to build the appropriate .detete commands
Acually the main problem with this empty MetaAssociationEnd is geting Translate and Compile Errors, even not allowing to give name or rename as well as delete also. This MetaAssociationEnd is not connected with any MetaClass and MetaOppositeClass.
MetaAssociationEnd Name is empty (No Space), just ""
MetaAssociationEnd "" idabs "83F48E4E57344C2C"
83F48E4E57344C2C is not an _idabs, it is an _hexaidabs
If the name of MetaAssociationEnd is empty, you can used the _hexaidabs
You need to identify the ID in 2 formats
_idabs (12 char long), ex C05FC44557467C88
_hexaidabs (16 char long), ex: 9)5m5HiHNX8V
Then you can create a .MGR command file with like this
.Delete ."MetaAssociationEnd" "C05FC44557467C88" - .CHK "9)5m5HiHNX8V"