Evgeny Shvarov · Aug 19, 2025 go to post

I guess DC AI bot takes only the post body into the consideration thinking the title is a summary of the post. I this case title is one question and post body is another one.

Evgeny Shvarov · Aug 18, 2025 go to post

In anyways, there are folks on the community that can help even with these already undocummented stuff )

Evgeny Shvarov · Aug 18, 2025 go to post

$zel, $zlp - two new ObjectScript functions in one day after more than 10 years in InterSystems... Love this community! )

Evgeny Shvarov · Aug 18, 2025 go to post

Great app, @Raj Singh ! thanks for the contribution!

Adding two more "cents" for different LOAD DATA usage options:

1. csvgen app, which allows you to create a table and import data automatically as simply as:

do ##class(community.csvgen).Generate("/home/irisowner/dev/data.csv",",","package.class")

It will guess datatypes and use LOAD DATA under the hood.

2. And csvgen-ui - a web UI for csvgen by @Guillaume Rongier 

Also, if you are into embedded Python, take a look at csvgenpy, which uses not LOAD DATA, but sqlalchemy.

Evgeny Shvarov · Aug 13, 2025 go to post

I see that coding guidlines for ObjectScript linter should be a document (json? yaml?) you include in your code  repository or reference any file in a github/gitlab and VSCode linter follows it on-the-go.

Or as some ObjectScript.Quality like ruleset, is it possible @Daniel Tamajon ?

Or as a codetidy feature by @Timothy Leavitt, but it's not easy to use.

Evgeny Shvarov · Aug 12, 2025 go to post

Great points, Dima. But I think any discussions make sense - this is how people communicate and exchange ideas, as you did in your post as well. We could request ObjectScriptQuality to add a profile that will enforce the rule and also, there is a linter in VSCOde ObjectScript - maybe it is possible to request the change in it too.

The idea of an open-source parser for ObjectScript - a good one, do we have it published on the ideas portal?

Evgeny Shvarov · Jul 12, 2025 go to post

Exciting initiative!

I think this line in Update is "orphaned":

set myobj = ##class(%Library.DynamicObject).%FromJSON(%request.Content)  
Evgeny Shvarov · Jul 10, 2025 go to post

@Justin Millette, there are more settings to enable in the system to allow delegated access, e.g. a system-wide setting, mentioned in this great @Pravin Barton's article , also there is another one from @Yuri Marx 
 

Also, I don't recommend using the WebApplication tag as it is not working properly yet; there is at least one important bug not solved: for example , CSPApplication works quite well. 

Also, I see %all - I hope this is for development/demo usage only, as it is quite a generous role to use.

Evgeny Shvarov · Jul 1, 2025 go to post

I agree. I changed it to "not read-only" as I wasn't to manage unit-tests without it :) 

Don't know how to mark an object "modified" - otherwise, %Save() doesn't trigger the calculated property to update.

But I agree - read only is much better.

Evgeny Shvarov · Jul 1, 2025 go to post

Thank you, Kai! Do you have any examples where the case-sensitive principle can be used, e.g., with C++ or C# and InterSystems ObjectScript class properties? 

Evgeny Shvarov · Jun 30, 2025 go to post

Right. So, what is the reason, or if you may, what are the benefits of properties to be case sensitive?

Evgeny Shvarov · Jun 30, 2025 go to post

Exactly. And as I mentioned above, you cannot compile such a class with properties that differ only in case. What are the benefits of properties being case sensitive? Don't see any.

Evgeny Shvarov · Jun 30, 2025 go to post

How do you mean "use case"? You just shouldn't bother about the case of property names in IRIS while sending a JSON from your frontend to the IRIS REST-API. Like you don't care while sending it vs any SQL engine backend.