We would like to use our Caché-server as the source for our PABX-addressbook.
The PABX only supports LDAP.
Is it possible to use our Caché-instance as an LDAP-server ?
Regards, Kurt Hofman.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
We would like to use our Caché-server as the source for our PABX-addressbook.
The PABX only supports LDAP.
Is it possible to use our Caché-instance as an LDAP-server ?
Regards, Kurt Hofman.
Hello, community!
I've stumbled on some unexpected behavior, and decided to check with you if this is normal. Basically, I'm rebuilding indices and the result is not journaling (which leads to missing indices at shadow server).
The $ZV is "Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2015.2.1 (Build 705U) Mon Aug 31 2015 16:53:38 EDT"
I have an example class
Class tmp.A As %Persistent; Index IP1 On P1; Property P1 As %String;
for example there is one object which have P1 = 1, so
^tmp.AI("IP1",1,1) = ""If I rebuild it wth
zw ##class(tmp.A).
ROLE SUMMARY
Looking for Interface Developer with Exp in Ensemble,MUMPS & CACHE, you will be responsible to design, develop and implement Application Integration solutions to the enterprise-wide requirements of customers. These solutions deal with major business processes or systems utilized to manage the overall enterprise.
Hello,
I try to open an existing log file and append to it. In Windows I use Open file:(NRW):1. I would expect it to append to the file, but each time I execute the code I get only the new entries, the prior file content is lost.
What is the proper syntax top open a file in "Append" mode?
I will deploy this code in Linux. Is there a different syntax to open a file in Linux versus Windows?
Thanks,
Oliver Wilms
Hello everyone,
Anyone can help me please. We use SOAP web service with public methods and have many instances of these classes, all work fine. We would like to create a new SOAP web service but for internal usage only, meaning not available to the public. The purpose of this is for communication between different servers internally.
We thought of having the methods to be Internal, WebMethod instead of just WebMethod.
Any suggestions?
Regards
Ben
How can I remove elements from $lb property? Specifically last element?
$list does not work with $lb properties.
$listupdate can't remove elements
The only solution I found is a temp variable and $list, but isn't there something better?
Hi
Quick question... Is it possible to save a class in another namespace. If you're saving a global you can just use an extended reference, but is it possible to achieve the same when saving a class object? Obviously the class will be defined in the other namespaces too.
I want to do it from an Ensemble SOAP Service. I guess you could switch namespaces, but I was a bit worried about doing that from Ensemble process.
thanks
Hello,
When i click on the menu to run the Data import wizard from MP, i receive following CSP error
| <UNDEFINED>zOnPageHEAD+229^%cspapp.exp.utilsqleximwizardcontent.1 *schemaname : CSP Error |
It is happening for all the namespaces. Looks like some permission issue. Same issue with Data Export wizard. Help to resolve this will be appreciated.
I am using
Cache for Windows (x86-64) 2017.2.2 (Build 865_0_18763U)
Thanks,
Jimmy Christian.
Hello,
I have a problem with sending soap request.
I get wsdl . The wsdl class bellow
Class Data.SOAP.PrinServ.NotificationRequest Extends (%RegisteredObject, %XML.Adaptor) [ ClassType = "", CompileAfter = Data.SOAP.PrinServ.Lang, Inheritance = right, ProcedureBlock ]
{
Parameter ELEMENTQUALIFIED = 1;
Parameter NAMESPACE = "http://tempuri.
Does anyone know if the Cache CSP Gateway version 2016.1.0 can run with both Cache 2017.1.x and Cache 2013.1.x?
Thanks.
Hi,
We have a function that takes two parameters, the second one is for output value:
MyFunc(Param1,Param2)
S Param2="it's all good"
Q 1
How can we detect if the caller called the function with one, or two arguments?
Meaning, how to distinguish this call:
S Result=$$MyFunc(1)
from this call:
S Result=$$MyFunc(1,.OutVal)
Thanks!
Nael
I have one REST service extending %CSP.REST
I am trying to call one method using JOB, its not getting called does anyone have any idea if i am doing anything wrong here.
works : do ##class(TestFramework.API.E2E.Service).RunCases()
does not work : JOB ##class(TestFramework.API.E2E.Service).RunCases()
How do I set environment variable for current process?
set env = "MYVAR"
set s = $ZF(-1,"export " _ env _ "=2048m")
set val = $system.Util.GetEnviron(env)
zw valReturns val="" because $zf(-1) spawns new process.
If you know the path of a file that exists in the instance's install directory, how can that file be opened and edited in Studio? This file is not saved under the visible directories in Studio ex csp or mgr. For example if you have no access to the server operating system command line, how would you be able to modify a file using Studio?
Is there a place to get version differences between versions of Cache. Specifically looking to see changes from version 2014 on of Cache.
Hello,
Can anyone please provide me with a guide I can follow to create an entry in Cache's SSL/TLS configuration that would allow me to "speak" to an website via the Post method using SSL.
I need to simulate functionality that is provided by my browser but from with Cache.
The topics I have are:
1. From where do I source the certificate that will be used for this process?
2. What processing must I do on it to make it acceptable for Cache's SSL/TLS
3. What settings are required when filling the the form
I have been reading on the %Net.HTTPRequest (thanks to @SeanConnelly)
Thanks
Charles
Hi there.
I am dealing with a clinical system that returns a stack trace within the NACK (Specifically, within MSA:3).
Within the stack trace there is an error code I am interested in, and hoped I could use the Reply Code Actions to look for that code within the error by using the "E*<text>" condition to either suspend or accept the response and move on. The problem is, looking at the error within the event log, I can see that the error text is truncated, cutting off the error code I'm looking for within the stack trace.
Just like Caché pattern matching, Regular Expressions can be used in Caché to identify patterns in text data – only with a much higher expressive power. This article provides a brief introduction into Regular Expressions and what you can do with it in Caché. The information provided herein is based on various sources, most notably the book “Mastering Regular Expressions” by Jeffrey Friedl and of course the Caché online documentation. The article is not intended to discuss all the possibilities and details of regular expressions. Please refer to the information sources listed in chapter 5 if you would like to learn more. If you prefer to read off-line you can also download the PDF version of this article.
Hi guys,
I have never used regular expressions with caché object script before, so I've read through the documentation, but I am struggling with things that I'd like some help on.
My need is to identify specific html tags and transform them out to something else. Example:
I need to identify those guys in a wider string:
"<span style=\""font-family: '';font-weight: bold;\"" >BOLD TEXT</span>"
"<span font-style:italic;\" >ITALIC TEXT</span>"
And then they'll become:
"<b>BOLD TEXT</b>"
"<i>ITALIC TEXT</i>"
I started off by using this regex pattern https://community.intersystems.
Noticed some unexpected behavior when using $ZTH
Resultant values less than 1 are treated as strings and values >=1 are numbers. Causing heartburn in $Query / $Next / $Order loops. Is there a setting somewhere that can change this?
Example:
// Parse the time out of a text string whose format is YYYYMMDDHHMMSSsssssssss (lower case s = fractional parts)
Set MsgDT = "20180405000000001005933"
Set MsgDTH = $ZTH(($E(MsgDT,9,10)_":"_$E(MsgDT,11,12)_":"_$E(MsgDT,13,14)_".
I am trying to pull the word count from Microsoft Word document into Cache. Is there anyway to get the values of the extended file properties without opening the word document? If I right click on a word document (Word does not need to be installed) I can see the additional properties that I want to reference however don't know how to access these without calling out to VBA or poweshell.

Hi,
I have a project that requires me to post a form. I am following the documention at https://developers.clicksend.com/docs/http/v2/#send-an-sms .
In code I need to be able to do the following:
https://api-mapper.clicksend.com/http/v2/send.php ? method=http&username=xxxx&key=xxxx&to=+61411111111,+61422222222,+61433333333,+61444444444,+14055555555,+14055555666,+447777777777,+447778888888,+8615555555555&message=This is a test
From within a browser I am getting the expected response.
PS: the numbers I am using a testing numbers: https://developers.clicksend.
Is there a way to automatically export all globals? I want to script out this process so that this happens on a specific frequency. This is for testing, as an additional backup safeguard.
Have enabled LDAP for our numerous , Ensemble, IRIS and cache instances with many namespaces. All is working fine and the ldap logins work.
But have noticed that the first instance that the user logs into the namespace is assigned to that user, but when that user than logs into another instance the default namespace from the first login is still there and doesn't update to the new namespace.
So this doesn't effect the ldap login but is now effecting the terminal logins where the user is now getting access denied.
Not sure why the first namespace is not being replaced by the current namespace.
This article is little explanation to a GitGub project.
The HotJVM Render Server is a great way of boosting ZEN Reports performance, when it comes to generating PDF documents. It can spare a second or more even on a single execution of a report, but it becomes unavoidable when you have to generate hundreds or thousands (or maybe hundreds of thousands) of reports.
If you don't want to go through the documentation above: the Render Server comes with InterSystems Caché and Ensemble and makes it possible to use FOP in a multi-threaded and yet a thread-safe way.
Caché process failures on RHEL V7.2
InterSystems WRC has investigated several issues of process failure that can be attributed to a recent change in Red Hat Linux.
A new feature implemented in RHEL V7.2 (systemd-219-19.el7.x86_64) can cause O.S. IPC (Inter-process communication) semaphores to be deallocated when a non-system RHEL user logs out (system users, i.e. with a UID number < 1000, are excluded)
Internally, Caché makes use of IPC semaphores to control the operation of Caché processes (for example when trying to wake-up a Caché process).
is there a way to send commands to the CMD in windows form COS I would like to run an application within COS by sending a command to the CMD
Curious if there is a string function which can transform a delimited string into an array without looping through $Piece...such as "a,b,c,d,e,f" into array(0)=5,array(1)="a",array(2)="b" etc
Referencing this post:
https://community.intersystems.com/post/producing-json-sql
I'm not sure how to actually interact with the result set I get from doing something like this. I want to return something like:
[{"field1":1, "field2":2}, {"field1":2, "field2":10}]
I'm finding it very difficult to get it in this format, since %Print appends a newline onto the end of the {} object it prints.
Here's the closest I've gotten:
set query = "select JSON_OBJECT('field1': field1, 'field2":field2) from MyTable where x=? and y=?"
set tStatement = ##class(%SQL.Statement).%New()
set qStatus = tStatement.
Hi,
Just wondered if anyone has either implemented CSP compression using ZLIB or IIS compression for csp pages? Any advice or issues encountered?
Thanks,
Gary