go to post Timo Lindenschmid · Oct 20, 2023 Hi Scott, IRIS requires at least one enabled user with the role %All (e.g. superuser) If you got one enabled there is no dependency on the installer user to be enabled. Actually, its good practise to disable that user. Best Regards Timo
go to post Timo Lindenschmid · Sep 8, 2023 Hi, using zf will always be difficult as IRIS is not running a root. You will need to configure the OS to allow privilege escalation for the irisusr, which open quite a big door. Or allow irisusr to start/stop httpd, which might be the safer way. The other options is, if this is only about the application via webgateway contacting the correct primary. 1. set web gateways to be mirror aware 2. configure a VIP address in the mirror and point the cspgateways to this ip address.
go to post Timo Lindenschmid · Apr 5, 2023 So just looking at your SQL,. You got 2 parameters in your where clause. Select ID, Name from MSDS_Common.ComponentSub Where (? is null or %UPPER(Component)[%UPPER(?)) and Active=1 If the first dropdown is null this will always be true if Active is 1 Try changing the where clause to Where (? is null AND ( %UPPER(Component)[%UPPER(?)) and Active=1 This will check if first parameter is empty and if subcomponent contains the second parameter and if its active.
go to post Timo Lindenschmid · Mar 27, 2023 Ben is correct. Apply saves the current state and Update saves and continues the workflow/returns you to the previous screen.
go to post Timo Lindenschmid · Mar 20, 2023 as an alternative you could use to standard traceroute traceroute -n -T -m 5 -q 1 -p 80 hostname.local -p portnumber -T use TCP syn for connects -m max TTL to test If it succeeds it will return all IPs if the IP is not reachable it will only report *.If the port is blocked it will return somethink like 1 192.168.1.198 0.411 ms !X Where !X means admin prohibited.
go to post Timo Lindenschmid · Mar 8, 2023 Hi, if you make some assumptions 1. numbers are always enclosed in curved brackets 2. you want to always return string starting with REASON this could be as easy as just: set mystring="REASON->Blood(1.23)" w "REASON"_$extract(mystring,$find(mystring,"(")-1,*) or if you really want to use regex: IRISHEALTH:USER>set mystring="REASON->Blood(1.23)" IRISHEALTH:USER>set regex=##class(%Regex.Matcher).%New("^([A-Z]*)->.*(\([0-9]*.[0-9]*\))",mystring) IRISHEALTH:USER>zw regex.Locate() 1 IRISHEALTH:USER>zw regex.Group(1) "REASON" IRISHEALTH:USER>zw regex.Group(2) "(1.23)"
go to post Timo Lindenschmid · Mar 3, 2023 Hi Pietro, if you got access try doing a BaselineExport using %Studio.SourceControl.ISC:BaselineExport
go to post Timo Lindenschmid · Feb 20, 2023 Hi, to create a really password less mode enable delegated authentication and create your own zauthenticate.mac that checks for your rules e.g. originating from local ip addresses etc and then logs your user in. refer to: Delegated Authentication | Authentication Guide | InterSystems IRIS Data Platform 2022.3
go to post Timo Lindenschmid · Feb 8, 2023 Hi, the issue is that $ZDATETIME tformat -2 presents posix time to the second. to get the full available precision you could use something like this: set t=$ZTIMESTAMP w t 66513,24732.646579 w $ZDATETIME(t,-2)_$piece(t,".",2) 1675804932646579
go to post Timo Lindenschmid · Dec 14, 2022 Hi, you can use Studio to export all your application into one xml file. This XML file can be imported by anyone. Requirements though are that the user of this application needs an IRIS version installed and licensed (might also be the community edition) . You don't need an IDE to deploy an application (XML package) into IRIS. you just need access to either terminal or System Management Pages or short SMP (management web ui) there you can import the code and compile it so your application is available. Also for application deployment you might want to look at an installer manifest that can do additional configuration that might be required like web application creation, security, database, namespace and global mapping creation etc.
go to post Timo Lindenschmid · Jan 31, 2021 Hi Rick, Iris now supports dynamic entities try something like this: set newArray={}.%FromJSON(tsc) write newArray.%Get("memberId") https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=GJ...
go to post Timo Lindenschmid · Jan 30, 2018 Hi Mack,there are a couple of ways to move the installation across.One very simple way is by ,as already has been mentioned, shutting down cache and then copy the cache.dat files across for example using ftp.Another way is using the build-in backup utility to take a backup and restore the backup on your new system,. this does not require a shutdown of cache on either side.Also make sure you grep a copy of the original cache.cpf file as this contains all the database,namespace and mapping information.You can easily enough modify the new cache.cpf file accordingly (although this requires then a cache restart to activate the changes).Cheers