I've recently encountered a HS Caché that won't start informing that Collation 30 is not available, but I have not found an easy way of knowing what collation is 30.
I've found that the following command returns the ones from the current locale, but not from all locales:
Set Rset = ##class(%ResultSet).%New("%Library.Collate:CollationList")
d Rset.Execute()
While (Rset.Next()) {zw Rset.Number_": "_Rset.Name}
I have a SQL Query using %iFind.Highlight which returns text highlighting certain words and phrases. %iFind.Highlight seems to remove cr/lf from the returned text.
Here's my query
ClassMethod Search(pSessionId As %String, pSearchString As %String) As %String { set tTags="<span style='background-color:yellow;'>" &sql( SELECT %iFind.Highlight(Text , :pSearchString , , :tTags) into :results FROM SSA_OCR.TempSearchable where sessionId = :pSessionId) quit results }
I have an existing application on HealthShare 2015 and decide to move it to HealthShare 2018 to make use of Atelier support. I am using Eclipse Photon with Atelier Plugin 1.3.
Most of things are working better on Atelier comparing with Built-in studio of HealthShare. However, when I tried debugging CSP file with Atelier I encounter 2 problems:
I like to validate some use cases and have the following question. I am relatively new to IRIS. Perhaps someone can help:
1. I have a global m[x,y,z,f] distributed across multiple sharded instances 2. I know that i can set assign computed SQL expressions to class variables using Objectscript 3. Is there a possibility in Globals API to do the same ? Set f = x + y as a computed expression in the global m[x,y,z,f] ?
a. We would want to use the global API to change f programmatically using code
Requesting assistance on Intersystems Cache Managed Key Encryption.
We have configured the KMIP Server.
The KMIP server is an external HSM box. I was not able to find any info on Key Rotation and what type of encryption does it follow i.e. 1-tier approach or 2-tier approach.
i want to restrict certain IPs (ip for now and looking for more such parameters) from running my URL for security purposes...
i wanted to know how to access their ips and compare them with the list of restricted IPs, also if not IPs are there any other unique browser parameters which can be used for access control? and enhance security
I'm trying to get the ECP status of 2 servers using $system.ECP.GetProperty("ServerStats") and $system.ECP.GetProperty("ClientStats"), but I'm not able to find the documentation of the values returned:
I've got a class that extends FTP.PassthroughService and utilizes the FTP.InboundAdapter. In Business Service, I have the FilePath set as /tmp and the subdirectory level = 1. How can I access the current file path (/tmp/subdir1) when there are files in /tmp/subdir1/test.txt for example? The ..Adapter.FilePath only returns the FilePath setting in the Business Service/Adapter but not the subdirectory level. Of note, it is a SFTP connection. I can access the %Net.SSH.SFTP from
Working on a project to call a web service and the soap header has custom header elements that need to be signed. i reviewed the %soap.inc and didn't see any appropriate macro
In the purpose of my work, I have to implement a code that will communicate with a restful server coded in JAVA.
To fulfill my task, they gave me the link to the restful server + a certificate to use + the class that's going to be sent back + the names of 2 functions:
Getting error message, when calling NACK function that I created. Its working fine on Iris For HeathShare but on HealShare its giving below error msg. Any help.
Can anyone help me about Global ^Errors? Only in 1 specific namespace is it growing fastly. It grows from 2 to 3 Gb per hour when all services are active. Which commands exactly do this? In another similar namespaces, there is not that Global in the class list.
I am working on Ensemble 2017.2.1 . I need to export my security settings into an extern database, in order to make a report.
I've created a Business Operation with an SQL Adapter into a Namespace, but I don't know how to get every security data from "%SYS" Namespace ( SQLPrivileges , Resources , Roles , Services , Users ... ).
I dont't want to use the terminal and the ^SECURITY routine, because i don't want to store a XML file on the server.
Did some quick testing replacing Intersystems.Data.CacheClient.dll with Intersystems.Data.IRISClient.dll and ran against Cache 2018.1 and IRIS 2019.1. Seems to work in both cases. Is it a safe assumption that the IRIS dlls are backward compatible with Cache 2018.1?
It's well-known among Studio users that besides few predefined code fragments (for ObjectScript, Basic, MV Basic) it's possible to add user-defined code fragments. I found it rather convenient to use them as patterns that help to follow some conventions (internal standards) of writing, say, methods descriptions.
But I didn't find a way how to share these patterns, except dumb copy-pasting. Did somebody succeed with this task? Any help would be appreciated.