Question Nezla · Mar 31 Task scheduler Hi, I've a list of running scheduled task in task manger and would to crate a tasks to monitor if any of my tasks has stopped running, is there a function to check tasks status? Thanks #InterSystems IRIS 0 5 0 66
Question Nezla · Apr 3, 2024 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 174
Question Nezla · Apr 3, 2024 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 178
Question Nezla · 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 236
Question Nezla · 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 363
Question Nezla · 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 200
Question Nezla · 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 286
Question Nezla · Jun 6, 2023 RemoveDirectoryTree not working Hi Guys, I'm using the below code to download, extract files in a file directory then save data into a global, and remove the file directory as not needed anymore, but the issue is that the class(%File).RemoveDirectoryTree is not deleting, also tried class(%File).RemoveDirectory and same thing. #Ensemble 0 5 0 299
Question Nezla · May 9, 2023 Including a table view in Zen page Hi Guys, is there a way to include a simple table view in a Zen page without having to use &html tag, I just would like to organize my fields as attached? Thanks #Ensemble 0 2 0 173
Question Nezla · Apr 26, 2023 Show display mode in SQL query Hi Guy, when running a query on properties with by default it shows VALUELIST, how can get DISPLAYLIS, in my class methods not SMP? Thanks #Ensemble 0 4 0 261
Question Nezla · Apr 5, 2023 SQL query in Dropdown Hi Guys, I have two dropdowns where if I select a type from the first dropdown I would like to populate all subtypes in the second dropdown as below (I've set showquery =true to show you what's going on ) but for some reason I'm not getting the query filtering to the required where clause. eg. by select Bearing from the first dropdown I should only get 6 records in subtype dropdown, but I'm getting all subtypes #Ensemble 0 2 0 385
Question Nezla · Mar 20, 2023 Reading through file fast Hi Guys, I've the below code that copies 15000 records into a global, problem is that taking around 11 secs to finish and I'm wondering if there is any faster way (eg. would copying the file into stream and look through the stream makes it faster!?) because I've hundreds of files I need to process every time. #Ensemble 0 4 0 434
Question Nezla · Mar 19, 2023 heavy processing tasks Hi Guys, I've a task that runs every 10 mins executing the below code, but the issue is that it slowing the system down affecting other processes, so is there a way to maybe spread the execution of this so it doesn't slow down the system? I've tried spreading these fucntion in two different tasks but doesn't seem to change much. #Ensemble 1 4 0 334
Question Nezla · Mar 8, 2023 Session ending message Hi Guys, I'm using session to save some data eg. login details, data I need earlier, and of course if the screen left idol with no activity the session may time out and I would like to display a message waring the user that their session is about to expire (as some web application do) , so how can do that? Thanks #Ensemble 0 2 0 254
Question Nezla · Feb 21, 2023 User access Hi Guys, How to create a user that can have access to only one specific Zen page of an application? Thanks #Ensemble 0 3 0 189
Question Nezla · Jan 12, 2023 Setting up default port in Apache for Web Apps Hi Guys, we this format of url with port required, and my guess that if we specify port 57772 as the default port in the web server which I'm assuming that would be Apache , we don't have to specify the port in our url, so how can set a default port in Apache? http://localhost:57772/us-serenity/MSDS.SelectApplication.UI.SelectAppli... Thanks #Ensemble 0 5 1 540
Question Nezla · Dec 14, 2022 Property definition principles Hi Guys, I'm trying to get head around this principle of instance variables and the advantage of it. I found this principle used a lot by my predecessor in some properties definition and I'm wondering why don't we just use the property as simple as is, its creating two properties sCtg that contain the value and Ctg is a calculate to get the value of sCtg, is there advantage of fast accessing or... !? #Ensemble 0 3 0 303
Question Nezla · Nov 9, 2022 SQL gateway connections Hi Guys, My understanding is that SQL gateway connection is a way where you can have two ensemble instances where in instance A you can have a class and then you create a connection from instance B and you can run queries for that table from instance A into B? But as I checked the doc, it says that SQL gateways is a way to just import data from an instance to another? Thanks #Ensemble 0 1 0 417
Question Nezla · Nov 7, 2022 Force stopping a task Hi Guys, I've a task scheduler that is stuck in Running is there a way for force stopping it? Thanks #Ensemble 0 5 0 872