Hi,
Is it possible to call a REST service from a business operation in Cache? Does anyone have a sample for me to take a look at.
Note:
I am new to Cache, just started learning:)
Hi,
Is it possible to call a REST service from a business operation in Cache? Does anyone have a sample for me to take a look at.
Note:
I am new to Cache, just started learning:)
What is the best way to pass a list(collection) of integers from one BPL to another BPL?
Here is what I have now, but this doesn't seem to be working. In the CALL to the other BPL I am trying to pass the EOBList. Not sure what I am doing wrong.
<call name='Call COPYBATCH and Finish' target='CopyBatch and Finish' async='1' xpos='200' ypos='850' >
<request type='MSI.IN835.bp.CopyBatchAndFinishOut' >
<assign property="callrequest.StageBatchId" value="context.tStageBatchId" action="set" />
<assign property="callrequest.Filename" value="request.Source" action="set" />
<assign property="callrequest.E
Hi everybody,
I like to know how Ican determine the same colors of Series Detail of a graph that applies to all widjets. I created a theme based on a specific widjet and apply to others, but didin´t change the colors of the graph.
Thanks.
Jaqueline Krieger
Sometimes, we need to copy part of the properties of an object into a different one.
The simplest thing would be to do the following:
Set obj1.FirstName = obj2.FirstName
Set obj1.SecondName = obj2.SecondName
What happens if the object contains a large number of properties? or we just want to extract an important group of data, and complement the information in another object?
Having the following classes:
Class Kurro.PersonalInfo Extends %Library.SerialObject
{
/// Code of personal
Property Code As %String;
/// First name of personal
Property FirstName As %String;
/Hi Community
I've just started developing for a new client and noticed that the View Raw Contents link isn't displayed when inspecting HL7 message contents in the Management Portal. Is the link missing due to:
1) a configuration setting?
2) a security setting?
3) a difference between installation on Unix Vs Windows?
And is there a way to turn it on?
I've trawled through the doco but haven't been able to find anything on this.
Thanks in advance for any help you can give
Duncan
I am trying to create a list of id's which are of type integer. I have created a class like below and then I am trying to call the class from a BPL to first initialize the list. In the BPL, I have an assign action that is using set and a context variable setup to hold the list data. The property is using the class I have created, ##class(MSI.IN835.EOBList).%New(). I keep getting an error back saying the method does not exist. Why does it not like the %new method? I am new to cache object script, so if their is a better way to do this, I am open to that as well.
Class MSI.IN835.EOBList Extends
Hi, Community!
This post is a digest of the Developer Community postings in April 2018.
Most viewed
Class vs Routine in ObjectScript. What Do You Use And Why? 286
Drawing boxes 240
How to resume inner $order loop from given point? 187
DNI functions 138
How to set space in numbers 132
MUMPS database - Cache migration 117
Why can I not 'Assign' request directly to a context variable ? 11
Hi ,
Does anyone know how to dynamically set a variable, for example
set Counter = 1
set x_Counter ="test" in Cache Object script. I tried with EXECUTE XECUTE ("set x"_Counter "="_DIAGS_""), but it does not work.
Thanks
A function iterates global ^data(a,b,c) with $order using 3 nested for-loops. At certain point, for example with a=10, b=20, c=30, the function exits and later has to resume the iteration from the same point. What could be easiest way for it? My solution looks too ugly.
Hi everyone!
I want to share four functions with you. I hope that you can use it at some time.
DNI: the initials of the type of national identity document, is composed of different series of numbers and letters. That proves the identity and personal data of the holder, as well as the Spanish nationality. Example: 94494452X
NIE: The NIE or foreigner identity number is a code for foreigners in Spain.
In this page you can generate examples of DNI or NIE https://generadordni.es/
The first function calculates the letter of a DNI number.
/// Calculate letter of DNI /// <br><b>pDni</b> for
I am using the EnsLib.RecordMap.Operation.BatchFileOperation to write a batch to a file but for some reason this has been working fine as of yesterday I had a problem with the cache databases filling up running out of memory so had to compact my database and gain space now when I run the operation I get the above error .Of course in my batch table there is no batch record with ID 1.The message is passed with the correct header information but still get this error any suggestions why?
Hi,
I have a service that I need to receive notifications from when the service has started. Usually this service will be off, but when started a need a method to be called so I can email and be alerted. The only method I know I can use is "OnProcessInput" but this is when an input is received (new file, new message...) but I could not find any events to deal when the service starts...I tried "OnInit" but does not seems to work...any ideas?
Hi,
I'm using ensemble and when I try to export from the production I get the following error:
ERROR #5803: Failed to acquire exclusive lock on instance of '%Studio.ProjectItem'
May you please help me?
Hi Community!
Please welcome a new session recording from Global Summit 2017:
Shared Development in the 21st Century
Hello,
I'm restating a new posted as its seems that the old was closed but still having problems.
as I mentioned in a previous post and with one of our clients, experiencing different crushing errors when running Crystal Reports and sometimes crystals running but not generating data...etc and we are temporarily fixing them by opening the related classes in Studio and recompiling them and as i mentioned compiling them with $System.OBJ.ComplieAll("c-k-l") doesn't help and always had to recompile from Studio.
and following previous recommendations by purging cached queries from System management po
Hi, folks. I have an HL7 SIU message inbound that is missing a few fields, such as patient ID and provider ID. I insert this HL7 message and a few of the fields into a SQL database. My SQL team then runs a stored procedure to retrieve the patient ID and provider ID and insert the found values into fields in the table. I would like to then do a select from the table, load the HL7 message and add the fields that were found by the SQL stored procedure into the HL7 message. I'm attempting to use a DTL to accomplish this. My sourceclass is CustomEDI.SQLSIUInRequest and targetClass is EnsLib.HL7.Mes
We need to process 01B edifact files, INVOICE / CREDIT NOTE / DEBIT NOTE, ORDER, MESSAGE STATUS
Does anyone have SEF files or scheme to import , this EDIFACT version or other to use it at Ensemble?
Thanks in adavance!
"Telegram" is a well-known instant messenger, which provides an API for creating bots. The features of this API allow you to create bots with a wide range of functionality including receiving payments.
With the help of the telegram bot, I solved a simple task - sending Alerts from Ensemble to Telegram.
Advantages: Alerts come to the mobile phone, a notification appears, so there is no need to install any additional applications (in contrast to the solution https://community.intersystems.com/post/sending-alerts-mobile-phone-using-pushover- httpoutboundadapter).
The bot can be extended by adding new commands, for example, for managing the Production or for solving other tasks in Iris, Ensemble or Cache.
![]() |
![]() |
Hi,
The following sql statement is working through the SMP but couldn't make it work through the code.
The table is a linked table to oracle db.
Tried to change the date property in the linked table class from %Date to %String and also tried using %SQL.Statement and %Library.ResultSet
this work through SMP:
INSERT INTO PACKAGE.SOME_TABLE_NAME
(EFFECTIVE_START_DATE,MORE,DATA,HERE)
VALUES (to_date ('2018-04-01','yyyy-mm-dd'),123,456,789)
In the code i'm using '?' in the statement for the parameters.
So in the code it's go something like this (where the to_date is in the
Hi,
Trying to work with REST protocol, using IIS 8, both client and server are Cache servers,
I have the following problem-
When I send a PUT command, I get the following error:
<HTML><HEAD><TITLE>Length Required</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Length Required</h2>
<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
</BODY></HTML>
Get , Post , Delete - work OK.
This problem does not happen if I use Apache, so it's a IIS problem , not a Cache problem.
Searching for solutions on google, this solution is popular-
To
Hi
Made a request for API REST.
Using HTTP Request adapter.
Adapter As EnsLib.HTTP.OutboundAdapter
Outside the Ensemble an API response is JSON (CORRECT)
Answer in Ensemble: =?Á
Â0
?_eä,cÒ
'=
*^<YÙF¡í$í¼ÈÞÝt
oÉ÷ý$?|
¤1¡{Dâhà°Ý?Öù)2ós??R?¸¼?ºd?$,ñD+»??
?
ÔºQZéýNÕ V{C?óò?b¢?éÍ )$
²5Å?wEë? ??©tÖã1z×2FëÊnôeË æ??]Zßq ܺ?á
Help me.
Thank you
Hi,
I would like to add my favourite template at the template menu (Studio): Tools→Templates→Template 1
But I'm unable to find how to do it.
Thanks
Manel
Hi Guys,
We experiencing a strange problem with one of the clients on Cache 2008, for time to time they can't run any of their Crystal reports and each time we had re-compile the classes used in the affected report to get it running, then it happens again for the same reports.
I was wondering if there was a way to easily identify the node depth of a global.
Take the following global example. Is there way to determine the depth is 3?
s ^global("first","second","third")="some^info^here"For those who don't have a chance to vote elsewhere today, or for those who want to vote more than once
, here's a poll for Ensemble users.
We are going to start using Git within Cache.
One question came up - if the branch that you checked out does not have the class or mac file, what is the correct thing to do?
Should we delete from Cache or should we just keep it?
I'm leaning more towards deleting it because Cache should reflect what is in your work folder in git. But other team members are saying to keep it.
Hello.
We have a request message with properties that has underscore. This is because we need to convert that request to JSON.
The problem is when we try to assign a value in a Business Process with the editor. It doesn't work, it doesn't compile.
How can we fix this?
This is the object used in the request:
And this is the error:
Does developing a RESTful API in Caché remove the requirement to use the InterSystems.Data.CacheClient.dll and generate proxy classes using the Caché Object Binding Wizard for .NET web development? If anyone has links to sample applications using .NET with Caché and REST Services, I would be grateful if you could share them.
Effective immediately InterSystems will no longer support Health Connect on Solaris. Previously released products starting with 2017.1 will also no longer offer this combination. This is in line with InterSystems HealthShare, which is not available on this platform.
Hi,
We have a PAS that accepts HL7v2 QBP^Q21 requests, and returns patient details in an RSP^K21.
We have a clinical system that wants to sent an http GET request of the form http://server/getpatientbyid?pid=M1234567
So I think I need to convert the query url into a QBP^Q21 (HL7) message, then take the response in HL7v2, convert to SDA, convert to FHIR, and put that in the response to the original GET.
Does anyone have any experience doing this? is there an approach you would recomend?