go to post Stefan Wittmann · Jul 12, 2016 Hi Simcha,the best way to leverage this widget is to build your own bootstrap dual listbox plugin. Take a look at the code of the other plugins and make sure to check the documentation for creating helper plugins before you start:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...Let us know if you encounter any difficulties.N.B.: I should mention that you can also just create the proper HTML code in your layout, but then you have to manually call the initialization and refresh methods in your application code all the time.
go to post Stefan Wittmann · Jul 8, 2016 The document ID is exposed implicitly as a virtual column named "_documentID". Here is a simple example that you can run in your SAMPLES namespace: SELECT _documentID, Name, DOB, SSN FROM JSON_TABLE('People','$' %TYPE 'Sample.Document.People')
go to post Stefan Wittmann · Jun 21, 2016 Hi Chris,unfortunately, the information in the Caché Technology Guide that you refer to is outdated. We do support JPA (Java Persistence API) via Hibernate and are currently in the process of updating our dialect. We provide no special tooling for EclipseLink.I will make sure that the information on the website is updated.
go to post Stefan Wittmann · Jun 16, 2016 Hi Jan,in case you haven't done this yet, please contact WRC directly for your node module request. http://www.intersystems.com/services-support/worldwide-response-center/
go to post Stefan Wittmann · Jun 1, 2016 I have never actually tried to pass slashes as parameters, but I would guess that it should work if you encode them. I am aware that some systems drop these requests, because it is easy to inject malicious code this way.Are you receiving a 404 and use Apache? If so, you may have to enable the AllowEncodedSlashes directive:http://httpd.apache.org/docs/current/mod/core.html#allowencodedslashes
go to post Stefan Wittmann · May 27, 2016 You cannot use macros in Zen runtime expression this documentation chapter covers runtime expressions:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...If this question is actually about localizing text in Zen, please take a look at this documentation chapter:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...Localize your text in %OnGetJSResources() and load it on the client-side via zenText(id).
go to post Stefan Wittmann · May 23, 2016 I would write it like this: set array = [] while (result.Next()) { set object = { "data":{ "id":result.Data("ID"), "reg":result.Data("Registration"), "snNum":result.Data("SatNavVehNumber") } } do array.$push(object) } You can directly embed your values as Caché Object Script and that makes your code look pretty close like the desired outcome. This approach makes it very simple to build complex JSON structures and still know what you are doing.
go to post Stefan Wittmann · May 23, 2016 Steve, the correct approach is to eithera) subclass the plugin in question and generate a different HTML base or invoke additional beautify codeb) build your own plugin if you want to support a new layout objectWhat you describe sounds like a specialized $navbar component, so you may want to subclass the bootstrap plugin and register a specialized $navbar widget, e.g. $mynavbar.
go to post Stefan Wittmann · May 19, 2016 I am not able to view the image, but in general Object Synchronization can be used by multiple servers. The architecture is designed in such a way, that usually one node is taking the role of a master and all other nodes become clients to this master.You can implement other schemes as well, as indicated by this paragraph in the documentation:For object synchronization, the idea of client and server is by convention only. For any two databases, you can perform bidirectional updates; if there are more than two databases, you can choose what scheme you use to update all of them (such as local databases synchronizing with a main database independently).There is no support for bi-directional updates at the same time, so you have to sync one direction first and after that happened you can sync the other way around. The more complex your mesh becomes the harder it becomes to resolve conflicts.That's why the documentation recommends staying with a master / client scheme, as this reduces the complexity of resolving conflicts.Also, you have to be aware that Object Synchronization is not built for real-time updates. You are synchronizing at discrete intervals.
go to post Stefan Wittmann · May 17, 2016 This should work in general unless you are switching your template after you set the key with the criteria. Can you provide the code section where you set the key and request the refresh?