go to post Dmitrij Vladimirov · Sep 29 If it is pure ObjectScript how to write IF ELSE statement in %expression for example? Or can i use RETURN stetement? There are situations when you need to return a specific value. The Range expression doesn't work, for example, when you need to determine the display value for Null. So there's only one wayIF 'value {return "Value is False"} else {return "Value is True"}But this is wont workI can still define a class method inside the cube and reference it from within, for example, %cube.CustomLogicClass(%source.DBValue), but that seems redundant. It leaves my cube looking cluttered with simple functions containing only if-else logic.
go to post Dmitrij Vladimirov · Sep 27 Thanks for the information, but I would like to see more comprehensive documentation. Such feature rich application and no solid docs anywhere. I think i would create an idea on Ideas Portal about it.
go to post Dmitrij Vladimirov · Sep 27 I noticed you've stopped publishing app quality reports since january 2025. Why? You can publish the same information in the moderation section. Reviews aren't useful anywhere except for the app's rating on the platform. Quality reports, on the other hand, show how well developers take care of their apps.
go to post Dmitrij Vladimirov · Sep 13 You should place tag #Beginner on your article to help people find it
go to post Dmitrij Vladimirov · Sep 12 Here is your Plotly code. fig = go.Figure( data=[ go.Bar( y=df['category'], x=df['debit'] ) ], layout=go.Layout( title='Total Monthly Cost' ) ) You should convert df to a list to pass the data to the graph. Since it takes an array, it cannot display a data frame.Try it like this:df['category'].tolist() df['debit'].tolist()
go to post Dmitrij Vladimirov · Aug 12 I reproduced your case on our data, and yes, the problem is with treeMap. The problem is in the columns. If your pivot table has columns (in your case, years), DeepSeeWeb does not know how to display them on the treeMap. As an experiment, try removing years from the pivot table and see if any labels appear there.I am part of the team that supports DeepSeeWeb. I'll create an issue for our front-end department
go to post Dmitrij Vladimirov · Aug 11 HiCurrently there is no issue with displaying labels on the treeMap. What version of mdx2json and DeepSeeWeb do you use?
go to post Dmitrij Vladimirov · Jul 22 Also check this dochttps://docs.intersystems.com/iris20251/csp/docbook/DocBook.UI.Page.cls?...
go to post Dmitrij Vladimirov · Jul 22 @Phillip Wu This code is mostly ok but there is not need to use $NEW NAMESPACE
go to post Dmitrij Vladimirov · May 20 Thanks for the clarification. Now that you've answered, I feel embarrassed by how easy it was to set the default data source. But I must say, the error message is a bit confusing. If there's no way to set a default key:value pair from a termlist, why is the default editor available?
go to post Dmitrij Vladimirov · May 9 Thanks for the reply.CASCADE means that the data is deleted also in parent and child tables, RESTRICT means that only parent data is deleted. Changing the default RESTRICT does nothing, the data is still thereAny other option? UPD: i've managed to delete data with UPDATE TABLE table SET column = NULL But issue is still open, why %DELDATA do nothing
go to post Dmitrij Vladimirov · Mar 25 As far as I understand from your answer, I have no choice but to apply some hacks to my data. This is unfortunate. I was thinking about using a hash too. I think I will do that.
go to post Dmitrij Vladimirov · Feb 10 The code piece that reading file If '$IsObject(pStream) { Set tFilename = pStream Set pStream = ##class(%IO.FileStream).%New() Do pStream.Open(tFilename,,pTimeout,"UTF-8", .tStatus) If $$$ISERR(tStatus) Quit }
go to post Dmitrij Vladimirov · Oct 24, 2024 Thanks for the answer. If i understand correctly, this specific line should be place inside REST API for make audit to work? So, if i don't have any access to the REST API code the desired audit is not possible?
go to post Dmitrij Vladimirov · Oct 23, 2024 Hi! Thanks for your answer. I've read the docs through out couple times to find the explanation but did not find any. I'll try to express my self more crystal Suppose i have some myUI app in my IRIS instance. This myUI using DeepSee REST API to get the data. I need to get track of any activity on that UI at any time (in general when a user requests the data) What should i need as the audit source? myUI? Some endpoint from API? Some class executing by this endpoint?Documentation says:"Event Source* The component of the InterSystems IRIS instance that is the source of the event. For InterSystems IRIS events, this is “%System” or “%Ensemble”. For user-defined events, the name can be any string that includes alphanumeric characters or punctuation, except for colons and commas; it can begin with any of these characters except for the percent sign. This can be up to 64 bytes."Ok, what string? How any random string can be serve as audit source? Same for the audit type I get that the string represents my app or part of it, but how that will track actions from myUI?
go to post Dmitrij Vladimirov · Aug 26, 2024 I asked him about SQL-Type KPI. Specifically about getting filters of the entire dashboard inside the KPI. AI says it did not know anything and sent me to ask the community about it.
go to post Dmitrij Vladimirov · Jun 21, 2024 Why do DeepSee REST API v3 methods use the deprecated %ZEN.Auxiliary.jsonMDXProvider?
go to post Dmitrij Vladimirov · Feb 2, 2023 It is very useful! At first it gave out "The web application does not exist." Then I create it manually and then the response was "Illegal web request". This is something to start with! Thank you.
go to post Dmitrij Vladimirov · Feb 2, 2023 The WritePivotVariablesForCube upon debug however return proper response { "children":[ { "name":"Year", "caption":"Year", "defValue":2018, "context":"literal", "desc":"" } ] }