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
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
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)
I thought it is windows defender or antivirus put some localDemon.exe module to quarantine but quarantine is empty.
Hello!
I do some http get request. And this is its response
Can anybody give me a correct example to kill process started by JOB command?
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?
I set column onclick event, but it is not working
S col = ##class(%ZEN.Auxiliary.column).%New()
S col.header = "Header"
S col.colName = "Data3"
S col.onclick = "alert('ok');"
D table.%AddColumn(col)
alert Ok is not show
What is wrong?
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.
And this way index ^GLNameIndex is always actual.
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
}
but it is not working
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}
}How to show alert message on ZEN when user closing window?
Standart js way to add listener is not working.
I tried this
ClientMethod onloadHandler() [ Language = javascript ]{zenPage.window.addEventListener('onbeforeunload', function(e){
return 'Are you sure you want to leave?';});
}and this, but both are unsuccessfully .
ClientMethod onloadHandler() [ Language = javascript ]{
zenPage.window.onbeforeunload = zenPage.myClientMethod;}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.
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.
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.
set p1 = ##class(%ZEN.Auxiliary.parameter).%New()
set p1 .id = ..id1
do table.parameters.Insert(p1 )
do %page.%AddComponent(p1 )
set p2 = ##class(%ZEN.Auxiliary.parameter).%New()
set p2 .id = ..id2
do table.parameters.Insert(p2 )
do %page.%AddComponent(p2 )
set p3 = ##class(%ZEN.Auxiliary.parameter).%New()
set p3 .id = ..id3
do table.parameters.Insert(p3 )
do %page.%AddComponent(p3 )
Then through javascript I set parameters values and query names.
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?
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?
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?
How to define placeholder for dataCombo?
set dc.placeholder = "Some text" doesn't work.
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?
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 :-(
I want programmatically select last added row in tablePane. How I can do it?