I have a process that receives a EnsLib.DICOM.Document, and then attempts to extract a PDF from the dataset to save to a folder.

When I use the GetValueAt method to get the pdf from the document (from the EncapsulatedDocument section), the status returned is 1, but I'm only getting the first 32648 characters(?) from the PDF.

I thought it was a string max length problem, but long strings are enabled and the final PDF is tiny (94kb) so it's not hitting the long string.

Is there some form of limit to using the GetValueAt method that I'm missing?

Last answer 10 days ago Last comment 2 July 2019
0   0 2
58

views

0

rating

Hi guys!

As you know there are two (at least) ways to get the stored value of the property of InterSystems IRIS class if you know the ID of an instance (or a record).

1. Get it by as a property of an instance with "Object access":

ClassMethod GetPropertyForID(stId As %Integer) As %String

{

set obj=..%OpenId(stId)

return obj.StringData

}

2. Get it as a value of a column of the record with "SQL access":

Last answer 29 June 2019 Last comment 13 days ago
0   0 4
114

views

0

rating

Hi all, I have released the latest version of VSCode extension for ObjectScript already a month ago, and finally a time for the info about this new release.

So, what's new in the release:

What's new in this version

  • added export setting "objectscript.export.addCategory" if enabled uses the previous behaviour, adds category folder to export folder, disabled by default
  • added Server actions menu, by clicking on server info from status bar. Open Management portal, Class Reference and toggle connection.
  • Class Suggestion in ##class, Extends, As, CompileAfter, DependsOn, PropertyClass
  • $SYSTEM suggestion by Classes from %SYSTEM
  • Import and compile folder or file by context menu in File Explorer
  • Server Explorer, now possible to open any other namespace
  • Macros suggestion

For details how it works now, look further.

Last comment 4 July 2019
+ 7   4 5
477

views

+ 7

rating

There are many projects which work on InterSystems products, and they are not always written only in ObjectScript. I think some of you working with different programming languages and already have some experience with other editors, and hope you already have a favourite online editor. 

My current choice is VSCode, whereas you may already know I have added an extension to support ObjectScript.

Last comment 1 July 2019
+ 1   0 4
379

views

+ 1

rating

Hello everyone,

Anyone can help me please. We use SOAP web service with public methods and have many instances of these classes, all work fine. We would like to create a new SOAP web service but for internal usage only, meaning not available to the public. The purpose of this is for communication between different servers internally.

We thought of having the methods to be Internal, WebMethod instead of just WebMethod.

Any suggestions?

Regards

Ben

Last answer 1 July 2019
0   1 2
0

comments

81

views

0

rating

Hi 

Quick question... Is it possible to save a class in another namespace. If you're saving a global you can just use an extended reference, but is it possible to achieve the same when saving a class object?  Obviously the class will be defined in the other namespaces too.

I want to do it from an Ensemble SOAP Service. I guess you could switch namespaces, but I was a bit worried about doing that from Ensemble process.

thanks

 

Last answer 28 June 2019 Last comment 28 June 2019
+ 1   0 4
134

views

+ 1

rating

Hello,

Working on to learn very basic CUSTOM Business Service which sends to a EnsLib.File.PassthroughOperation.

