Question Ruslan K · Mar 11, 2021 DisplayToLogical Is there any reason that property method DisplayToLogical() is not calling before object saving? I have such situation and do not know how it is possible #Caché 0 3 0 393
Question Ruslan K · Oct 1, 2020 Terminal error Hello! I have installed windows 10 and cache 2018.1.0.184.0 I run terminal not from cache cube but through localDemon.exe (for report outputting from my programs to excel). All worked fine but after some time error occured "Cannot load supporting modules" (in attached file) and localDemon.exe is not launching. But terminal from cache cube is still launching without problems (but from it reports are not working, localDemon.exe is required) #Terminal #Caché 0 2 0 245
Question Ruslan K · Sep 15, 2020 What means http header "CONTENT-ENCODING: deflate" Hello! I do some http get request. And this is its response #Caché 0 5 0 1.3K
Question Ruslan K · Jun 15, 2018 Kill process started by JOB Can anybody give me a correct example to kill process started by JOB command? #Caché 0 12 1 2.8K
Question Ruslan K · Jun 14, 2018 AddEventListener for a control Is there a way to add event listener for a zen control?I have a custom text control and I want to add 'change' event listener for it.Is it possible to do not using 'onchange' property? #ZEN #Caché 0 3 0 414
Question Ruslan K · Dec 8, 2017 Column onclick event I set column onclick event, but it is not working #ZEN #Caché 0 1 0 385
Question Ruslan K · Oct 18, 2017 Rebuild class index I have a class. In class there is an index. This index is for quick search on name property. Class User { ..... Property Name as %String; Index NameInd On Name; ..... } This class is mapped to some global ^GL(userId) = "Name*other data....****" And there is also index global ^GLNameIndex(Name, userId) = "" When I add new User entry through class, f. i. S user = ##class(User).%New() S user.Name = "Some name" D user.%Save() calling method %Save() adding new entry to index automatically. #Caché #Terminal #ObjectScript 0 6 0 1.5K
Question Ruslan K · Oct 14, 2017 ZenMethod in onunloadHandler I want to call ZenMethod when page is closing. Is it possible?I tried ClientMethod onunloadHandler() [ Language = javascript ]{ zenPage.SomeZenMethod();}Method SomeZenMethod() [ ZenMethod ]{ // to do some work} #ZEN #Caché 0 1 0 372
Question Ruslan K · Oct 7, 2017 Class parameter in class query Is it possible to use a class parameter in class query?Example: Class SomeClass { Parameter SOMENAME = "Name1"; Query SomeQuery() As %SQLQuery { SELECT ID || ..#SOMENAME || Name FROM Table } } #Object Data Model #SQL #Caché 1 3 0 557
Question Ruslan K · Oct 5, 2017 Message when closing window How to show alert message on ZEN when user closing window? Standart js way to add listener is not working. I tried this #ZEN #Caché 0 5 0 728
Question Ruslan K · Aug 23, 2017 dataCombo parameters and editable property When I add a parameter to dataCombo for loading it on runtime and the property editable set to 0, dynamically loading content for dropdown through parameter works fine.But, when I set editable to 1, to implement user search in dataCombo, loading through parameter is not working, it is loaded all rows, but I need loading on some parameter. It don't see the parameter, when editable is 1.Is it normal behavior of dataCombo? But how about user search in dataCombo on this case? When editable is 0, we can't enter any character in dataCombo. #Caché #ZEN 0 2 0 330
Question Ruslan K · Aug 22, 2017 Escape comma in dataCombo columnHeaders value The dataCombo property columnHeaders is a comma-delimited list of column headers displayed in the dropdown list.Comma is a delimiter.But, if I want add comma to columh header, for instance "House number, apartment" - this is value for header of one column.How can I escape comma in this case?"House number\, apartment" - is not working. #Caché #ZEN 0 26 0 532
Question Ruslan K · Aug 9, 2017 Various quantity parameters of tablePane I have a tablePane. TablePane can have one, or two, or three parameters. It depends on some conditions.At first I add all three parameters to tablePane. #Caché #ZEN 0 2 0 294
Question Ruslan K · Aug 5, 2017 Problem with terminal font I don't know what a problem with my cache cube terminal, but cyrillic text is not displayed correctly.I have some terminal program with cyrillic menus, dialogs and other text and all those items are displayed wrong (unknown symbols like on the image).How can I solve this problem? #Caché #Terminal 0 1 0 391
Question Ruslan K · Jul 23, 2017 Check if class exists There is method:$System.OBJ.New( ClassName As %String = "" )If class with name ClassName exists - everything is OK.But, when class does not exist, there is error - <CLASS DOES NOT EXIST>How can I check before calling $System.OBJ.New() if class witn name ClassName exists? #Caché 0 19 0 4.1K
Question Ruslan K · May 23, 2017 Horizontal layout in several rows in dynaform Set dynaform property layout="horizontal" makes form controls to be shown horizontal in one row.But how configure dynaform to show controls in several horizontal rows? #ZEN #Caché 0 1 0 248
Question Ruslan K · May 23, 2017 Placeholder in dataCombo How to define placeholder for dataCombo? set dc.placeholder = "Some text" doesn't work. #Caché 1 1 0 341
Question Ruslan K · May 23, 2017 Toolbar with several lines of menu In toolbar, by default, all items show on one line and when menu items do not fit on visible part of screen, invisible items hide and appear two buttons - last item and previous item.I want, in that case, items, which do not fit on visible part of screen, go on second line. In other words, I want all items to be visible.Is it possible to configure toolbar for behavior I want? #ZEN #Caché 0 2 0 320
Question Ruslan K · May 10, 2017 Mapping globals to classes Is there any good book where is described process of mapping globals to classes? And book about Storage? I didn't find much information about these questions in documentation :-( #Globals #Mapping #Object Data Model #Caché 0 3 0 682
Question Ruslan K · May 8, 2017 How select last added row in tablePane? I want programmatically select last added row in tablePane. How I can do it? #Caché #ZEN 0 2 0 385