Hi Guys,
I'm running Ensemble 2014 and I'm using this to convert JSON to object:
class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject
but how can I convert to %CharacterStream because I'm saving a %CharacterStream field
Thanks
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
Hi Guys,
I'm running Ensemble 2014 and I'm using this to convert JSON to object:
class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject
but how can I convert to %CharacterStream because I'm saving a %CharacterStream field
Thanks
Hi everyone,
I am currently performing a patient merge thorug ADT^40 HL7 messages. In order to do that, I am following this guide which I found on the ducumentation: http://10.41.11.210:57772/csp/docbook/DocBook.UI.Page.cls?KEY=HESUP_ch_IHE#HESUP_IHE_configuring_registry_PIX
My main issue regards the fact that I can't update the PatientID and the SourcePatientID of the HS_Registry.Document table of the prior patient, wheras, I find only the new anagraphic on the HS_Registry.Patient table.
Hi Guys,
How do I create a JSON with the below structure pls:
{
"field 1": "123",
"field 2": "1.1.1",
"field 3": "4.428",
"Lines": [
[ 0.00523, 0.00952, 0.01626 ],
[ -0.00303, -0.00286, 0.00387 ],
[ 0.00110, 0.00814, 0.00800 ],
[ -0.00991, 0.00952, 0.00800 ]
]
}
thanks
Hi Guys,
is there a sample code where I can basically send a HTTP request given a URL and authentication and handle the JSON response?
Thanks
Hi guys,
How do I create a make a http request using curl, I've found samples on how to do it from a command prompt but how to create and make a http post request and get a response with ensemble object and functions?
I guess somthing like :
s req=##class(%Net.httpRequest).%New()
...etc
Or do I build a command run it in ensemble and get a response back, if so how can I do that ?
Thanks
Hi Guys,
I currently have a service that uses an InboundAdapter to get a JSON file and process it given that the client is pushing data to us, but now we have another client where we need to request the JSON file by sending a HTTP request then get the file and process it, kind of a Get rather than push, how can I create a service that handle that?
Thanks
Hi Guys,
we have a class with over 24 million records and despite indexes querying is still slow, so we are looking to create a copy or clone of our current class have an scheduled task that runs every night or month, copy old records this new clone (eg. from last month) and remove old them from our current class.
one way is maybe to do an insert into from the current to clone class but I'm afraid that could duplicate things and might be so slow and fail like:
Insert into clonedclass values (select * from myclass where mydate < somedate)
Hi Guys,
How do I add another tablepane or gridview to make my tablepane look like expandable and collapses back as in the below pic?
so basically I would like to add a child tablepane or gridview for each row that populate the related details for it.
thanks
Hi Guys,
Can you pls let me how to convert %CharacterStream to JSON and also how to Convert JSON to %Stream.GlobalCharacter?
Thanks
Hi All,
We have a requirement for one webpage that should be access in our VPN with out authentication. If it asks user name password that also fine.
This page should be a dashboard for the ensemble health monitoring. Support Team seating Area we have big SMART Monitor which always shows this webpage. Support engineers keep on eye on this monitor, if it shows action required then . they will act upon immediately. Expecting some widgets like
etc.
How do you edit an email message sent to a user after they successfully register on a personal community? Where can I find and edit the class containing the email message?
This error is getting generated.
I contacted WRC support and resolved it by re-compiling classes
I was able to bring up message viewer
Today the same error has returned
Hi Guys,
I've a Production Service that receives a CharacterStream and save it in a Global, then a second classmethod that pick up that CharacterStream from the global and process it, but for some reason it fails when i comes Set HTTPURL = $ZCVT($G(pInput.Attributes("URL")),"U") which error saying "INVALID OREF", as I checked it seems that pInput is has a CharacterStream but not sure why is says invalid Object ref (see attached)?
Hello community!
I'm creating a script to remove an item (component) from the Ensemble production, I know there is a manual way to do it but as there are several components the idea is to use a script to be faster.
I tried using %Delete() and doing a select on Ens.Config.Item, but this ends up generating several errors in production. Does anyone have any idea how I can do this simply?
Hi
I have an a Ens.Request subclass (Invoice) that has a relationship property to another persistent class (InvoiceItems), with properties of its own and the inverse relationship defined referring back to Invoice.
When building a DTL with these classes, the Relationship’s inverse relationship (Invoice, within InvoiceDetails) is displayed.
Can this be hidden ?
thanks
Hi Guys,
How do I do a HTTP post request using a curl and get a response, the response should be a JSON file ? a sample code would be really appreciated.
Thanks
Hello,
I tried to search the forums but couldn’t find an answer for my need.
Hi guys,
We have created a utility to allow users to create a System task for a list of items the same way it’s done via SMP (attached below), the problem is that there may items and those systems tasks will grow a maybe exceed a couple of thousands so :
Hi guys,
I have a %Time filed with (Format=1) to allow showing hh.mm.ss and the field is showing fine in display mode eg:
it should show 00:07:30 but the seconds are cut off from it as below :
any ideas pls?
thanks
Hi Team,
I am Working on one data transformation, In the data transformation the data transformation data needs to be saved in the globals.
Can you please help me to save the data into the globals in a Persistent class.
Thanks in advance
I have a linked procedure class and SQL gateway setup and I can't seem to get any response, status or error from using the stored procedure, I think it must be something big I'm missing to not even get a status.
Can someone see what my problem is please, any help would be very much appreciated.
Class generated by linked procedure wizard:
Hi everyone.
I'm using a Buisness operation which have a SOAP outbound Adapter :
.png)
Hi Guys,
I know that there a way to view global content from the Terminal rather the SMP but I can't remember the command, I think it's something like D ^Global or something !?
Thanks
I need to remove double quotes (") from a string and can't remember how to escape it in input string in ReplaceStr or Strip.
Thanks in advance
Hi everyone,
We are trying to verify a signature against a certificate without success.
Apologies in advanced if my post lack info.
I've added the cert under the X509 credentials under the management portal (alias Cert).
The code snippet that we are using to verify the cert:
set tX509 = ##class(%SYS.X509Credentials).GetByAlias("Cert")
set tData = "hello"
set tSignature = "CUBMPlVbEKbjFg0nUNz3pwuSwq7tJPg4obsj6LpwbMsEQaDNNw/93V9X0BdgBVzoWN1K7XrG1WX1focFj+EIkeXOJJF7KjQv4p9Xc8JT0wWZ9ivw0+pYvBtMSzP9JEVzapt2Cr+QoBT47yEMeCAxt7Ka7q7xLpxxpAvDQ+QE3Mg="
Hi Guys,
I'm using the below code to export to excel and it's working fine for one client but not for another and both clients are running the same version of IE 11.
for the second client the code generates an empty xlsx file and when I try to open it it says file corupted although data exits in the resultset, so is there a flag or setting needs be done in the client server or IE?
Hi Guys,
I'm a bit confused where if I run a query trough SMP I don't get any result which should be true but if I run the same query from a classmethod I get a query result which shouldn’t be even if I pass any gibberish parameter into my class method because I'm sure there should be any data? see attached
Thanks
Hi Team,
I am working on data transformation ADT^A01 from ADT^A01 ,In both source and target MRG segment is not available. How can i create a new MRG segment in Target. Kindly share your ideas how to create a new segment in Data transformation.
Thanks in advance
Hi Guys,
I'm using seconds counter then save those seconds in a field defined as string where eg. I do :
S time=30
S time = $zt(time,1)
Update myclass se timeSpent = :time
which now shows up as 00:00:30 if I do an sql query which good but the problem if I run a query to get average timeSpent I get 00:00.
having the field defined as integer would allow selecting avg but running a query in my Zen page wouldn’t show me a time format
so how can I get an average on my a filed defined as string in a sql query?
thanks
I have been struggling trying to understand "Response From" and "Response Target Config Names" as I am trying to track down Orphaned messages. I have noticed that when a Business Rule, or Business Process sends to a File Based Operation, there is always a NULL value response being returned. I am thinking these NULL values are causing some of the orphaned message problems we are seeing.
If the Business Operation is a File based operation, how do I prevent the NULL value from being sent back? Is this because our "Response From" and "Response Target Config Names" is blank?