go to post Mark OReilly · Mar 13 IRIS for Windows (x86-64) 2022.1.2 (Build 574U) Fri Jan 13 2023 15:00:26 EST [Health:3.5.0-1.m1] This has been an upgraded version from a previous i think 2016 version about a year and a half ago
go to post Mark OReilly · Feb 20 Hi: That's what i was trying to do as a calculated/computed field. Basically the table used states further what length the field is left/right padding and what string record it should be. I have a suitable enough work around not using a computed field.
go to post Mark OReilly · Feb 20 Thanks: Over the weekend a viable solution has been found for this. A decision was made that actually the code being ran was probably too complex to be a computed field. This code was originally written in a Business process. The solution was to amend the custom method of the process and call a classmethod for this which could be run in a dtl or when setting up the class. The scenario was we had a property that is a long string of all the other values Decided best just to add to any DTL I would prefer it generating the function when the dtl is complete ect in the class without having to call it externally but i doubt it is actually possible
go to post Mark OReilly · Feb 17 To clarify my question this is the library property helper class Library property helper when you look at the documentation for computed from documentation here Computed documentation ClassMethod FullNameComputation(cols As %Library.PropertyHelper) As %String { return cols.getfield("FirstName")_" "_cols.getfield("LastName") } // ... But you can't seem to throw a parameter i.e.par= "Firstname" cols.getfield(par) in the code without it throwing errors
go to post Mark OReilly · Feb 17 https://docs.intersystems.com/irisforhealthlatest/csp/documatic/%25CSP.D...
go to post Mark OReilly · Jan 19 Thanks very clever i have used Code writes before including this week and showing a colleague using writes out for variables, didn't think that of course you could write out the raw content, looks good and very useful
go to post Mark OReilly · Jan 10 Hi: We agree we loaded up the page and Ctrl + F did not work in Google Chrome on Windows. Due to this really as a key workflow we are having to revert back to the old viewer. Mixed views on the new layout, some people are big fans that it is more separated out and with it saying "if and then" rather than when and an action that wasn't as clearly broken up. There is too much whitespace around the if and then boxes i would say. The rule box fits very neatly but especially if you have an if expression 1 and only a simple send with a transform the boxes are just a little big with whitespace. One thing we discussed was the rule numbers. When you do a "test" or the rule logging it will at first return a rule number effected still but rule numbers are not on the rule editor. I understand i think the rationale as developers rule numbers themselves change so for internal development reference in notes they shouldn't be used but think in terms of UI the rule numbers should probably be included. How do you generally go about requesting bug fixes or just general improvements? In category on the production monitor a lower case a going below something starting with an upper case Z is still mildy frustating
go to post Mark OReilly · Sep 13, 2023 Hi: As responded below in the list yes you can use ^MONMGR in the terminal to email out to recipients whenever you have an error above a certain alert level. As alexander says and we do use an external service that also reads the cconsole/messages log and texts for high alerts
go to post Mark OReilly · Sep 13, 2023 Hi i'm not sure i understand what you are trying to achieve. Your current state of the mirror is Caught up in terms of journal restore. This means in the current environment your journals are currently up to date with the Primary server as per the documentation. What/Why are you trying to restore a journal as from the mirror monitoring and you are in a mirrored environment it does not look like you need to Journal restore at the moment?
go to post Mark OReilly · Sep 13, 2023 Do you have any html type formatting in the traces? I have noticed this can cause issues within a visual trace before
go to post Mark OReilly · Aug 18, 2023 One of the things missing from the guide is if you have OAUTH config this does not copy over. If used it can be a bit of a gotcha. You can export and import these easily from globals
go to post Mark OReilly · Jul 21, 2023 In addition to Luis's documentation i would look here. Ensemble Orphaned Messages | InterSystems Developer Community | Best Again following the other answers it will be for you to determine if the growth of your .dat file is as expected. Have a think if you should be keeping a full time history logs of all your data. From your post it does sound like you just aren't getting rid of the transactional data and if you have most things set up correctly and no funny %save operations on your code or embedded xml object messages within messages then if you just start a task to start getting rid of any transactional data over x amount of days you should be fine, NOTE though if you are mirroring be careful setting to short a number of days ago, i.e. if youve had the system 3 months and you decide to keep only 1 month this may be a huge amount of data to delete which would hit your journal files hard and potentially fill it up, try perhaps configure so you only delete 1 days worth of data first (or a week ect) at first and then gradually reduce that number down to your agreed retention period.
go to post Mark OReilly · Jul 3, 2023 Thanks yes this is it, i thought i had tried this combination but think i had the sql on the wrong setting, thank you that's the speed i was looking for
go to post Mark OReilly · May 18, 2023 set streamContainer=..CreatePythonPDFStream() set streamContainer.OriginalFilename="test2.pdf" issue did not happen whenever finished this with python (more complex) and it coming from a classmethod so unsure what the problem was
go to post Mark OReilly · May 18, 2023 I think the setstream wipes out the originalFilename field but the other way around results in zero bytes
go to post Mark OReilly · May 16, 2023 Find in Files works with the Enable proposed APIs and valid version working. Was not aware of drag/drop for export/import. I find even though a lot of the discussions around source control are great and easier using vs code I still don't feel there is an easy jumping in point to really get started to use a control system.
go to post Mark OReilly · May 15, 2023 To see CSP files with server side editing if you hold shift before clicking the pencil icon it will load up a web files view
go to post Mark OReilly · May 15, 2023 Hi: This is possible . How to quickly open class in VS Code | InterSystems Developer Community |. The answer to this is here: if you are using the server-side editing paradigm, which matches what you're used to with Studio, make sure you follow the instructions in the "Enable Proposed APIs" section of the extension's README (also available here). you can then use Crtl+P to find the item you need. my setup instructions The additional features (and the APIs used) are: Server-side searching across files being accessed using isfs (TextSearchProvider) Quick Open of isfs files (FileSearchProvider). Download and install a beta version from GitHub. This is necessary because Marketplace does not allow publication of extensions that use proposed APIs. Go to https://github.com/intersystems-community/vscode-objectscript/releases Locate the beta immediately above the release you installed from Marketplace. For instance, if you installed 2.4.3, look for 2.4.4-beta.1. This will be functionally identical to the Marketplace version apart from being able to use proposed APIs. Download the VSIX file (for example vscode-objectscript-2.4.4-beta.1.vsix) and install it. One way to install a VSIX is to drag it from your download folder and drop it onto the list of extensions in the Extensions view of VS Code. From Command Palette choose Preferences: Configure Runtime Arguments. In the argv.json file that opens, add this line (required for both Stable and Insiders versions of VS Code): "enable-proposed-api": ["intersystems-community.vscode-objectscript"] Exit VS Code and relaunch it. Verify that the ObjectScript channel of the Output panel reports this: intersystems-community.vscode-objectscript version X.Y.Z-beta.1 activating with proposed APIs available. After a subsequent update of the extension from Marketplace you will only have to download and install the new vscode-objectscript-X.Y.Z-beta.1 VSIX. None of the other steps above are needed again.