go to post Oliver Wilms · Jun 29, 2020 To force text to stay inside the width of a rectangle, use this: text-anchor="start" textLength="#(wbw-1)#" lengthAdjust="spacingAndGlyphs"
go to post Oliver Wilms · Jun 12, 2020 Hello, I hesitate to use any libraries as I work for Department of Veterans Affairs and they are very picky what is allowed. I see that Ens Portal Production Configuration has dot indicators for status green is okay or red is error and it also draws lines between connected components. It is SVG. I was able to draw rectangles, circles, and lines. The code creates rect elements for boxes and text elements for text. My question is how can I force text to wrap and stay inside a rectangle?
go to post Oliver Wilms · Jun 12, 2020 Good morning Vic, Yes, we want to be able to have multiple productions in containers pulling files from one location. I do not want to use different FileSpecs, because if one container goes away because of scaling down or error, I want the remaining container to continue processing. I agree that work path helps, because when one container processes the file, it is moved to work path, and not visible to others monitoring the file path. When we tested the file lock option with two containers processing 56 files, it appeared to avoid collisions. The other option appears to be more complex especially with variable number of containers.
go to post Oliver Wilms · Jun 12, 2020 Set user = "UnknownUser"Set role = "Services_Role"Set tSC = ##class(Security.Users).AddRoles(user,role)
go to post Oliver Wilms · Jun 11, 2020 Hello, I created a new role in my Installer class. How can I add the new role to Unknown User in Installer class? Thanks, Oliver
go to post Oliver Wilms · Jun 5, 2020 I have uploaded part of the block diagram our boss likes a lot because he can see messages flow (arrows), message types (lines), and points of contact (on the right) on one page. The green check marks indicate everything is okay. If something goes wrong, the numbers refer to the points of contact on the right so support knows who to contact. I envision there will be drill down to more details. I do not want to represent the diagram pixel by pixel, but I look for ways to draw lines and arrows.
go to post Oliver Wilms · Jun 5, 2020 Class Ens.Config.DefaultSettings Extends (%Persistent, %XML.Adaptor). So it is fairly easy to write a class method to update the Default Settings based on Environment var ISC_DATA_DIRECTORY. Next question is, when to call this class method. On Container start? How does this work? On Production start might work but it really only needs to run once. I guess I could check if it already ran, and do not go through all settings each time production starts. If you read this, thanks for your attention and have a good weekend
go to post Oliver Wilms · Jun 5, 2020 I just tested write $System.Util.GetEnviron("ISC_DATA_DIRECTORY") and it returned the ISC_DATA_DIRECTORY of the persistent instance. Currently our application gets file path for file services and operations from System Default Settings. What is a good way to update the System Default Settings based on $System.Util.GetEnviron("ISC_DATA_DIRECTORY")?
go to post Oliver Wilms · Jun 5, 2020 Conor, I agree that each persistent instance needs to have unique ISC_DATA_DIRECTORY. Like you said, they maybe subdirectories under the same directory like /data/data_instA and /data/data_instB, etc. If I want to deploy the same code in two or more containers, our application has file path for File Services. If I get access to ISC_DATA_DIRECTORY such as /data/data_instA or /data/data_instB, I can configure unique file path for each container. Otherwise, if more than one instance has File Service watching the same directory, they may conflict when processing and then moving the file. This can be avoided by having unique file path per container OR unique file spec so two containers do not try to access the same file. I just searched and found $system.Util.GetEnviron(). I will test if this gives me ISC_DATA_DIRECTORY when container is starting or running.
go to post Oliver Wilms · Jun 4, 2020 This looks like exactly what I was looking for. Thank you, Jeremy !!!
go to post Oliver Wilms · Jun 4, 2020 This post is not really about the monitoring metrics, it is about trying to achieve certain look on the front end display.
go to post Oliver Wilms · Jun 4, 2020 Good morning Eduard, I have looked at class documentations. Config.* classes are persistant, but I did not see the data server in there. I would use the classes to edit iris.cpf? I think I should check for this before starting the application IRIS container. I will look more into this soon.
go to post Oliver Wilms · Jun 3, 2020 Eduard, Can you please provide a hint what class to look at for ECP setup to connect to a data server? Thanks, Oliver
go to post Oliver Wilms · Jun 3, 2020 Good morning Eduard, What are DM or AM instances? Do you know if %Installer can setup ECP connection to a data server and also define a remote database to the same data server in code? By the way, the remote database is a mirror database. Thanks, Oliver
go to post Oliver Wilms · Jun 3, 2020 I like to export my project at certain times and later use winmerge to compare and see what has changed. I think to create a utility to automate the fiddle the xml files to compare like neutralizing creation time and compile time. Maybe remove storage from xml when possibly moving code from iris to cache. I just need to find the correct open to be able to read from the beginning of a file. I get error an end of stream error when I try to read from file.
go to post Oliver Wilms · May 30, 2020 Alex, I loaded the VMX programs in a different namespace. I see the picture when I run mx.xlsb. I read your instructions: After opening first sheet, click button [] ##class(SYS.Stats.Dashboard).Sample() Then press button [design-mode] (top of screen ). I cannot tell what button to press first and the design button is not clickable.
go to post Oliver Wilms · May 28, 2020 So I also tried Activate Wizard. Found it in my HealthShare but not in IRIS CE. Once in Activate Wizard, I do not see Excel.
go to post Oliver Wilms · May 28, 2020 Alex, I installed MX on my personal desktop. I configured one connection to IRIS. I run mx.xlsb. I can click on "my connection" and I see four options. I cannot click Design button. Other buttons can be clicked and then I get errors. I am confused. Thanks, Oliver
go to post Oliver Wilms · May 28, 2020 Robert, I added a DSN for an Excel Workbook ODBC 32-bit was my only option on my laptop. When I go to SQL Gateway Connection, I see other DSN but not my Excel DSN. Maybe I will try %Activate next