go to post Jenna Poindexter · Jan 9, 2023 Are you looking to count nodes that have data? Will your global always be sequencially and numerically subscripted like your example?
go to post Jenna Poindexter · Nov 30, 2020 At a high level you can find the feature differences between Cache, Ensemble and IRIS here: https://www.intersystems.com/wp-content/uploads/2019/05/InterSystems_IRI...
go to post Jenna Poindexter · Jul 25, 2020 Hi Ken In ObjectScript an abstract class simply means that you can not instantiate it. You MUST subclass it and instantiate the subclass. The concept you understand is supported in Objectscript but it requires that you declare the method itself as abstract. The two (abstract class keyword and abstract method keyword) work independently of each other. Does this explain what you are seeing better?
go to post Jenna Poindexter · Jun 3, 2020 Robert Obviously the class keywords and source could diverge and become incompatible. That said, take a look at the header in the export file. Should be as simple as changing IRIS to cache
go to post Jenna Poindexter · Apr 15, 2020 Hi Yakov First, I wouldn't implement this kind of logic in a business service. I would have a business service that immediately passes a message to a business operation and then perform these functions there (or possibly in business operations). Services should not be long-running which building and querying a staging table seems like it might take some time.
go to post Jenna Poindexter · Mar 31, 2020 My stream definition is Property Streams As list Of %CSP.CharacterStream; I used the %CSP.CharacterStream because that is what was being created in the %request object and I figured it would be simpler to just add that stream to my collection. I understand why this would be stored in CacheStream as it it created by the CSP engine. I think my solution is to use a %Stream.Character and actually copy the contents from the %CSP.CharacterStream rather than storing itself.
go to post Jenna Poindexter · Mar 26, 2020 I think I may have it. Basically I. Base64.encoding the file on the client side and will need to decide it on the server. I need to do a little more testing and debugging in the morning and will post the solution.
go to post Jenna Poindexter · Mar 26, 2020 No. There is another page that is the target of the HTTPRequest POST which takes the file data passed in request and stores the file into the database. Problem is that the binary files aren't received properly
go to post Jenna Poindexter · Feb 13, 2020 If it is desirable to have the customized setting heading with distinct separate words (like in the HL7FTPService) in the production configuration view then the global CacheMsg should be updated in the related namespace (e.g. Ensemble) where the production will be running as it is shown below for the RemoteArchivePath: Ensemble>set ^CacheMsg("EnsColumns","en","RemoteArchivePath")="Remote Archive Path" After that change the RemoteArchivePath setting name is shown in the view as ‘Remote Archive Path’.
go to post Jenna Poindexter · Feb 6, 2020 I must not have had enough coffee today because it looks right to me. :)
go to post Jenna Poindexter · Feb 6, 2020 Interesting. I did get this to work but don't believe it's calling the %iFind.Utils:Highlight method. The reason I say this is that the method has extra parameters that don't correspond to the SQL %Fimd.Highlight SQL function.
go to post Jenna Poindexter · Feb 6, 2020 Eduard, I had seen that in the docs and have tried various flavors of it. I am using embedded SQL in a classmethod here to do my search. Here's the method ClassMethod Search(pSessionId As %String, pSearchString As %String) As %Stream.GlobalCharacter { set tTags="<span style='background-color:yellow;'>" &sql( SELECT %iFind.Highlight(Text , :pSearchString , '' , :tTags) into :results FROM SSA_OCR.TempSearchable) quit results } When I try to use this, I get: SSA>s rs=##class(SSA.OCR.TempSearchable).Search(20, "Cough") quit results } ^ <UNDEFINED>zSearch+7^SSA.OCR.TempSearchable.1 *results SSA 2e1>w results W results ^ <UNDEFINED>^SSA.OCR.TempSearchable.1 *results SSA 2e1>w %objlasterror 0 à=<CLASS DOES NOT EXIST>zApplyTransformation+6^%iFind.Utils.1SSA*^zApplyTransformation+6^%iFind.Utils.1^15d^zPrepareTransformations+27^%iFind.Filer.Basic.1^1(d^zFileIndex+33^%iFind.Filer.Basic.1^1*d^zFileIndex+8^%iFind.Filer.Semantic.1^1*d^zFileIndex+5^%iFind.Filer.Analytic.1^1"d^zHighlight+17^%iFind.Utils.1^1,e^%0JmCm3l4tudf^SSA.OCR.TempSearchable.1^41e^%0JmBuncommitted+1^SSA.OCR.TempSearchable.1^1(d^zSearch+6^SSA.OCR.TempSearchable.1^1e^^^0 SSA 2e1>d $System.OBJ.DisplayError(%objlasterror) ERROR #5002: ObjectScript error: <CLASS DOES NOT EXIST>zApplyTransformation+6^%iFind.Utils.1 SSA 2e1> Any thoughts on why this is erroring?
go to post Jenna Poindexter · Dec 21, 2019 Ben Check %SYSTEM.INetInfo. I think it probably contains a method to serve your purpose
go to post Jenna Poindexter · Dec 19, 2019 The proper way to do this would be if the %OnNew is going to error you should throw an exception- If you did this, the thrown exception should be caught by your try/catch block that calls the %New() method. Then in the catch block you can examine either %objlasterror or perhaps some specific error variable you create for your purposes.
go to post Jenna Poindexter · Dec 11, 2019 Hi- Even in a http POST, url variables are found in %request.Data. The content stream will contain the body of your post.
go to post Jenna Poindexter · Nov 28, 2019 See https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
go to post Jenna Poindexter · Nov 23, 2019 I'm not really familiar with this service but it looks like there's a format problem with some content field. Maybe Telephone
go to post Jenna Poindexter · Nov 19, 2019 Working with customers who use Cache based products, while myself using primarily IRIS based products I have run into this difficulty more than once. The only work-around I have found has been to manipulate the header of the export file generated by an IRIS system before importing into a Cache based system, not exactly easy or guaranteed to work. The other option is to keep your code exported in an external code repository and then after you make fixes to the code re-deploy the changes to IRIS and Cache.