Congratulations to all the participants and winners!
- Log in to post comments
Congratulations to all the participants and winners!
Oh, wow! It's so cool to be recognized not in 1 but 2 nominations! Congratulations to everyone!
Congratulations!
Wow, this is really cool in a very scientific kind if way.
For something like this, you can use a Learning Lab, it's free: https://learning.intersystems.com/course/view.php?id=929
Congratulations to the winners! Well done! Hope you had fun doing all the daily challenges!
I'd agree with @David Hockenbroch - if you have a UI, you will most likely find it easier to work with a csp page like a usual html and all that. But if you don't have a UI (or it's super simple), then you would create a cls file and extend the %CSP.Page.
Merry Christmas and Happy New Year!
I'm a translator again 😭
.png)
Wow, lots of events - online and offline this season!
Congratulations to all the winners and participants, particularly to @Anna Diak and @Andrii Mishchenko - I am so very proud of you!
It's a shame, I feel like there is often something going on with Cloud SQL. Especially during contests 😄 That's why I don't feel confident to incorporate it in my course 😢 - I ask my students to use it and then they can't even set it up without a fuss.
The command doesn't know. That's why you need to check the SQLCODE variable.
If SQLCODE = 0 then the row exists and it was updated. If SQLCODE = 100 then the row doesn't exist. If it not equal to either then you have a problem.
Example for Embedded SQL:
&SQL(update WH.Size
set Height = 1000
where %ID = 10)
write SQLCODEExample for Dynamic SQL:
SET myquery = "update WH.Size set Height = 1000 where %ID = 10"
SET tStatement = ##class(%SQL.Statement).%New()
SET tStatus = tStatement.%Prepare(myquery)
SET rset = tStatement.%Execute()
write rset.%SQLCODENot sure what you mean by "if the row exists" in regards with insert. The row does not exist, because you're creating it.
Awesome! The more, the merrier!
I'd say in general, having a structured data with the actual names of fields is much better than "parsing" the text with delimiters. So I would vote for FHIR. Maybe at some point there will be a better way to represent data - and it is OK - and people will switch to it. The main idea - not to make it painful on the developers to rewrite everything!
Thanks, I told her to reach out to WRC.
Congratulations to the winners! Well done!
This is a great list of resources for the beginners!
Awesome! So many interesting things!
Congratulations, well done everyone!
I know, but it's not a question of examples, it's more a question of appreciation. There was another one interesting quiz question that actually prompted me to write this idea, I just don't remember what it was about. So, I think it would bring pleasure to authors of quiz questions to see that others like their work.
Yep, that was my first thought - can you change Property Organizations As list Of Organization; to parent/children Relationship? In this case you will get automatic cascade delete. You'll have
Relationship Responce As GetOrgUpdatesResponse [ Cardinality = parent, Inverse = Organizations ];
Relationship Organizations As Organization [ Cardinality = children, Inverse = Responce ];And it suggests that each responce has its own organizations objects that don't repeat.
Otherwise, you will have to delete them manually 1 by 1 in callback method %OnDelete for example
/// This callback method is invoked by the <METHOD>%Delete</METHOD> method to
/// provide notification that the object specified by <VAR>oid</VAR> is being deleted.
///
/// If this method returns an error then the object will not be deleted.
ClassMethod %OnDelete(oid As %ObjectIdentity) As %Status [ Private, ServerOnly = 1 ]
{
Quit $$$OK
}Can you open in your browser the address that you have in parameter LOCATION%SOAP.WebClient? You should at least get an error "Invalid action" if your SOAP server is created in IRIS.
Where is the code for PersonSets2()? And how do you connect to external database?
In IRIS there are no built-in constructors. Classes that don't inherit from a system class are usually used as storage for class methods. Therefore, if you want to create an object you need to inherit your own class from one of the system classes, like %RegisteredObject (won't save your objects to the database), %SerialObject (won't save your objects to the database on its own), %Persistent (will save your objects to the database) etc. For example:
Class Sample.Header extends %Persistent
{
Property Key As %String;
Property Show As %Boolean;
}You're not executing it:
vism1.Execute(cmd);To make it shorter, can be
vism1.Execute('$$Check^logininput()');
sResult:=vism1.Value;You can also find an example in this GitHub repository.
For me it's a horrible news 😭 I really prefer to use Studio when explaining how to create properties (particularly relationships) and queries (particularly Class Queries based on COS) to students who see IRIS for the first and the last time during my classes. And when something goes wrong (and it does a lot of the time) it's usually easier to ask them to delete the code that produces error and rewrite it while I'm looking than to figure out what's wrong with it. And if it something more complicated than simple properties it can take a lot of time.
Besides, not all students know (and want/need to learn) how to use VS Code and look for proper plug-ins, extensions etc. It will really make my life that much harder.
This is a great opportunity to take and exam for free in a nice friendly setting. Therefore, I would definitely recommend using this opportunity.
From what I understand in the article, in Caché 5.0 and earlier versions the modern Management Portal is called System Management Portal.