Early bird registration for $999 on Solution Developer Conference prolonged until 14th of July. See the details.
- Log in to post comments
Early bird registration for $999 on Solution Developer Conference prolonged until 14th of July. See the details.
Hi, Arun! You are invited.
Hi, Chris!
Have you looked into .NET Managed Provider and Entity Framework? Hope that helps.
This mentioned article was posted in English too.
Hi Jaqueline,
Actually, it might be tricky to compare one week to another same week of the last year. The Same week may belong to different months for two different years.
Anyway you may consider trying with WeekNumber function for Time dimensions having something like this (Samples, Holefoods):

Sure, Jeffrey! You are invited.
Hi, Michal!
Sure! The invitation has been sent. Welcome to the club! )
Hi, Mike! You mean like a journal of all the inputs in descending time order?
Looks like an interesting idea, we'll think about it.
Hi, Wolf! Thanks for the feedback! We'll check what's happened.
Hi, Kishan!
Yes, you don't need DeepSee to develop solutions with iKnow.
And also you can make solutions which combine iKnow and DeepSee.
Hi, Jeffrey!
Would you please provide the link to the deleted post?
Last week we had two spam posts and these posts were unpublished.
Hi, Mike!
Thanks for the feedback. I agree, it's a mess now. This would be fixed.
The idea how to fix:
Accepted answer would be on top (if any).
All the rest answers would be sorted by date asc order.
Comments would be sorted in asc order.
Hi, Fred!
I'm using the following:
do $System.OBJ.ImportDir("/your/dirfor/source","*.xml;*.cls;*.mac;*.int;*.inc;*.dfi","ck",,1)It will import and compile COS code either in XML or in UDL (cls) format.
Hi, Pete!
Thanks for the feedback! We would investigate that.
This is fixed with new DC release.
Hi, Anna!
You are invited! Welcome to Global Masters!
Hi, Rubens!
Thank you for the wide answer, very interesting.
I agree with you on "no subfolders for routines" and separate folder for server-side code.
May I wonder what are you using as IDE (Studio? Atelier? Something else?) and how do you import/export your code with Caché.
There was an issue with unclosed tags in the post. Now it is fixed and I think the bug solved too.
For the case of Github, I think one file per one program/class would be the better approach.
You can use Atelier, like [@Amir Samary] mentioned. And in case you have no Atelier I can recommend also this very simple util: cache-udl
Setup the folder with:
d ##class(sc.code).workdir("your/workdir")And export everything in a namespace with:
d ##class(sc.code).export()
For import use:
d ##class(sc.code).import()
to import all, or:
d ##class(sc.code).importUpdated()
for the recently updated files.
And yes, it exports in UDL. I think for Github UDL is more suitable.
May I ask you, why do you need XML for your code files?
Just add *.INT into the list var:
s list="MyPackage*.INC,MyPackage*.CLS,Folder*.DFI,*.INT"
Hi, Thiago!
You are invited!
You can use $System.OBJ.Export() for it.
For every project where I need it I have a project cheatsheet file, where I have:
s list="MyPackage*.INC,MyPackage*.CLS,Folder*.DFI" D $System.OBJ.Export(list,"release"_$tr($zd($h,3),"-","")_".xml")
So when I need to export the whole project into importable xml file I call these two lines in terminal.
We can change the email in Global Masters to make it compatible with DC to let us count points in GM for your DC contributions. Would it work?
Sure. Also Caché Terminal doesn't work over SSH (AFAIK)
Caché Terminal is only for Windows.
At least you can have the benefits of Caché Web terminal itself:
Code completion (methods, classes, properties, etc), code highlighting, nice SQL shell, endless history, etc.
I think it would be a great thing.
So in case you have open ssh port, you would be able to work in a handy, good looking, fool functional terminal with class code completion, code highlighting and SQL shell.
Definitely, makes sense to me.
Iterating over indexed value can be very helpful.
We have IndexOpen and IndexExists autogenerated methods (article on autogenerated methods) for persistent classes. I'm using these very handy methods a lot.
It would be great if somebody introduce Next/Prev autogenerated methods too e.g. via some NavigationAdapter class to derive from.