Access namespace files
Hello, guys!
I want to get access to the folder where all files of the namespace are stored using COS. I found a way to get access to class files and found a folder where all csp, html, css etc files are stored.
However, is there any folder which contains all files(even .mac and .int)?
Or, probably, there is a method which gives all files content?
Every routines stores directly in database, so, you can't just open it as any file on your filesystem as well as you do it with csp files.
but you can open it with %RoutineMgr class, something like this
if you also need to get list of such files, you can use query StudioOpenDialog in %RoutineMgr class
Hi, Rustam!
A lot of Caché code parts (classes, mac and int routings, DFI's etc) are stored in the database itself, not in files. They should be exported some way to be presented in files.
I see you have already the way to export classes, so I believe you can repeat similar code logic to export mac and int code part into the files in the same or another OS folder.