Question Nezla · 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 200
Question Nezla · 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 629
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 384
Question Nezla · 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 198
Question Nezla · 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 300
Question Nezla · 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 234
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 215
Question Nezla · Jun 19, 2023 Images in Zen Reports Hi Guys, I have images in my zen report, eg. #Ensemble 0 2 0 212
Question Nezla · 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 185
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 300
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 317
Question Nezla · Jun 4, 2023 Linking with javascript in Zenpages Hi Guys, Sorry 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? Thanks #ZEN #Ensemble 0 0 0 147
Question Nezla · May 25, 2023 Using <IMAGE> sample Hi Guys, is there any sample I can use for Images, I'm just looking for a very simple one where I can have an upload control to upload images & image control to show them? Thanks #Ensemble 0 12 0 267
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 177
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 272
Question Nezla · Apr 17, 2023 Find a specific column in a dataCombo Hello, I've the below datacombo definition and when selecting an item from it and make this call: var component=zen("Component").getProperty("value"); I would get the ID (first column) which is what I'm looking for #Ensemble 0 0 0 169
Question Nezla · Apr 17, 2023 Refreshing Combo Hi Guys How can I refresh a dataCombo after saving a new element in it? I've the following dataCombo and after saving a new element I would like to fresh and reload that data in it? #Ensemble 0 1 0 182
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 411
Question Nezla · Mar 26, 2023 Adding Expando to tablepanel Hi Guys, How can I include an Expando in a tablepane, I would like that each row have an expando that I can use to include some other things as in the below screenshot #Ensemble 0 0 0 211
Question Nezla · Mar 23, 2023 Drag & drop images Hi Guys, is there a way or utility that we can drag & drop images in a Zen page? Thanks #Ensemble 0 0 0 214