Hi all,
In CSP page we get data from Class via Query method.
<TD valign=top>#(DEOBJ.Get("Comments").Read())#</TD>
The problem is we couldn't get the stream property value.
(Property Comments As %Stream.GlobalBinary)
Thanks,
sansa.
Hi all,
In CSP page we get data from Class via Query method.
<TD valign=top>#(DEOBJ.Get("Comments").Read())#</TD>
The problem is we couldn't get the stream property value.
(Property Comments As %Stream.GlobalBinary)
Thanks,
sansa.
Do you have any experience / recommendations / best practice on how to update server-side data residing in a Cache database via a REST service?
A naïve approach would be to send a full JSON representation of the data object via an http POST to a method on a REST handler class:
<Route Url="/mydata/:id" Method="POST" Call="Update"/>
The problem I see here is, if only one of the data object's properties has changed, how do we know which? Or do we simply overwrite all properties?
Hi-
This almost seems like a silly question, but I am new to REST services.
I have a rest service that has a method for adding records to my database.
<Route Url="/userdetails" Method="POST" Call="SaveUserDetails"/>
My REST client sends data using json in the body of the request. I have verified using debugging tools that the data is actually being sent.
On the server side in my SaveUserDetails method where do I find the json?
What is the proper way to serialize that json into an object?
Right now I have a developer/free version of Cache 2016.1 on my local dev box but it doesn't have Ensemble installed, is there a way to get Ensemble?
After having gone to the 2016 Global Summit I want to play around with it on my own and see what it's capable of.
Thanks
What's the difference between a Login Cookie and a Session Cooke Path?
What's that cookie in my browser from?
Thanks,
Laura
Is there any issue with using a pool size setting greater than 1 for an inbound file service? The reason I ask is we can easily dump 100k+ files to a folder in minutes, but using a pool size of 1 can take hours for that backlog to clear.
Hello, guys.
Say I have two horologs or timestamps, how can I compare them? I know that just time1 > time2 doesn't work because it will compare them as strings which is not correct.
Why $ZF(-1) not workers in Windows 10 ? Is there Any reason for that ?
Hi all
I was just in the process of implementing a custom SOAP web service to receive a message with an embedded base64 encoded HL7 message when I noticed the above-mentioned OOTB service. I've been unable to find any documentation describing its use but it appears to expose a single operation named Send which takes a single parameter (a %Stream.GlobalCharacter) named Input. Does anyone know if this service is indeed useful and if so quite how the HL7 should be passed in?
Hi, Community!
I've introduced new "Developer Community FAQ" tag, which gathers all the posts on "How to make this on Developer Community".
Also, you can find this link in the Learn menu. See the screenshot:
I have been using the query below and it was working fine but now it's giving a SQL error. There were no changes made that could cause this to stop working. There is no Field 'APPLICATIONID' in the table.
QueueSQL=select distinct (convert(char(5),SkillsetID)+'='+Skillset) from iagentbySkillsetStat where ApplicationID > 10000 QueueMappingSQL=SELECT DISTINCT (convert(char(5),SkillsetID)+'='+Skillset), SkillsetID FROM iagentbySkillsetStat iagentbySkillsetStat WHERE (iagentbySkillsetStat.ApplicationID>10000)
DB- Intersystems Cache
Error details for the log files are below.
14/09/2016 11:20:05 a.m.
Let's say I have a global named ^a and I need to export its nodes 1, 2, 3, 5 only.
Currently I write something like this:
Write $SYSTEM.OBJ.Export("a(1).gbl,a(2).gbl,a(3).gbl,a(5).gbl", "C:\Users\eduard\Desktop\a.xml")Is there a way to write it shorter? I want to write global node once and list all the subscripts I need.
Hi All
I have a process that I want to analyze and find bottle necks (e.g BO that had taken to long) something similar to the SQL query optimizer
Any suggestions?
Thanks
Gadi
Hi,
I was set one session in user namespce (%session.Data("sup")="login User ").but i couldn't get this session(%session.Data("sup")) in another namespace.
Cache version:cache 16
but i can acces in cache 5.02.
I got a input to user . How to I print the input in another method
ClassMethod sample() As %String
{
Set Name=##class(Eam.Empdetails).%New()
r "enter your name :",NameStr
s Name.EmpName=NameStr
r "enter your address:",NameStr1
s Name.Address=NameStr1
r "Enter your Phone number:",NameStr2
s Name.PhoneNo =NameStr2
r "Enter Your Id:",NameStr3
s Name.id = NameStr3
set status = Name.%Save()
}
What are the difference between method() and ClassMethod() in Cache Class definition
Hi All,Cache is not starting ,I checked the cconsole log it is showing the below error. The following parameters are missing from section [Journal]: '2,12' at line 143,but i checked in last cpf file, In cpf file consist of that particular line [Journal] AlternateDirectory=C:\InterSystems\CACHE16\mgr\journal\ BackupsBeforePurge=2 CurrentDirectory=C:\InterSystems\CACHE16\mgr\journal\ DaysBeforePurge=2 FileSizeLimit=1024 FreezeOnError=0 JournalFilePrefix= JournalcspSession=0
Listout the Difference between Cache object script and Mumps
Hi All
I have a BP which has a transformation.
when I run the process I end up with the following error:
----
ERROR <Ens>ErrBPTerminated: Terminating BP Propirion.BP.GetServices # due to error: ERROR <Ens>ErrGeneral: Object is immutable
+
ERROR <Ens>ErrGeneral: Object is immutable
----
I have created a context named : HL7Message type of: EnsLib.HL7.Message and in the start of the BP assigned the request to it (using set in assigned activity)
What did I miss ?
Thanks
Gadi
A “Dummy” SOAP Web Service
When dealing with SOAP in Caché, it is sometimes necessary to debug errors by directly accessing (and sometimes editing) the XML which is sent, i.e. the SOAP request and subsequent SOAP response. If you’re debugging a Caché web service, it is often useful to use a tool such as SoapUI (https://www.soapui.org/) to manually create and control the SOAP request, so that the effect of adjustments can easily be seen on the Caché web service.
But what if you have a web service (possibly not Caché), and you want to debug the associated Caché web client?
Caché Application Developer certification:
How to I prepare developer certification of cache .What are the topics are preparing certification . Please give the topics .I will start learning of certification course .
Below object creation is correct or not .Suppose wrong as how to get the values to user.
Set Name=##class(Example.Team1).%New()
r "enter your name :",Name.EmpName.
r "enter your address:",Name.Address
r "Enter your Phone number:",Name.PhoneNo
r "Enter Your Id:",Name.id
set status = Name.%Save()
How to I add a data in properties and what are the relationship with properties and methods . How to use a properties in method and properties to add a data or object.
Learn to design, build, implement, and test a new custom business operation in an Ensemble production by taking this online learning course.
Hello community,
Is there a way in Caché to trigger some method when any class changes? For example, if I edit any class in any namespace, when I save this class I want some method to be triggered with the class name parameter or any available data about the class.
Concretely, I tried to add a %OnAfterSave() callback to the %Dictionary.ClassDefinition class, but this method is not triggerred when any class saved as I expected. I am writing a project in Caché and the purpose of my project is to show editing history of the edited classes in the Caché studio.
Thank you in advance for your response.
When selecting the Learn menu, the sub-menu FAQS brings up an empty page with no questions on it.
Hi
@Mike Kadow and I are both having this issue.
When editing a post and trying to insert a link, I use the Internal link type to link to a different post. I am able to search for the page and get the page name to show up in the dialog box, but then the "ok" button is non-responsive. I can cancel properly. If I change the link type to URL and paste in the full URL of the page, I can click "ok" and it will save the link.
Hi all,
Do anyone know how to force to close the CSP connection used before redirecting to a different page so a new connection ( and therefore a new session id) is generated?
The idea is to generate new CSP session once we log off our application so the session identifiers are different.
Best Regards
NewBie's Corner Session 26 Globals and Arrays Part 2
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Globals, Arrays, and Variables Part 2
A thorough understanding of Globals, Arrays, and Variables is foundational for every Caché developer.
Uniqueness of the Caché Global Structure or database
The Caché Database Structure is unique among databases; it was designed and created in the 1960s to be used primarily with HealthCare applications. It has thrived in the Healthcare Industry as well as Financial Information systems and others.