18-05-2016 03:46 PM
Hi,
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.
26-05-2016 11:58 AM
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"
25-05-2016 08:32 AM - edited 25-05-2016 08:39 AM
Hello Jhorber,
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"
PFA
Thanks,
Rajasekhar
24-05-2016 02:26 PM
Hello
Please specific the name/idabs of what remains and has to be delete
Ex:
MetaAssociation 'XXXX' idabs 'XXXXXXXXXXXX'
MetaAssociationEnd1 'XXXX' idabs 'XXXXXXXXXXXX'
MetaAssociationEnd2 'XXXX' idabs 'XXXXXXXXXXXX'
We need this information to build the appropriate .detete commands
23-05-2016 07:20 AM
Hello Jhorber,
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??
18-05-2016 04:46 PM
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)