How to create macro function and what is the difference between $$$ and $$ function.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
How to create macro function and what is the difference between $$$ and $$ function.
HI ,
Please let us know the solution to the below error which appeared during SOAP Wizard.
ERROR #5805: ID key not unique for extent '%Dictionary.ClassDefinition' : '^oddDEF("GuruBaseAllah.BLZServiceSOAP11porthttp")' exists. Id counter location = ''
Thanks,
Shobha
Hi all,
Does anyone know how to bind data and display it on
%ZEN.SVGComponent.sprite
class objects?
The only example I could find in the documentation was:
http://localhost:57777/csp/samples/ZENTest.SVGSpriteTest.cls
where I could only statically display a label. Anyone have any have any experience here?
Thanks,
Bob Harris
Hey guys,
I'm working with an EnsLib.XML.X12.Document object which consists of a parent object along with multiple children.
When using the following code, my sent object is losing all references to its children. I've played with the deep parameter and nothing is working to automatically clone the objects children(group docs ref)along with itself. (Even though the documentation states that it should..)
objectClone = object.%ConstructClone()
d ..sendRequestAsync("Destination",objectClone)
Any insight would be really helpful.
Thanks!
Mitch
Is there any simple code in Cache using FHIR to understand the relationship between them? If so can anyone provide some example.
Hi All,
Am working on integrating our code with source control.
To make some security, I want to ask a password prompt from the studio itself while check in and checkout a code.
Is it possible to ask input in the studio like login page. Please suggest me.
Thanks,
Archunan K.
First of all, I think we should provide some background information about Ontodia and Caché DBMS. Let’s start with a less known product, Ontodia. Ontodia is the result of a joint project of the ISST lab of the ITMO University and VISmart, a software development company specializing in the semantic web domain. The Ontodia service was created as a web application for visualizing linked data and ontologies. We created this service because we couldn’t find simple, accessible and efficient tools for convenient visualization of linked data.
I am trying to apply a temporary time-limited key for our organization to a Cache Server that I built out a few weeks ago for testing purposes. When I navigate in the portal to activate a new license key, I get this "ERROR #8610: License keys are not accepted on a Single User (SU) platform."
Is there something I need to do for this system in order to make it compliant for the key or do I need to request a new key from InterSystems that will work for this system? I didn't turn up anything on the web site here or via Googling the error and error text.
Looking for a way in which I could possibly pass a flag through a property when performing an Insert statement, on a mapped class.
insert into my.class (serialNumber, modelNumber, myFlag) value ('testSerial', 'testModel', 0)
myFlag is not stored in the DB.
The mapped class then calls a legacy routine (MAC) via CodeMode = 'objectgenerator', (Insert method within the 'objectgenerator')
Within the legacy routine, I am setting an index... but I don't always want to set it (multiple inserts, and I will only set the index on the LAST insert)
Wanna Cry
Most of you should be aware that the Wanna Cry virus is massively infecting un-patched windows machines all around the world. It's particularly affecting the NHS, one of my main clients.
Wanna Cry is one of a line of Viruses that exploit SMBv1 over ports 135 and 445.
A kill switch has been enabled, but this won't protect machines sitting behind http proxies, and there are already reports of new versions without a kill switch.
All windows machines should be isolated and updated a.s.a.p.
If automatic updates is not on, a patch can be dowloaded from here...
Hi Team,
I am interesting to learn IKNOW concepts in Cache.Will need your guidance.
I. What is iKnow.
ii. Where we are using Iknow(Real time example)
iii. How to we work on iKnow(Did any tools Need?)
iv. Please give notes and articals
Thanks ,
Ponnumani Gurusmay
Hi community,
I do not understand why I get a 'javaScript exception'?
Purpose is to search for a [Country] based upon a [Code] as search parameter.
this is my code:
<text id="CountryID" name="Code" label="Code" size ="8" />
<spacer width="5"/>
<text id="CountryName" name="CName" label="Country" size ="24" />
</hgroup>
<spacer height="5"/>
<button caption="Search" onclick="zenPage.searchValue();"/>
</page>
}
ClientMethod searchValue() [ Language = javascript ]
{
var ctrl = zen('CountryID');
tVar = ctrl.getValue();
alert (tVar); ///test-show text value
zenPage.
Recently I have encounter an issue to get the columns out from a query without execute it.
For example:
I have a Query looks like below. How can I get the 'col1,col2,col3,col4' or the text of the query("select col1,col2,col3,col4 from mytable") back?
{
SELECT col1, col2, col3,col4
FROM mytable
}
I was looking at the OrefToArray^%occRun in the %CSP.ErrorLog page in version 2016. However, we're on version 2014, and that method does not seem to exist yet. I would love a good way to swizzle out the info in the %request, %session, %response objects for the error log for my own error page, in version 2014. I don't want to have to go through and get all the properties manually, but I will if I must. Any other good way already written?
Thanks,
Laura
Hello All,
I have a question / issue regarding the calling list.FindOref(<object from indexOpen call>)
Here is a simple way to reproduce the issue:
2 classes: Utility.contacttypes and Utility.person
*************************
Class Utility.contacttypes Extends %Persistent
{
Property description As %Library.String(TRUNCATE = 1);
/// Index for property description
Index descriptionIndex On description [ Unique ];
}*************************
Class Utility.person Extends %Persistent
{
Property types As list Of Utility.Hi,
I would like to list out unchecked mapped items ( classes in management portal ) classes of a particular namespace. Is there any code or terminal command which i can use ?
I am able to list out classes of namespace . But I need to list out unchecked mapped items classes
do ##class(%SYSTEM.OBJ).GetClassList(.result)
Hi,
I would like to know if there is any code to compare and update two directories/namespaces for class files.
If file is present in directory1 and not present in diectory2, it should import the classfile.
If file is not present in directory1 and it is present in directory2, the corresponding file should be deleted from directory2.
Please suggest code for the task.
Thanks,
Arpitha R
Something that shot up the popularity stakes last week was this article on a very interesting initiative: RealWorld:
https://medium.com/@ericsimons/introducing-realworld-6016654d36b5
I decided it would be a good idea to use this as a way of creating an exemplar implementation of a RESTful back-end using QEWD against their published API (https://github.com/gothinkster/realworld/tree/master/api)
The results are here:
https://github.com/robtweed/qewd-conduit
Actually it's the first 3rd-party implementation out of the blocks!
Is there any good book where is described process of mapping globals to classes? And book about Storage?
I didn't find much information about these questions in documentation :-(
We at George James Software are pleased to announce the release of version 2.6 of Serenji, our editor and debugger for Caché, Ensemble and HealthShare.
The main enhancement in 2.6 is the ability to run on a Linux <edit> or OS X </edit> workstation using Wine 1.8. More release details are here.
This is a free upgrade to users already holding an activation key. For new users a free 30 day evaluation period is granted upon installation.
John Murray
Senior Product Engineer
George James Software
What is a correct way to pass parameters to the %CONTAINS in embedded SQL statement when searching thru %Text property?
s sp="child,health"
&SQL(
DECLARE c1 CURSOR FOR
SELECT ID INTO :id FROM ICD WHERE Name %CONTAINS (:sp)
...
is not the same as executing the following in the SQL Manager
SELECT ID FROM ICD WHERE Name %CONTAINS ('child','health')
Hi ,
From the below code, we are able to import the class file to the namespace ( specified path is C:\temp\distr )
I have a class file and a folder in the above specified path. When i run the code, it is importing only the class file but not the class files present in folder.
I would like to know is there any code to import the class files present in folder as well.
Include %occInclude Class User.InsClass { /// You can see generated method in zsetup+1^App.Installer.1 XData Install [ XMLNamespace = INSTALLER ] { <Manifest> <If Condition='(##class(Config.Namespaces).
How is the security handled in intersystems for GUI and web services testing part ? Does it have inbuilt security handling packages ? what are the limitations ? Please enlighten.
I want programmatically select last added row in tablePane. How I can do it?
I am using a method: %OverrideGuidAssignment("NEW GUID HERE") to override my GUID, and would like to know if there are any parameters, which allow this method to return a status & or error msg? If you currently set it to a variable it returns the new GUID you originally passed in, regardless of if it failed to override or not.
Thank you in advance
let know the source code to fetch files from git hub repository..while running the attached file we are getting error. ERROR #5001: Repository doesn't exist OR you don't have accesscoming1 1
Please help us to resolve the error.
Please find the code used :
Class Util.download Extends %Persistent
{
ClassMethod Update(Owner As %String, Repository As %String, Branch As %String = "", Username As %String, Password As %String, Namespace = {$Namespace}) As %Status
{
write ! , Username
write ! , Password
Set req = .CreateRequest(Username, Password)
write !In our last lesson, we added some formatting and validation to our Edit Widget form. So, now we are ready to add the ability to add new Widgets to our application. However, the great Widget Wars have come to an abrupt end, as Widget Direct has purchased its biggest competitor, WorldWideWidgets. In order to maintain some continuity, we need to display their catalog on our new application.
So, we have good news and bad news.
It's almost a year since I have published a series of articles explaining how to configure Cache instance as a client / resource server / authorization server. By that time, the implementation of OAuth 2.0 was still a pre-release software.
With the advent of Cache version 2017.1 a lot has changed. OAuth 2.0 implementation is fully completed and supported. Numerous new features were added (e.g. dynamic client registration) - see release notes here for full details - and configuration pages have been redesigned to a great extent as well.
In our last lesson, we added a form to Edit our existing Widgets, and save them back to the server. However, our Form was not well structured and our Save button had no intelligence, and was not fully visible. So today, we will apply some Material components and Angular style to make the form more useful
Let's open EditWidget.csp, and make some changes. First, we want to change the component from an md-card to an md-dialog.
I have a CSP page that needs to allow the user to submit a file. I have a form with an element in it <input type="file" name="file"/> which allows the user to select the file they want to upload from their local filesystem.
How do I go about actually getting the file to be sent to the server?