Hello community,
I am pleased to announce version 1.1 of this project. Now Russian ![]()
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hello community,
I am pleased to announce version 1.1 of this project. Now Russian ![]()
Hi everyone
I am new to the bpl diagram. I would like to add an if statement that checks whatever an object is null or not.
I guess that: condition='response.Content != null' would not be ok...
<if name='CheckObj' condition='response.Content != null' xpos='200' ypos='1700' xend='277' yend='2197' >
I tried to search for this information in the documentation but I didn't find any help.
Do you have any suggestions?
Thanks and best regards
Milena
The following code snippet is a REGEX that validates characters that are not in English, as well as English characters. The class method "test" takes an email address and validates it based on this additional criteria:
Hi I am getting below error while upgrading cache instance. Please suggest.
Error: ERROR #70: *** Error while formatting volume because ERROR #18: failed creating a new volume initializing CACHETEMP, /*****/databases/cachetemp/ - Shutting down the system An error was detected during Cache startup. ** Startup aborted **
Hello there,
I have some problem with inserting date to table using dynamic sql.
I have Country class. This table has relationship with class Continent as parent and child. In addition I have another statistic class where property Country has type of Country class. I get ID such as "1||1" next I execute dynamic sql INSERT INTO Stats(Country) VALUES("_CountryId_"). Then I select Stats table and see that value of Country column is "11") As a result a can't get Country object.
Please advice solution of this problem
Thank you
Hi,
I am trying to create a script to connect to a website and extract all the content of the page. And in future to connect to an API.
But the output is a wonderful blank HttpResponse
Any ideas?
Thanks
Hello everyone,
Im just wondering if there is any possibility to "Listen" to a cache DB? We have our cache DB somewhere else provided by a different company, we are provided the interface to connect to that cache DB so we can extract the cache DB every night.
Im just curious if theres a way to "listen" to the cache DB, so if theres any changes on the table in the cache DB, I could make a trigger to extract the table again.
I know i could just set my ETL every hour or so... but that would extract all the tables in cache DB.
Thanks a lot for any help and information.
Kind regards,
mark
I have a web application and one of the CSP pages contains the following snippets:
<script language='javascript'>
function SubmitForm(pid,sid) {
//code to process form
alert ("study saved");
self.document.location="newpage.csp";
}
</script>
<form name="Studyform" method="post" onsubmit='return SubmitForm(#(SubjObj.%Id())#,#(StudyObj.%Id())#);' >
<!-- form contents -->
</form>
The form is correctly processed, the object is saved, and the alert appears, but the new page does not get loaded and I cannot figure out why.
Any suggestions?
InterSystems is pleased to announce availability of a field test version of Caché and Ensemble 2018.1
These kits can be downloaded from the Field Test portal page.
There are hundreds of bug fixes, and several new features, including:
All platforms are available, except Oracle Solaris 10, 11 for x86-64.
We expect to update the field test kits about once a week, until release.
(Originally posted by @Eduard Lebedyuk on Intersystems CODE, 6/26/14) This code snippet determines the difference between two ObjectScript lists. The class method "test" runs the code, and its parameters are detailed in the comments:
Hi Guys,
I' am using Cache Object Binding for .NET, our Cache Version is Cache for Windows (x86-64) 2010.2 (Build 454U).
How can I set the connection for Cache List of Objects? Here is my sample code.
//CACHEObject as my file generated from OBJECT BINDING
CACHEObject.ContainerImco containerImco = new CACHEObject.ContainerImco(cacheConnection);
CacheListOfObjects<CACHEObject.ContainerImco> lcontainerImco = new CacheListOfObjects<CACHEObject.ContainerImco>();
//Already tried this one but fails
//lcontainerImco.Connection.ConnectionString = "Server=" + Properties.Settings.Default.ServerName +
//
As a developer, usually I'm concerned about how my code health is, and how the other coders code can affect to my own work. And I'm quite sure most of us feel very similar.
In our company we use a Static Code Analysis tool to analyze code for different languages to ensure we are writing high quality and easily maintainable code by following a few best practices in terms of code structure and content. And the question was: why should be different for Caché ObjectScript language?
Hi everybody,
we have some legacy ZEN applications build upon CSS2 style definitions. We moved the application due to an upgrade to a newer version of cache (2017.2.1). Anyway I have in mind that in one of the prior relases css3 style interpretation was enforced by ZEN and you could explecitly tell the framework to use CSS2 by setting a global. Anyway I can´t found any hints in the docs on that. Does anyone of the %ZEN gurus have this in mind?
best regards,
sebastian
Hi,
is there a way to tell Caché to ignore the order of elements when hosting a SOAP-based webservice?
At the moment I keep getting the Error-Code #6237 (Unexpected tag in XML input) when the request is not in the exact same order as defined.
Looking forward for your answers.
Regards,
Thomas
csession can be called with a variety of arguments:
Hi, I want to use linux system to develop cache, but I dont want to use wine, any other way to???
Working with a client who has two TryCache instances on his W10 machine.Trying to bring in globals from a text file which works fine in my environment but on his, he cannot make ^%GI accept a file from his C drive.His Cache is on C as is mine.Checking the path and the file name carefully, it is accurate.D ^%GI and enter the path with filename (as works fine for me on my system) and he gets a message [unavailable] and when he hits enter out of that message, he sees Cannot import from THIS device.I think I'm missing a config or security setting of some kind but I don't know what it is.
I have a process which is passed a .rtf within a GlobalBinaryStream. I am trying to then output just the .rtf to a folder on a server, but not even sure where to start.
Is there a Built in Operation that I can pass the GlobalBinaryStream to which will then write the file to a folder, or do I need to use a custom class for the operation?
Thanks
I wrote a ZAUTHENTICATE.mac a couple of months back, and found recently that it is creating coredumps on almost a nightly basis. I think I have figured out this problem to be not clearing out my MsgSearch after I am doing 2 of them within the code.
1. Get User Attibutes from AD
2. Get User Groups From AD
So while I am trying to cleanup the code I thought it would be a good time to add a Certificate and TLS to the mix since I should of been using that all along. However I keep running into issues
Error message: Cache error: <UNDEFINED>ZAUTHENTICATE+104^ZAUTHENTICATE *LD
its not displaying the
The following code allows a user to view the audit settings of their instance. Run the code by running the class method "test":
w "Checking for Auditing...",! w "Security Auditing is enabled for the following services",!Hi,
this is a public announcement for the first release of Intersystems Cache Object-Relational Mapper in Python 3. Project's main repository is located at Github (healiseu/IntersystemsCacheORM).
CacheORM module is an enhanced OOP porting of Intersystems Cache-Python binding. There are three classes implemented:
CacheClient This is the super class of CachePython module. It wraps two functions from intersys.pythonbind module pythonbind3.connection() and pythonbind3.database().
CacheQuery A subclass of CacheClient that wraps methods and adds extra functionality in intersys.pythonbind.databaseand intersys.pythonbind.query classes
CacheClass A subclass of CacheClient, that wraps methods and adds extra functionality in intersys.pythonbind.databaseand intersys.pythonbind.object classes
The intersys.pythonbind package is a Python C extension that provides Python application with transparent connectivity to the objects stored in the Caché database.
I'm trying to have my REST service return the entire data set for one of our legacy globals. Currently I am parsing the object from a SQL statement into generic objects to be returned like this:
Set specimenArray=[]
WHILE resultSet.%Next() {
Set specimen = {}
Set specimen.SpecimenId= resultSet.SpecimenId
Set specimen.ProjectId = resultSet.ProjectId
Set Oref = specimenArray.%Push(specimen)
}
Set tProxy = specimenArray.%ToJSON()
set %response.Status = 200
set %response.ContentType
How to Make a Https/SSL Request in Caché ObjectScript ? If possible please provide some working example with some https url.
Hi,
I have a problem with CSP Application Authentication, when the user input you correct password, however the message "Invalid password" returns.
This error returns just Cache password user type, for user delegated don't.
this error is momentary also, if you wait a moment, it stops.
Is there any COS API to create the database (with designated path) and the namespace ?
Also, the API to attach a given database to a given namespace?
Thanks.
Hi, Community!
Have a question for general discussion.
In ObjectScript we have cls for classes and mac code, which both compile into int code.
Is there any reason when you use mac instead of cls for non-persistent classes?
For me the benefits for cls are:
1. Inheritance and other OOP features
2. Auto-documented code
For mac one visible benefit is easier call in terminal:
do method^Utils(p1,p2)
vs
do ##class(Package.Utils).method(p1,p2)
What is your choice and why?
Hey, the question is simple!
Is possible one classe is not generated journal?
I would like a given class not to generate this data but on a configured basis to generate, is possible?
I would linke to have the functionalities provided by the Table Field/Property Collation, but applying a transformation which differs from the provided ones.
Does anyone know if there is a way do accomplish that?
Hey Guys.
Is possible i know in COS the state of the one service the operation system?
One example:
What's state of service WinDefend for example, in operating system Windows.
I would like to know the status of the service.
How best can I capture %GSIZE all pages? Or parameters to use?
The output file is only showing the last page.
I used these options
Device: /usr/cache/mgr/gsizedoc.txt
Parameters? "WNS" =>
--------------------------
Page: 23 GLOBAL SIZE 12 Jul 2018
3:56 PM
Global Blocks Bytes Used Packing Contig.
-------- -------- --------------- ------- -------