Question Omar Ali Ateen · Jan 24, 2023

Dear Friends

Please help me to create  %ZEN.proxyObject same in below example:

 

{

    "dynamicLinkInfo": {

        "domainUriPrefix""link.example.com",

        "link""https://www.examplelink.com"
    },

    "suffix": {

        "option""SHORT"
    }

}

 

My Code

   

 // body
    set BodyObject=##class(%ZEN.proxyObject).%New()
    set dynamicLinkInfo=##class(%ZEN.proxyObject).%New()
    set suffix=##class(%ZEN.proxyObject).%New()
set DataObj=##class(%ZEN.proxyObject).%New()
set Data2Obj=##class(%ZEN.proxyObject).%New()
Set DataObj.domainUriPrefix= "link.example.
2
0 362
Question Omar Ali Ateen · Oct 17, 2022

Hello 

I have a class to render reports as  pdf. My problem that arabic characters in report replaced with ####. 

Please find my code below

#dim stream as %Stream.Object set report = $classmethod($piece(reportClass, ".cls"), "%New")
set report.RUID = RUID set %response.ContentType = "application/pdf"

set sc = report.GenerateReportToStream(.stream, 2) return:$$$ISERR(sc) sc
do stream.OutputToDevice()

return $$$OK

Your help is appreciated.

3
0 334
Question Omar Ali Ateen · Nov 9, 2021

Dear All

I am trying to interface LAB instruments with LAB System using ASTM over TCP. I read the documentation here . But I can't understand how to connect instrument and LAB system in same port, please see the screenshot of interface below. Please help.

Details:

  • For Servece I use "EnsLib.EDI.ASTM.Service.TCPService" class.
  • For Proccess I use "EnsLib.MsgRouter.VDocRoutingEngine" class.
  • For Operation I use "EnsLib.EDI.ASTM.Operation.TCPOperation" class.

 

 

4
0 406
Question Omar Ali Ateen · Sep 8, 2021

Good Day

I have http response comes with strange characters "ليس لديه الØ", but it's normal when i test in postman. Is there any method to read arabic.

Regards

9
0 740
Question Omar Ali Ateen · Jun 21, 2020

Good day all

I am a new developer in cache, I am trying to connect vscode to healthshare but i get the following error:

////Error: Error: Parse Error: Expected HTTP/////

Please help me on this.

 

My setting like this:

{

    "objectscript.conn": {

      "active": true,

      "label": "LOCAL",

      "host": "****",

      "port": 57772,

      "username": "***",

      "password": "***",

      "ns": "***",

      "https": false,

    },

    "objectscript.export.folder": "src", 

    "objectscript.serverSideEditing": false

  }

4
0 471