go to post Ben Spead · Sep 12, 2023 In that case, install Python on your machine with the library you want to use, and call $zf(-100) to execute your python script. Later when you upgrade your environment you can move to using embedded Python directly.
go to post Ben Spead · Aug 24, 2023 @Hannah Sullivan ... does Organizations have to be a list? If it is a Parent/Child relationship then I believe the children are stored by default in the extent of the parent so deletion of the parent automatically deletes the children.
go to post Ben Spead · Aug 14, 2023 The issue is that you need the logic to run synchronously in process so that it can actually write out the JavaScript as part of the response to the web client. If you job off the logic it will run in a separate process and there is no way to return the JavaScript to the caller because this is done asynchronously and the response has already been sent by the time your job will finish in all likelihood. If you need something to run asynchronously then use the #call() command in your CSP page.
go to post Ben Spead · Aug 12, 2023 @Pietro Montorfano - VSCode use with CCR is definitely supported. You just need to make sure that your workspace is properly defined with isfs, etc to get you access to the files on the server. Since CCR uses server-side source control hooks, you can actually have people using Studio and VSCode concurrently against your BASE Environment. We've tried to make it as easy as possible by allowing you to export the VSCode workspace definition directly from CCR (credit: @Timothy Leavitt ). Go to your Environment Details page and use the "Export (VSCode)" button on the top of your Environment list: Please try it and let us know if it works for you. P.S. would you mind adding the #ccr tag to your question so others can easily find it?
go to post Ben Spead · Jun 12, 2023 @Dheeraj Gupta, @Anderson Negreli - we have identified and corrected the situation. Can you please try again and confirm access? We do apologize for the inconvenience and we're working to figure out how this could have been prevented.
go to post Ben Spead · Mar 24, 2023 I may be mistaken, but I believe that "Apply" will persist the change and keep you on that screen, while "Update" will persist the change and close the screen. Does it seem to work that way? (I don't have a TC instance here to test with a.t.m.)
go to post Ben Spead · Mar 22, 2023 Link is here: https://wrc.intersystems.com/wrc/coDistGen.csp (can only be accessed by Supported Customers). Put "ODBC" in the Name filter and "Cache" in the Product filter and you'll see 14 options for download based on your platform.
go to post Ben Spead · Mar 17, 2023 Thanks @Guillaume Rongier ! That works great. FYI ... we can see the request attempt on the IRIS side with a Description = "%Service_SuperServer login failure", noting the IP Address of your Linux web server, and Event Data which mentions "Error message: ERROR #949: Unable to get full header of message within timeout"
go to post Ben Spead · Feb 28, 2023 @Abhishek Raj - start with reviewing the documentation for new features, and Upgrade Compatibility checklists: https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...This will be the most comprehensive collection of suggestions, things to know, and 'gotcha's' to be aware of. Beyond reading the docs and seeing what is applicable to your environment, do a practice upgrade of your application and TEST, TEST, TEST :) Lastly, make sure you review the supported platform list for 2018.1 and 2015.2: 2018.1: https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY... 2015.2: https://cedocs.intersystems.com/ens20152/csp/docbook/DocBook.UI.Page.cls... Hope that helps!
go to post Ben Spead · Feb 10, 2023 @Alexey Maslov - check out https://openexchange.intersystems.com/package/isc-codetidy .... this package includes automatic expansion of ObjectScript commands. Even if you don't want to use the whole package, you can find the sample code to do expansion. @Evan Gabhart - can you please advise as to the specific class where the expansion code can be found?
go to post Ben Spead · Feb 10, 2023 @William Vorhees - thank you for mentioning this ... we are looking into it. It is just an issue with your account and is not a broad issue with the service. We'll get it taken care of as quickly as possible.
go to post Ben Spead · Jan 21, 2023 I suggest you start by checking out the documentation on the topic you'd like to explore: https://docs.intersystems.com/iris20222/csp/docbook/DocBook.UI.Page.cls?... There is a lot of really useful information in there, even for people who have been using Studio for years!
go to post Ben Spead · Jan 17, 2023 @Ephraim Malane - without having the actual CCR IDs, most likely the case is that your CCR deployed through TEST added a file, and CCR will automatically detect if the CCR that added a file is not yet in the target environment and therefore will prevent other CCRs from 'leap-frogging' past it. This is because if you leap past a CCR which originally adds a file, if you later need to back out the CCR it will result in a 'delete' of the file from all environments (because you're undoing an 'add'). Probably the best bet for you is to reach out to Support so they can help you manually move the 'add' into the CCR that you want to move forward. You will probably also need help cleaning up the CCR that you cancelled, as I am guessing that the backout failed due to edits already being promoted to TEST on top of the 'add' that you are trying to back out from there.
go to post Ben Spead · Dec 6, 2022 As we looked into things further on our side, it appears as though the UNIX 'hostname'. We were able to resolve the issue in UNIX by doing the following to change the hostname to 'mynewhost': log in as roothostname mynewhostecho mynewhost > /etc/hostname The 2nd line will change the hostname in the current processes, and the 3rd will make sure that the change will persist during a reboot. Hope this is helpful to someone else.
go to post Ben Spead · Oct 18, 2022 @Colin Brough - all great questions! I'll provide some thoughts and I am sure others will chime in as well. One question that I have which may impact the answers is what your current source control approach is? Are you using serverside source control hooks with Studio or some other approach? Take Atelier off the list and drop it from consideration... it is deprecated new work shouldn't be started with it VSCode is the path forward for InterSystems technologies; it used the Atelier REST APIs and therefore you can use it on Caché 2018.x (originally added in 2016.2 IIRC) You can typically use VSCode alongside Studio, depending on your answer to the above question about your source control approach. If you are using no source control, or if you are using serverside source control, then Studio and VSCode can both be used against the instance in mixed mode (my team has been doing this for years) I can't speak to what you lose with VSCode but I believe that at this point the answer is either 'very little' or 'nothing' for all intents and purposes I can't speak to Studio Templates (hopefully someone else can weigh in) This video may also be helpful to you: https://community.intersystems.com/post/video-visual-studio-code-objects... Hope this is a good starting point.
go to post Ben Spead · Sep 16, 2022 It is the actual code as it will be executed, so "Do ##class...."
go to post Ben Spead · May 19, 2022 Have you looked at the preparation and topic details at https://www.intersystems.com/healthshare-health-connect-hl7-interface-specialist?
go to post Ben Spead · May 6, 2022 Check out %Dictionary.CompiledClass: https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic.... This is probably a good starting point for what you are looking to do. Also, other tables in the %Dictionary package may be useful to you as well.
go to post Ben Spead · May 5, 2022 if you import this class into IRIS you will then be able to run the methods. Look up the docs for $system.OBJ.Load() .. you will load and compile the class and the. you can call the methods like this: Do ##class(User.Ready.ConvertCSV).ConvertN() (I assume you cut out the actual logic of the methods when you pastes it above as what you pasted is incomplete)