Stella Ticker · Apr 15, 2017 go to post

Hey Sean

Please may we see your in-house unit test tool that works from a browser?

Stella Ticker · Apr 15, 2017 go to post

 At my current job, we do not have local installations of Cache. All  developers work on a single windows server which serves as a development environment. There is no source/version control or central repository. I am wondering if there are source control clients that would allow several users to work off different branches but on the same machine, so that each user has their own "local" version of a repository..We want to introduce source control, branching and code reviews. However my experience with this has only been in situations where each developer has a local instance of Cache on their laptops. Any ideas on how we can solve this?

Stella Ticker · Apr 29, 2017 go to post

Thanks,  but the two different lines contain date and time stamp related information so the contents of diff would be unknown

Stella Ticker · May 12, 2017 go to post

Previous comment recommended processing the file as a single message stream. That ended up slowing the message viewer so much for these large messages that that it is impossible to view the message at all  because the stream is too large .So this line by line approach is being explored.

What is your definition of a few k? Each line is about 25000 KB. 

Stella Ticker · Jul 28, 2018 go to post

Thanks for the debug answer.

Setting the credentials on the Operation did not work.

When I put a $$$HTRACE to write its value to UtilTrace, it is blank.

I had already tried that.

Stella Ticker · Feb 21, 2019 go to post

Goodness me, this works! Thank you

I did have to add the PublicList  attribute to both the calling and the invoked methods, otherwise it would not work!

Ex

ClassMethod Main() [PublicList =(var1, var2)]
{
    Do ..InvokedMethod()
    W !,var1
}
ClassMethod InvokedMethod() [PublicList =(var1, var2)]
{
    Set var1 = "ChangedInInvoked
}

Stella Ticker · Apr 14, 2019 go to post

laugh Thank you for your answer, Evgeny! The dads in this data set are conservative!  There are 500 dads with less than 5 kids each so the trick should work!.  

Stella Ticker · Apr 26, 2019 go to post

Hi Evgeny

I was able to define a level that shows the list of kids ids for a given parent.%Id(). I used an expression tag and a %cube method .

But what is the syntax for displaying the data for the kids properties in the parents cube levels/properties. Sorry I could not see anything in the documentation.

Stella Ticker · May 15, 2019 go to post

Thank you for your help . I ended up returning the list of child properties to the cube dimension, not the list of child ids.

Stella Ticker · Apr 24, 2017 go to post

I want to utilize the  $$$AssertFilesSame macro to compare 2 files . The only difference between them are 2 lines that are allowed to be different. I wanted to open the file streams, go to those line numbers and delete them. Then run the $$$AssertFilesSame.  

Stella Ticker · May 12, 2017 go to post

This is the while loop in the code of a FileService  class that extends EnsLib.RecordMap.Service.FileService.

While 'tInputStream.AtEnd {
            Set tSC = ..GetRecordObject(tInputStream, .tRecordObject,,.tLookAhead)
            If $$$ISERR(tSC) Quit

            Set tSC = ..SendRequest(tRecordObject, 1)
            If $$$ISERR(tSC) Quit
        }

The requests are asynchronously sent to a target. But there is significant time being taken for the while loop to complete

Stella Ticker · Feb 16, 2019 go to post

Did you try httprequest.SetParam("Query",<query value>) and httprequest.SetParam("Path",<path value>)?

Stella Ticker · Apr 13, 2019 go to post

Did you ever get a resolution to your question?

By values of a filter, do you mean the list of drop down entries that a user would choose in the filter?

If that is what you are asking and assuming your dashboards are all  built from the same cube, you can share filter values across the them  by creating a KPI class (Extends %DeepSee.KPI) that contains all those shareable common things like filters or actions. Then extend the cube class with this KPI. This way the items of the KPI become available in the dashboards and then it is just a matter of attaching the individual items to widgets of the dashboard.

Stella Ticker · May 15, 2019 go to post

Never mind! I found it, or at least a version of it,  in the documentation

Calculated Member (Measure)

Value Expression = Measures.[%Count]/%MDX("Select from myCube")

Format String = ###.##%

Stella Ticker · Feb 3, 2020 go to post

Enrico,

Thank you for your response  and for testing this in Ensemble. You can paste colorful Studio Code by selecting the text and clicking on the 4th from last icon which looks like a rectangle that has the greater and less than signs: <>. When you hove over it, it states "Highlight ObjectScript".

Stella Ticker · May 27, 2021 go to post

@Julius Kavay 
That space is being added by the error handler. There is no space between the last character and the tab delimeter in the input data. 

Stella Ticker · Aug 18, 2023 go to post

Interesting, I see this error: Illegal CSP Request : CSP Error  and here is the stack trace

11 DO zProcessRequest+1^%CSP.Request.1
    12 PARAMETER ?
    13 NEW NEW %SYSLOG
     14 ERROR TRAP S $ZTRAP="+117^%SYS.cspServer2"
     15 DO Request+25^%SYS.cspServer2
     16 DO Request+645^%SYS.cspServer2
    17 PARAMETER .?,?,?
     18 DO zProcessRequest+1^%CSP.Session.1
    19 PARAMETER .?,?,?
    20 NEW NEW %request,%response,%session,%cspdebug,%cspsoapservice,%SYSLOG
     21 NEW $ NEW $ETRAP
     22 ERROR TRAP S $ZTRAP="+1031^%SYS.cspServer"
     23 DO CSPDispatch+275^%SYS.cspServer
     24 NEW $ NEW $ROLES
     25 $$EXTFUNC CSPDispatch+466^%SYS.cspServer
    26 PARAMETER ?
    27 NEW NEW %CSPsc
     28 $$EXTFUNC zPage+8^%CSP.ErrorLog.1
     29 PARAMETER
     30 NEW $ NEW $ETRAP
     31 DO zOnPage+2^%CSP.ErrorLog.1
     32 DO zLogError+7^%CSP.ErrorLog.1
    33 PARAMETER %00000
     34 ERROR TRAP S $ZTRAP="LOGE^%ETN"
     35 DO LOG+7^%ETN ~d BACK
    36 NEW NEW %00000
     37 ERROR TRAP S $ZTRAP="ETNERRB^%ETN"

Is there something I need to change in the web gateway?

Thanks

Stella Ticker · Apr 6, 2024 go to post

Standard Unified Login Application: Where is the login page for the new clinical viewer saved? I want to change that look and feel of this page

Stella Ticker · Apr 6, 2024 go to post

This did not work for me either. I used ##class(HS.UI.Navigation.RestHandler).BuildRootUrl() 

to get the host url. Then tried to launch the web terminal as listed in step 3. I got this error

"the requested URL/terminal was not found on this server"

@Theo Stolker 
Is there a step that may have been missed in these instructions?

Stella Ticker · May 14, 2024 go to post

@Kate Lau 
This is wonderful! Thanks alot!

I have not looked at the class reference so please pardon me if my questions are basic! But how would you modify the request to add things like modifiers and parameters? Would they be placed in the Request Path String? Also, if this client authenticates with the FHIR Repository through certificates, how is that handled?

Thank you

Stella Ticker · Jun 10, 2024 go to post

Thank you!!

This is what I needed (minus this line: Set tSC $$$ERROR($$$GeneralErrortResponseQuickStream.Read()))