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 107
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 128
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 180
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 253
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 136
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 236
Question Rochdi Badis · 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 224
Question Rochdi Badis · 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 154
Question Rochdi Badis · 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 203
Question Rochdi Badis · 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 293
Question Rochdi Badis · 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 312
Question Rochdi Badis · 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 282
Question Rochdi Badis · 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 227
Question Rochdi Badis · 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 169
Question Rochdi Badis · 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 381
Question Rochdi Badis · Jan 10, 2023 How Job queues are processed in Ensemble Hi Guys, #Ensemble 1 1 0 202
Question Rochdi Badis · 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 242
Question Rochdi Badis · 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 350
Question Rochdi Badis · 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 634
Question Rochdi Badis · Oct 25, 2022 Setting a web application password Hi Guys, From where can I set a user/pass for an application pls? I've the below application as an API to be used by a client to send requests and would like to set a user/pass for it, I can see the Password tickbox but where can I type in the required password, and can I set a use as well? Thanks #Ensemble 0 1 0 154