But operation is not writing to File and erroring out (No Stream contained in StreamContainer Request")'.

How do convert the object to STREAM and wrap in the StreamContainer so the operation does not error and write to a file.

Thanks.

Persistent Class

Last answer 26 June 2019 Last comment 28 June 2019
0   0 3
112

views

0

rating

This is embarrassing. I should know how to do this but I have forgotten.

I know the slowness of the 'Source' and 'Target' parameters in Message message viewer being slow to load is caused by the Bitmap indices of Ens.MessageHeader.

I know I need to run the 'bitmap index clean up' routine for Ens.MessageHeader to fixed the issue.

 What I forget is how to do this? 

Last answer 28 June 2019 Last comment 27 June 2019
0   1 4
91

views

0

rating

Hello,

I have a problem with sending soap request.

I get wsdl . The wsdl class bellow

Class Data.SOAP.PrinServ.NotificationRequest Extends (%RegisteredObject, %XML.Adaptor) [ ClassType = "", CompileAfter = Data.SOAP.PrinServ.Lang, Inheritance = right, ProcedureBlock ]
{

Parameter ELEMENTQUALIFIED = 1;

Parameter NAMESPACE = "http://tempuri.org/";

Parameter XMLNAME = "NotificationRequest";

Parameter XMLSEQUENCE = 1;

Property IIN As %String(MAXLEN = "", XMLNAME = "IIN");

Last answer 28 June 2019 Last comment 28 June 2019
0   0 1
54

views

0

rating

Hi,

We have a function that takes two parameters, the second one is for output value:

MyFunc(Param1,Param2)

 S Param2="it's all good"

Q 1

 

How can we detect if the caller called the function with one, or two arguments?

Meaning,  how to distinguish this call:

S Result=$$MyFunc(1)

from this call:

S Result=$$MyFunc(1,.OutVal)

 

Thanks!

Nael

Last answer 27 June 2019 Last comment 27 June 2019
0   0 1
129

views

0

rating

Hey Everyone!

Not a secret that InterSystems Global Masters Advocate Hub is connected to Developer Community tight. Making any contribution to DC will bring you points on Global Masters. 

So! We have prepared a short guide on how to best earn points on Global Masters:

HOW TO EARN POINTS ON GLOBAL MASTERS

Write a post on Developer Community* 

100

Answer a question / Make a comment*

30

Your 1st answer marked as Accepted / each next

1 000 / 150

Read an article on DC

30

Watch the video

20

Share an article / video in Social Networks

50

Invite your friend to DC

600

Post with 500+ / 1000+ / 5000+ views

450 / 2 000 / 15 000

Ask 10 / 50 / 100 / 500 questions on DC

500 / 3 000 / 10 000 / 50 000

Write 10 / 50 / 100 / 250 posts on DC

1 000 / 10 000 / 30 000 / 100 000

Write 1 / 10 / 25 / 50 Articles with Best Practices tag

300 / 3000 / 15 000 / 50 000

Write 10 / 50 / 100 / 250 Articles about IRIS

3 000 / 30 000 / 100 000 / 250 000

Write 10 / 50 / 100 / 250 Articles about Caché 

3 000 / 30 000 / 100 000 / 250 000

Write 10 / 50 / 100 / 250 Articles about Ensemble

3 000 / 30 000 / 100 000 / 250 000

Write 10 / 50 / 100 / 250 Articles about DeepSee

3 000 / 30 000 / 100 000 / 250 000

Write 10 / 50 / 100 / 250 Articles about iKnow

3 000 / 30 000 / 100 000 / 250 000

Write 10 / 50 / 100 / 250 Articles about HealthShare

3 000 / 30 000 / 100 000 / 250 000

Make a review for InterSystems / InterSystems products

2 000 / 3 000

Post with 10 / 50 / 100 favorites

450 / 2 000 / 12 000

Publish each one / 1st / 5 / 10 / 25 applications on Open Exchange

800 / 1 000 / 10 000 / 25 000 / 75 000

*counted only the posts that were published after registration on the Global Masters Advocate Hub.

Last comment 27 June 2019
+ 3   1 5
148

views

+ 3

rating

This is more for my memory that anything else but I thought I'd share it because it often comes up in comments, but is not in the InterSystems documentation. 

There is a wonderful utility called ^REDEBUG that increases the level of logging going into mgr\cconsole.log. 

You activate it by

a) start terminal/login

b) zn "%SYS"

c) do ^REDEBUG

+ 4   0 1
0

comments

88

views

+ 4

rating

Hi Everyone!

New session recording from Global Summit 2018 is available on Developer Community YouTube Channel:

InterSystems IRIS Reference Architectures

 

+ 1   0 1
0

comments

36

views

+ 1

rating

Hi! I am working in a java project (Spring Boot+ Maven + Hibernate) using jpa/hibernate to manage the persistance with the IRIS database from the Docker image (store/intersystems/iris:2019.2.0.107.0-community) and I've found an issue using the IRIS instance, when I define tables with relationships OneToMany, ManyToOne or ManyToMany and I try to fetch all the rows of the tables using the default method findAll (JpaRepository implements that method to get all the rows by default) the query automatically exceeds the limit of licenses availables.

Last answer 21 June 2019 Last comment 25 June 2019
0   0 3
189

views

0

rating

Hello everyone,

 

I'm facing an issue i would like to resolve :).

I have a BPL which throw a DTL. My DTL has many reasons to raise an Exception.

 

I would like to catch this exception within my BP with a SCOPE but it does not work.

The BP seems to catch its own Exception but does not care at all of my DTL Exception.

 

So, is it possible to use the SCOPE in my case ? Otherwise, how can I handle the exception in my DTL ?

 

Thanks a lot for your reply.

 

Matt.

Last comment 24 June 2019
0   0 1
0

answers

107

views

0

rating

Hi all, My first post. I hope I have created it correctly.

 

Our team is looking to increase the number of characters in our Ensemble 'Categories' for Services, Processes and operations.

We are doing this to better identify things like Vendor, Message type and integrated application names...

One of our team members thought his might increase processing overhead and a discussion ensued that was not resolved.

my thoughts...

Last answer 21 June 2019
0   0 3
0

comments

66

views

0

rating

Hi, 

Is there any facility in Health Connect to notify us before a SSL/TLS security certificate expires?

I'd be interested in how other teams handle this as we are using TLS/SSL a lot more to integrate with external services. 

Kind regards, 

Stephen
 

Last answer 21 June 2019 Last comment 21 June 2019
0   0 3
82

views

0

rating