Hi @Danny Richardson!
I have managed to solve it. I have dedicated a lot of time, but since it was something that many of me needed and I couldn't do it, I needed it too.
The default structure that exists is MXCLASSIFICATION which points to the objects:
1 - CLASSSTRUCTURE
2 - CLASSSPEC (CLASSSTRUCTURE/CLASSSPEC)
3 - CLASSSPECUSEWITH (CLASSSTRUCTURE/CLASSSPEC/CLASSSPECUSEWITH)
4 - CLASSUSEWITH (CLASSSTRUCTURE/CLASSUSEWITH).
It is a structure that points to the classifications, their permissions in the different applications, their attributes and their permissions in the applications.
I tried every way to query this structure and manipulate it to remove certain attributes and couldn't. Always, when using DELETE and obviously (since the structure points to CLASSSTRUCTURE), deletes the entire classification. and if you use a SYNC deleting an attribute, in my case, it never did anything... the attribute always remains there.
What I did was create a new object structure:
MF_CLASSSPEC that works on objects:
1 - CLASSSPEC
2 - CLASSSPECUSEWITH (CLASSSPEC/CLASSSPECUSEWITH).
That is, my intention with this was to target the attributes and their authorizations and then try to use DELETE to see if it deleted them.
This worked with this MxLoader that I share.
Regards!
------------------------------
Martin Fabra
ARSAT S.A. - Actively seeking employment
------------------------------