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 188
Question Nezla · Jun 19, 2023 Images in Zen Reports Hi Guys, I have images in my zen report, eg. #Ensemble 0 2 0 198
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 175
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 281
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 290
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 143
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 246
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 170
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 256
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 160
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 181
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 373
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 202
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 210
Question Nezla · Mar 21, 2023 Sending SMS notifications Hi Guys, Is there a sample on how to send notifications via sms ? do we need an smtp sever or a external plugin in..etc? Thanks #Ensemble 1 4 1 455
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 417
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 327
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 248
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