Do you want to accept requests via HTTPS?
If so, you need to:
- Install external web server. If you're on Linux I recommend Apache.
- Obtain a domain name. Let's encrypt offers free certificates.
- Enable HTTPS for your web server.
- Log in to post comments
Do you want to accept requests via HTTPS?
If so, you need to:
How many Jobs are working on that BP?
SELECT $TRANSLATE(CallbackComment ,'''','?') FROM SQ.CBPhoneResult_View WHERE PhoneDateODBC = '2018-04-09'
Also try
As i have mentioned that i am using the Intersystem ODBC
Where? I thought you were using SMP.
Try to change SELECT field CallbackComment to one of:
Looks like Timeout issue.
1. Do you have index on PhoneDateODBC?
2. Can you execute the same query using some JDBC tool?
It's a REST broker method so status should be returned.
Thank you, missed the TABs.
You can receive all filter values for cube if you pass its name as a datasource:
/Info/FilterMembers/YourCubeName
Here's an output I get:
USER> USER> USER> This is written by INT routine USER> which is created from a script injected to csession. USER> USER> D ^MyBootRoutine ^ <NOROUTINE> *MyBootRoutine USER> USER> USER>
Looks like it's still line-by-line execution.
It's executed during container build, so to load something I need a script.
This answer by @Timothy Leavitt explains how to get CLS line from INT line.
Maybe we can add that functionality to Atelier?
First you need to load CSV into class.
After that you can convert objects of your new class into json using SQL JSON_OBJECT function or %ZEN.Auxiliary.altJSONProvider.
You can determine, where does the message comes from by inspecting it's header, get header Id from:
$$$JobCurrentHeaderId
and query Ens.MessageHeader class.
Alternatively, check "process" variable in BPL or current context in ObjectScript processes. Maybe the whole object would be available somewhere.
Check out this list of tools for C#/InterSystems interoperability.
I think you need Caché Managed Provider for .NET.
In <installdir>\dev\dotnet there are several examples available.
Here's an example of accessing properties and array elements:
set jsonObj = [].%FromJSON(filename)
set i = jsonObj.resultSets.%GetIterator()
while i.%GetNext(.key , .resultSet ) {
set i2 = resultSet.rowSet.%GetIterator()
write resultSet.name,!
while i2.%GetNext(.key , .rowSet ) {
write rowSet.%Get(0),!
}
}$zu(68,40,switch)
can be replaced with:
set old=$system.Process.SetZEOF(switch)
Also, what does this command do?
kill ^TMP($zn,$j)
This error indicates that either login and password are incorrect or that user has insufficient permissions to access management portal.
Generally you'll need to check the service and adapter method lists. Callbachs are often called "On*".
1. Connect to other system via xDBC
2. Query %Dictionary package on a local and remote system and compare results.
But prior to 2010.1 we didn't have $NAMESPACE
As @Lucas Fernandes uses $namespace in his solution:
#dim currentNamespace As %String = $namespace
that is not a concern in this particular case.
Here's my URL template
jdbc:Cache://{host}[:{port}]/{database}
If you connect but get Access Denied, try user with %ALL permissions to remove doubts about insufficient privileges.
Are there advantages to using:
set currentNamespace = $namespace znspace "%SYS" // do stuff znspace currentNamespace
Instead of:
new $namespace set $namespace = "%SYS" // do stuff
What about output file size?
Sample integration with Moscow Exchange.
You can use %Stream.FileBinary and %Stream.GlobalBinary classes.
Try to replace %XML.String with %String(MAXLEN="");
4. Didn't found how to do that automatically, but adding <br/> to text value adds a new line, i.e.:
Set var(0,1) = "!!!!!!!!!!!!!!!!<br/>!!!!!!!!!!!!!!!!!!!!!"
Thank you, Marc!
Set body to Arial and it works:
<body foStyle="font-family='Arial'">
So far I got:
Class Test.Zen Extends %ZEN.Report.reportPage
{
Parameter DEFAULTMODE = "pdf";
/// ReportDefinition is a placeholder.
XData ReportDefinition [ XMLNamespace = "http://www.intersystems.com/zen/report/definition" ]
{
<report xmlns="http://www.intersystems.com/zen/report/definition"
name="MyReport" runonce="true">
</report>
}
XData ReportDisplay [ XMLNamespace = "http://www.intersystems.com/zen/report/display" ]
{
<report xmlns="http://www.intersystems.com/zen/report/display"
name="MyReport">
<body>
<table ongetData="GetCount">
<table orient="row" ongetData="NamesAndAddresses" style="border:1pt solid black">
<parameter fieldnum="1"/>
<item fieldnum="1" >
<caption value="Name"/>
</item>
<item fieldnum="2" >
<caption value="Title" />
</item>
<item fieldnum="3" >
<caption value="Pages" />
</item>
</table>
<parameter value="test" />
</table>
</body>
</report>
}
ClassMethod GetCount(ByRef var As %String, ByRef params)
{
set count=3
for i=0:1:count-1 {
set var(i, 0) = i
}
}
Method NamesAndAddresses(ByRef var As %String, ByRef params)
{
if (params(1) = 0) {
Set var(0,0) = "Alice"
Set var(0,1) = "Hello"
Set var(0,2) = 123
} elseif (params(1) = 1) {
Set var(0,0) = "Bob"
Set var(0,1) = "World"
Set var(0,2) = 456
} elseif (params(1) = 2) {
Set var(0,0) = "Charlie"
Set var(0,1) = "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
Set var(0,2) = 789
}
}
}Which produces this output:
The questions I have:
And what about pdf?
Is it empty too?