Hi Lawrence,
This value does default to 2. If you see this value continuously defaulting to 0, please let us know and we can look into it.
Peter
- Log in to post comments
Hi Lawrence,
This value does default to 2. If you see this value continuously defaulting to 0, please let us know and we can look into it.
Peter
Please feel free to create an Issue on GitHub. Please include the CSV file you are trying to use as well
Peter
This is fixed in v1.1.3
I get an error when I try to post a race car emoji, so just image this comment is just a race car emoji
What characters are you seeing in parameters that you don't want to be there? How are the corresponding parameters defined?
![]()
where is this from?
By the way, after running the populate method, the test method outputs the following:
SAMPLES>do ##class(DCSolutions.TwoWayJSONAdaptor.TeacherStudent).Test()
{"Name":"Peter","Teachers":[{"ID":1,"Teacher":{"Name":"Teacher1Name"}},{"ID":2,"Teacher":{"Name":"Teacher2Name"}}]}
{"Name":"Nael","Teachers":[{"ID":3,"Teacher":{"Name":"Teacher1Name"}},{"ID":4,"Teacher":{"Name":"Teacher3Name"}}]}
{"Name":"Teacher1Name","Students":[{"ID":1,"Student":{"Name":"Peter"}},{"ID":3,"Student":{"Name":"Nael"}}]}
{"Name":"Teacher2Name","Students":[{"ID":2,"Student":{"Name":"Peter"}}]}
{"Name":"Teacher3Name","Students":[{"ID":4,"Student":{"Name":"Nael"}}]}
There ARE currently ISC employees in the top 3, so don't give up yet!
Ha, I was planning on making a post tomorrow asking what this was called and how to find more information about it:

Thanks for the information!
I have also included this example in Open Exchange
In Step "2. Install Package Manager client", it says to run the following code:
Do $System.OBJ.Load("/yourpath/zpm.xml") It also needs to be compiled and should probably be:
Do $System.OBJ.Load("/yourpath/zpm.xml","ck")Thanks! This is exactly what I needed
@Kejia Lin
This appears to be a reward on Global Masters. You can also find a quick link at the light blue bar on the top of this page. Once you join Global Masters you can get points for interacting with the community and ultimately use these points to claim rewards, such as the one mentioned here.
My AOC repository: https://github.com/psteiwer/AOC
Have you checked the error codes? Is the file being created?
Set file=##class(%Stream.FileBinary).%New()
Set sc=file.LinkToFile(path)
w $system.Status.GetErrorText(sc)
set sc=file.Write(decode)
w $system.Status.GetErrorText(sc)Are you testing this through terminal or your web API? If you are testing through your web API you will need to log the status codes instead of writing them
Also, I am not sure what the rest of the code looks like, but it will also need to be saved:
set sc=file.%Save()You can just check $$$ISERR(sc) directly here, you do not need to run it through $system.Status.GetErrorText(sc) first.
$$$ISERR(status) will compile into ('status). In the case where sc=1, status will become = "". This means that 'status will evaluate to true when sc=1, which means it will think there is an error when there is not.
USER>set sc=1
USER>set status=$system.Status.GetErrorText(sc)
USER>zw sc
sc=1
USER>zw status
status=""
USER>w ('status)
1
USER>w ('sc)
0Congratulations everyone! Can't wait for next year!
How can I browse files on the server? My ObjectScript explorer is empty when I open VSCode. I configured my settings properly and it says I am connected
It is worth noting that with Atelier, APIs were created to automatically store the classes on the file system. I believe these APIs are used by VSCode's ObjectScript integration also
AnalyzeThis.Utils.cls has a method called RefreshCube.
At one point, this was briefly in then UI. We took out the UI reference since we weren't (and still aren't) sure how this should fit into AnalyzeThis. Historically the goal was to be able to quickly get a personalized preview of DeepSee. It was not intended to be an automatic cube generator. The goal was to let people see the benefit of DeepSee, but then allow them to create their own cube and no longer rely on the generated cube from AnalyzeThis. However, I do know of multiple cases where people are using it as you explain in this case and would like to refresh the data once a new CSV has been produced with updated data.
Please let me know your thoughts on the Pros vs Cons of using the AnalyzeThis generated cube VS using your own cube once you have a model you like and would like to continue using.
Yes, I agree that the article you reference is also helpful. I wrote this article as a guide for someone who is receiving the error message without knowing why this is caused. The other article is perhaps better for someone who knows what is wrong but does not know how to fix it.
Also, it looks like your calculated measure name is the same as your built in measure name. This means you should change to be something like the following:
WITH MEMBER [Measures].[CondicionesContCompleta] ->
WITH MEMBER [Measures].[CondicionesContCompletaCalc]
Hi Eduard,
Please note that the output is hardcoded, so your output for "Time for ElseIf #2" is actually for your If statement
Try with larger numbers. With the smaller numbers, there will be slight variations which can flip the order.
With 1e9:
Time for If: 28.111261 seconds
Time for ElseIf #1: 38.782421 seconds
Time for ElseIf #2: 49.21395 seconds
Time for Else: 48.58113 seconds
Also for your test, the same with my note for Eduard - the output is hardcoded, so the first output line is for i=1, the second is for i=2, the third for i=3, the last for i=4
Are you still able to type?
Is it just Ctrl+C -> Ctrl+V that doesn't work?
Can you right click and use Copy and Paste?
When you use Copy, can you Paste to something that isn't Studio?