go to post Henrique Dias · Jul 21, 2020 Hi @Yone Moreno Talking about ObjectScript the InterSystems Community's Github has this guideline for ObjectScript: https://github.com/intersystems-community/cos-guidelines
go to post Henrique Dias · Jul 21, 2020 I was curious about the error mentioned in the article/images and try to create a persistent class using IRIS Studio. I got the same error. @Eduard Lebedyuk , let me ask you a question about IntegratedML as a rookie in this field. Using the example of 6400 columns that you mention, can I use the IntegratedML to create a model, train it through PythonGateway? Or IntegratedML only can be used in persistent classes inside IRIS?
go to post Henrique Dias · Jul 16, 2020 Hi @John Lisa You can use IRIS Management Portal. There is a built-in tool to extract information using SQL. The Path is: System Explorer > SQL Inside the SQL Explorer, you can change to your preferred Namespace and have access to your tables, as you can see in the image below: Hope that helps. Best Regards, Henrique
go to post Henrique Dias · Jul 8, 2020 Hi Robert, That's great! The Caché users thank you for this incredible feature!
go to post Henrique Dias · Jun 29, 2020 I can put a few globals to tracing the method execution. But I'm (almost ) sure that the method was invoked. The only difference between the Installer ClassMethod e the ClassMethod that I'm invoking during the ZPM installation is a Namespace Name. Installer ClassMethod CustomApplicationMetrics() As %Status { New $Namespace Set $Namespace = "%SYS" Set status = ##class(SYS.Monitor.SAM.Config).AddApplicationClass("diashenrique.historymonitor.util.customSensors","IRISMONITOR") Quit status } Invoked during ZPM install ClassMethod CustomApplicationMetrics() As %Status { Set oldNamespace = $Namespace New $Namespace Set $Namespace = "%SYS" Set status = ##class(SYS.Monitor.SAM.Config).AddApplicationClass("diashenrique.historymonitor.util.customSensors",oldNamespace) Quit status } I also executed this line on the terminal on USER Namespace, after I installed the ZPM package. Set status = ##class(SYS.Monitor.SAM.Config).AddApplicationClass("diashenrique.historymonitor.util.customSensors",oldNamespace) But, nothing happened. So, I started to doubt myself and wondering if I'm doing something wrong.
go to post Henrique Dias · Jun 29, 2020 Hi @Evgeny Shvarov The problem is that I don't have custom sensors information when I access the API, and the System Dashboard that uses the api /monitor/metrics shows with error. Actually this is the only problem, the other pages as the System Dashboard default, the System Processes, History Informations pages, everything works fine.
go to post Henrique Dias · Jun 24, 2020 It's great! I tried the application, and I liked the interface and how easy it is to create a simple CRUD using RESTForms.
go to post Henrique Dias · Jun 18, 2020 I added auditing on everything, and the <PROTECT> error never showed up. So, I started everything from scratch and found out a typo on Postman. Thanks, @Eduard Lebedyuk @Timothy Leavitt PS: Sorry, guys. I think not sleeping enough hours isn't good for health and cause this kind of mistakes
go to post Henrique Dias · Jun 17, 2020 Hi @Timothy Leavitt I'm testing the AppS.REST to create a new application, following the Tutorial and Sample steps in Github I created a Dispatch Class: Class NPM.REST.Handler Extends AppS.REST.Handler { ClassMethod AuthenticationStrategy() As %Dictionary.CacheClassname { Quit ##class(AppS.REST.Authentication.PlatformBased).%ClassName(1) } ClassMethod GetUserResource(pFullUserInfo As %DynamicObject) As AppS.REST.Authentication.PlatformUser { Quit ##class(AppS.REST.Authentication.PlatformUser).%New() } } And a simple persistent class: Class NPM.Model.Task Extends (%Persistent, %Populate, %JSON.Adaptor, AppS.REST.Model.Adaptor) { Parameter RESOURCENAME = "task"; Property RowID As %String(%JSONFIELDNAME = "_id", %JSONINCLUDE = "outputonly") [ Calculated, SqlComputeCode = {Set {*} = {%%ID}}, SqlComputed, Transient ]; Property TaskName As %String(%JSONFIELDNAME = "taskName"); /// Checks the user's permission for a particular operation on a particular record. /// <var>pOperation</var> may be one of: /// CREATE /// READ /// UPDATE /// DELETE /// QUERY /// ACTION:<action name> /// <var>pUserContext</var> is supplied by <method>GetUserContext</method> ClassMethod CheckPermission(pID As %String, pOperation As %String, pUserContext As AppS.REST.Authentication.PlatformUser) As %Boolean { Quit ((pOperation = "QUERY") || (pOperation = "READ") || (pOperation = "CREATE") || (pOperation = "UPDATE")) } } But when I try the REST API using Postman GET: http://localhost:52773/csp/npm-app-rest/api/task/1 I'm getting a 404 Not Found message. Am I doing something wrong or missing something? Thanks
go to post Henrique Dias · Jun 11, 2020 Hi @Eduard Lebedyuk I want to generalize, and not every Namespace will be an Interoperability production.
go to post Henrique Dias · Jun 6, 2020 Hi @Oliver Wilms One of your approaches could be to simplify your diagram to create blocks using divs and make it easier to understand and show what you want in a more straightforward way, using CSS and simple javascript/jQuery. The other one can be using different libraries that give to you power to create any diagram you want I found a few libraries that could be useful in your journey. https://modeling-languages.com/javascript-drawing-libraries-diagrams/ One of them that calls my attention was: https://gojs.net/latest/samples/index.html Hope that helps Best Regards,Henrique
go to post Henrique Dias · Jun 6, 2020 Maybe I'm wrong, but the minimum requirement here it's because you don't have %JSON.Adaptor on Caché.
go to post Henrique Dias · Jun 5, 2020 Hi @Oliver Wilms I think it would be better for us to understand and try to help you if you provide a kind of sketch of your idea.
go to post Henrique Dias · Jun 4, 2020 @Timothy Leavitt this is amazing! I'll be making use of it in my application :) I was looking into the OpenExchange description, and in the Tutorial and User Guide, I think the links are broken. I got a "Not found" message when I try to access the URLs. https://openexchange.intersystems.com/docs/sample-phonebook.md https://openexchange.intersystems.com/docs/user-guide.md