We are using object EnsLib.EDI.XML.Document and the method OutputToString -- ( context.XMLObject.OutputToString("C(utf-8)") ), In the string that we get back, Hebrew characters are unknown and we get question mark instead.
How can we overcome it?
Beginner tag unites articles and questions for those who are getting started with InterSystems Data Platform
We are using object EnsLib.EDI.XML.Document and the method OutputToString -- ( context.XMLObject.OutputToString("C(utf-8)") ), In the string that we get back, Hebrew characters are unknown and we get question mark instead.
How can we overcome it?
Cross-origin Resource Sharing (CORS) is one of the basic security features built into browsers. CORS controls accessing resources from a HTML page in domains other than the original domain. It is particularly important for AJAX calls. Since RESTful services can be used as data provider to any AJAX call, you have to be able to control cross-origin access. By default services are not allowed to do CORS. You are going to learn how to enable it for Ensemble RESTful services.
The Resource Map class (the subclass of %CSP.REST) controls whether CORS is enabled. There are two approaches to do.
NewBie's Corner Session 29 Documentation on the Caché/MUMPS Global Structure
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
This post contains several links to very good documentation of the Caché Globals Structure.
Like I said, "Perhaps the most difficult concept in Caché/MUMPS is its Global Structure."
universalNoSQL.pdf - http://mgateway.com/docs/universalNoSQL.pdf
by Rob Tweed and George James
Extreme Database programming with MUMPS Globals
NewBie's Corner Session 1 Installing Caché
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Session 1 - InterSystems Inc. allows you to download a single copy of Caché to your personal computer at no cost. This is available from www.InterSystems.com. It is at this link: https://download.InterSystems.com. You will first need to register yourself with InterSystems. Follow the instructions on how to download the install file. Choose the full version of Caché, not the Client Components.
NewBie's Corner Session: 9 Documentation and books
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
To access your documentation:
Assuming you have installed Caché, (see NewBie's Corner, Session:1),
Click on the InterSystems cube in the Windows system tray, then choose Documentation.
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.
NewBie's Corner Session 25 Globals, Variables, and Arrays Part 1
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Globals, Arrays, and Variables
A thorough understanding of Globals, Arrays, and Variables is foundational for every Caché developer.
A Global may be:
Scalar (a single element), as in a Global Variable
NewBie's Corner Session 20 Parameters and Status Part I
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Parameters
Parameters are another name for Variables when used in passing data from one Routine to another.
Let us say we have 2 routines (RtnA and RtnB), and we want to pass 3 parameters (Parm1, Parm2, Parm3) from RtnA to RtnB.
NewBie's Corner Session 17 New command
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
New command
The New command limits a variable's scope or range of use. In theory the New command is simple, in reality the New command is powerful and needs to be respected and understood. In Caché ObjectScript and MUMPS an entire chapter is devoted to it.
NewBie's Corner Session 3 More Read and Write commands & Multiple commands
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Click on the Caché Cube in your system tray and select Terminal to try out the commands.
Write command with carriage return and line feed
When the exclamation point "!" is inserted after a Write command, a carriage return and line feed combination is produced. Note in this example, that a comma separates the exclamation point from the variable "X".
NewBie's Corner Session 8 Not
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Click on the Caché Cube in your system tray and select Terminal to try out these commands.
NOT operator ('), single quote or apostrophe
The "NOT" operator reverses the truth-value and is intended for numeric operands, however it can be used on alphanumeric operands.
NewBie's Corner Session: 5 Operator Precedence
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Click on the Caché Cube in your system tray and select Terminal to try out the commands.
Order Precedence means the order in which mathematical operators are executed. In a Mathematical expression, you may have Multiplication, Addition, Subtraction, and Division. Which of these are executed first, second, third, etc.
Hi
In studio when I right-click a package there is no option to delete it.
Also how do I upload an image to this post without linking to an external site?
Currently when class is saved in Atelier it is automatically saved on disk and on server (if there is an active connection).
Is there any way to save file with class or routine just on disk, but not on server?
In MSSQL I think you can do something like this:
select *
from HS_IHE_ATNA_Repository.COLUMNS
where TABLE_NAME='Aggregation'How can I do this in Cache SQL?
[%msg: < Table 'HS_IHE_ATNA_REPOSITORY.COLUMNS' not found>]
Does Caché support a relationship property ordered according to a specifc value?
What shoud be the best approach?
Hello,
I am trying to log the output of csession in Linux. I try this command:
csession cache | tee myoutput.log
Although it works each new lines at screen output doesn't appear at row 1...
Any tip?
I've searched the ObjectScript reference for any instances of Upper, Lower or Case and the only thing is a case/switch statement. In all the documentation I can only find SQL and Cache Basic references for things like UCASE.
So how do I do this in ObjectScript?
For instance, if (ucase(dtype)="G") { }
I'm designing a workflow for PHR via FTP. What I've done is create a single FTP adapter to pick up files from multiple customers. A router then accesses a lookup table and determines if a particular customer is allowed to send a particular message type to the state. If not, the message doesn't go out. It seems like everyone is against this approach (other than my CEO, thankfully), including Intersystems:
Our recommendation though is to create separate interfaces to retrieve PHR data from individual
participants. This configuration .
Hi,
I created with Studio a persistent class with the following field and index:
Property DescriptionDemande As %String(MAXLEN = "");
Index IDXBASDescriptionDemande On (DescriptionDemande) As %iFind.Index.Basic(INDEXOPTION = 1, LANGUAGE = "fr", LOWER = 1);
INDEXOPTION is set to 1 for activating stemming. I'm indexing french documents. I have set lower to 1 because I want to do non case sensitive search.
So calling this lookup manually from the console works as expected:
However, calling it from a method with some concatination to build the key is giving me problems:
I have a routing rule that processes messages from multiple customers. I would like to create some sort of flag or setting that I can toggle to indicate if a given customer is allowed to pass messages through the router. Should I use a registry entry, lookup table or something else? Which can be accessed from a routing rule and how?
Hi,
I'm trying to create a Zen Report that, when rendered to PDF has a header on every page that includes some items from the group that I'm iterating over in the <body>. I can't use <header> as that only displays once for each iteration, even if that spans more than one page, but <pageheader> seems to be independent of <body> so again doesn't work.
Cheers,
Steve.
Hello,
is there any mechanism available in DeepSee to keep values of AGE dimension up-to-date without rebuidling cube? Can age be determined at the mdx query execution time?
Thank you!
Dan Kutac