Discussion Rochdi Badis · Apr 16 Converting from 2018 to IRIS 2024 Hi Guys, I'm new to IRIS and I'm converting from Ensemble 2018 to IRIS but not sure how to convert my cache.data file to IRIS.dat, I copied my cache.data to a new folder then went to IRIS management portal and created a new database and specified the directory to where my cache.data and saved and I thought that IRIS will automatically convert cache.dat to IRIS.dat but instead it created a new empty IRIS.dat, I guess I was wrong in my assumptions !? #InterSystems IRIS 0 4 0 83
Question Rochdi Badis · Apr 8 DynaTree problem Hi Guys, Any Idea on how can make a dynaTree with 4 levels hierarchy (attached), I'm using the below code but sometimes works and other cases it doesn't? #Ensemble 0 1 0 45
Question Rochdi Badis · Apr 3 Zen Page can't find compiled class Hi Guys, After converting from Ensemble 2014 to 2018 and ran my application I get the below error message: MSDS.ZEN.Component.imageclickbuttom exits and compiles fine and also compiled the Zen page extending the class successfully but still getting the error so not sure why I'm still getting the error!? Thanks #Ensemble 0 4 0 64
Question Rochdi Badis · Apr 3 Security Deployed classes Hi Guys, I'm converting our system from Ensemble 2014 to 2018 and we do have Security package of classes in deployed mode in our 2014 (eg. Users, Role, ...etc) which doesn't exist in our newly installed 2018, so how can I include those classes in 2018? Thanks #Ensemble 1 8 0 98
Question Rochdi Badis · Mar 27 dataCombo not working after conversion Hi Guys, I've upgraded from Ensemble 2014 to 2018 and copied all classes across, ran Upgrade & CompileAll and looks fine, but when trying to search on dataCombo I get the below error here is the definition of the Combo #Ensemble 0 3 0 62
Question Rochdi Badis · Mar 12 Get JWT Token Hi Guys, I'm trying both of these methods to get a JWT token but none is working for some reason and not sure what I'm missing? it works when I tested it from Postman Thanks #Ensemble 1 12 0 174
Question Rochdi Badis · Feb 29 List of workstations Hi Guys, How to get a list of workstations (machines) connected to the Server? Thanks #Ensemble 1 2 0 101
Question Rochdi Badis · Feb 14 Sending a file in HTTP response Hi Guys, I’ve the below service that receives a request from a client requiring a pdf file to be sent back for printing. #Ensemble 0 1 0 140
Question Rochdi Badis · Dec 17, 2023 Getting free disk Space Hi Guys, How to get free disk space, I found that I could use GetDirectorySpace but not sure how to use it in getting free space in my D drive? Thank #Ensemble 0 2 0 127
Question Rochdi Badis · Dec 3, 2023 Getting posted JSON in a service production Hi Guys, I have a client posting me JSNON file using a Get action and I'm using the below code to retrieve the data: #Ensemble 0 6 0 152
Question Rochdi Badis · Nov 30, 2023 Production allowed ports Hi Guys, Do we need to configure something in ports so that we can use it in a production? I've a production with 8 running services and recently added a new service with new port but unable to get it working raising error 404. When using an existing port that is used by current running service, my new service works fine but not when using a new port, I've added the new port to inbound rules in the firewall bit still no luck, so is there something I need to do to in Ensemble ? Thanks #Ensemble 0 3 0 121
Question Rochdi Badis · Oct 23, 2023 Release System Locks Hi Guys, We currently for reason I'm getting too many locks in the system (around 990 locks) and is making the system slow most of these locks are on globals #Ensemble 0 11 0 385
Question Rochdi Badis · Sep 22, 2023 Javascript in Methods or class methods Hi Guys, I've this client method in my Zen page which looks good and compile fine: I first tried calling this clientmethod in %DrawHTML() like : var res=zenPage.getNewPrinters(); but for some reason didn't work not sure why I even tried simplifying my clientMethod with simple code like just showing alert but still this call didn't work #Ensemble 0 3 0 179
Question Rochdi Badis · Sep 14, 2023 %OnSubmit is not invoked from client Hi Guys, I've an fileupload and button that executes Upload() clientmethod to upload files in my database and everything works fine when I run the application in the server where it is located, but if I run it from a client machine the %OnSubmit class method doesn't get invoked when form.submit() get executed so how can I fix this? #Ensemble 0 1 0 132
Question Rochdi Badis · Sep 13, 2023 Fileupload and %OnSubmit Hi Guys, I've a popup zen page to upload files using the input tag and submit button as below : #ZEN #Ensemble 0 2 0 178
Question Rochdi Badis · Sep 8, 2023 Viewing stored images Hi Guys, In my Zen page I've a grid with a list of uploaded images and it's working fine when running from the Server where the application resides where I can just click to an image and my code displays the image in a second screen (MSDS.Image.StreamServer.cls) , #ZEN #Ensemble 0 1 1 114
Question Rochdi Badis · Aug 14, 2023 Do Vs Job method call Hi Guys, below is a javascript sample code in one of my methods in a CSP page where I'm loading some data from a global to a Javascript arrays, the problem is that if I call the method with do (d ..mymethod()) everything works fine but calling it with Job (J ..mymethod()) it seems that the javascript part is not working, is there a way to fix this? The reason why I'm using Job call because I need it to run in background and not to hold other processes. #Ensemble 0 5 0 109
Question Rochdi Badis · Jun 19, 2023 Images in Zen Reports Hi Guys, I have images in my zen report, eg. #Ensemble 0 0 0 120
Question Rochdi Badis · Jun 15, 2023 Get a list of available printers Hi guys, How can I get the list of printer in client Zen page? We currently use an ActivexObject call "MSDesign.WebLabel" to get the list of printer loaded in a dropdown in our Zen pages: webControl = new ActiveXObject("MSDesign.WebLabel"); if (webControl!=null) printers = webControl.getPrinters();and this will give us a list of printers available in client machine but this does work in Edge or Chrome, is there a tool or simple code that I can use to get me the list of printers available? Thanks #Ensemble 0 2 0 133
Question Rochdi Badis · Jun 6, 2023 Linking Javascript call from Zen pages Hi Guys, I'm resending this because I sent on the weekend and looks like it has not been noticed much I'm not that familiar in using Javascript in Zen pages, so basically we have a priting utility (app) that requires us to add a bit of JavaScript call to facilitate printing from our Zen pages as below: So I added XData link pasted the required script, is this the correct way? #JavaScript #ZEN #Ensemble 0 2 0 187