Hi, Is there any to get any cdt's reference by its name like we have getrulereferencebyname function?
eval() function does the trick but as its internal function and not recommended, i will avoid it.
Thanks
Discussion posts and replies are publicly visible
I try to avoid doing such things in general. What do you try to achieve?
We have all the cdts in child application which are being called in a rule that is present in parent application. Now we can't deploy parent app first as it will have missing precedents(cdts) or vice-versa. Or we can say it is a circular dependency.
I understand. But refactoring your app to use a really bad and unsafe design practice will only create other problems.
Did you consider putting all CDTs into a separate package and deploy that first?
Can you deploy both apps at the same time?
I second Stefan's suggested approach of maintaining a separate specialty application from which to first deploy data structures. This vastly simplifies the issue of inter-app dependency, and there are basically zero drawbacks (we don't pay extra money per app package created, for instance).