In your question and comment I see two tables iagentbySkillsetStat and iSkillsetStat. Are you sure that you working with right table which contains such property ?
- Log in to post comments
In your question and comment I see two tables iagentbySkillsetStat and iSkillsetStat. Are you sure that you working with right table which contains such property ?
You can only use array instead of list of exported elements.
USER>zw list
list("a(1).gbl")=""
list("a(3).gbl")=""
USER>d $system.OBJ.ExportToStream(.list,.stream)
Exporting to XML started on 09/16/2016 11:19:58
Exporting global: ^a(1)
Exporting global: ^a(3)
Export finished successfully.
If you have an access to WRC, you can get FieldTest versions, Caché and Ensemble with test license keys. If not I think you may ask for an account by sending email to support@intersystems.com
For now, I need only Data Model and API to get access, in time when even do not have any data model.
Yes, I know, that we are already have documented api, and will be easier to implement, but I still need some time.
Ok, maybe someone know some testing tool for API, some unit test which can get my base url, and test all functions in that API and says that everything works by standard?
Whats the strange question?
Are you know meaning for two of this words ?
Caché - it's an InterSystems database, platform which you are working on
and cache - which is just a technology, it is a bunch of ways hardware and software how to return previously accessed data more quickly
As I see it's like an emulator x86 on ARM. Ok, then it would be possible, but any way running Caché directly on ARM would be better, and will be a bit easier to find and solve some possible incompatibilities
So, you have to modify some entries in AD by data on Caché side.
In first, I have not been done such work before, I'm just trying to suggest what may help you.
Better way to understand what you have to achieve your needs, it's look at classes. Like EnsLib.LDAP.OutboundAdapter which you've already found and %SYS.LDAP which is lowest class, which actually doing all work with LDAP. Actually Enslib.LDAP as I see used deprecated classes from %Net.LDAP.Client.
How it may help? for example? you can find there such method as GetEntryEditObj, which I think may be used to edit some entries in your AD, if you have enough permissions. Some example you can find in the class for this EntryEdit. Or method ModifyExts in %SYS.LDAP, also has some examples.
Hope it helps.
To support Raspberry Pi, IntersSystems should support ARM, but not sure that so easy, and could be valuable for them, even if remember how quickly they ended GlobalsDB. But GlobalsDB was a quite good product, and was used in some projects, and even still used. If somebody needs to use micro-pc they can use some alternatives on Intel's process such as Intel Galileo
What exactly do you want to reach, authentification in Caché using LDAP login, or you want to connect and load users from AD ?
Only timeout without activity may release license
Closing Tab in the browser, does nothing on the server side, because in simple way, browser only ask server by user's requests.
You can only do some ajax request just when user closes the page, to close session on the server side, no more.
Every session will be alive in their Timeout, that Timeout could be get by default from settings, or you can set it programmatically ( set %session.AppTimeout=900), and only when timeout is exceeded the used grace period 5 minutes. And only after that session and license will be released.
And you should remember, that if user closed tab, he can open it again, and it will be the same session as before.
If you would work with this or even look at the documentation by link, which I gave, you would see that DISABLE actually disabled changes which was done by ENABLE^%NOJRN, and name NOJRN says No Journal.
Your version of Cache is unsupported, you should have at least 2016.2
What do you mean ?
Atelier can store cache classes in git and in any others source control systems.
even, you can make source control class for studio which will support the same way as in Atelier
Looks like you want to achieve something else, and on the wrong way.
any way you can get the same output as in zwrite to array of lines, with command
Do DumpObjectToArray^%occRun(obj,.lines)
If you have to restore some object by this data, you have to use serialization, XML for example. For xml I would recommend to look at this part of the documentation.
Looks like, you do not know about %Installer.Manifest. You can use it in any different ways, be it installation new application or just simple changing instance's settings. With this manifest I'm building installation archive with project, it includes deployed code some data, and web sources. I'm installing new server with it, manually, or even with docker. And you can use internal Task Manager to run this installation by schedule automatically. You may also look at this project - GitHubCI, it helps to deploy application automatically just after commit to your github repository.
I think you should look at class %SYSTEM.Encryption where all encryption placed, and at the method $system.Encryption.HMACSHA()
Since so big difference between this versions, and you may caught many incompatibilities, I would very recommend to install new instance and move all your data and settings from the old one. And then check everything in your application very carefully.
You can look at the documentation here online
and excerpt about custom installation
The Caché installation program allows you to select certain Caché components to be installed on the computer. For example, you may want to install only the Caché SQL Manager. Keep in mind that some selections require that you also install other components.
and about standard installation
The standard installation procedure installs both Caché server and client components on the computer.
does not matter what `ccontrol list` shows, may be you just removed instance from this list
if you removed this folder, try to restart machine, and check output with commands, which I gave you
Such error you can face on a windows as well. Your super port has already in use by another instance of Cache. And you can change port for new instance, by editing cache.cpf file in the root of installed Cache.
To be sure that port is in use you can use some network tools, such as netstat
netstat -na | grep 1972 tcp4 0 0 *.1972 *.* LISTEN
or lsof, which can show which process with pid uses this port
sudo lsof -i tcp:1972 cache 14960 cacheusr 4u IPv4 0x768e107dffb0f4df 0t0 TCP *:1972 (LISTEN)
Yes, you still have to ask user for login password, and should check it in Caché, so, you just should try to connect with user's login/pass, and so, you can validate him.
I did not show how you made connection to the Caché, and looks like, your Java application has hardcoded login password which used to connect to server.
so, I may only suggest, that you use code like this
Class.forName ("com.intersys.jdbc.CacheDriver").newInstance();
CacheDataSource ds = new CacheDataSource();
ds.setURL("jdbc:Cache://127.0.0.1:1972/SAMPLES");
Connection dbconn = ds.getConnection("_SYSTEM","SYS");Last string is Caché login password, so you should use here user's login and password. Any works from your application should be with user's login.
You can use $order to order all users, in global
set FF=""
for {
set FF = $order(^Users(FF))
quit:FF=""
set isAllowed = $get(^Users(FF, "SETTINGS", "isAllowed"))
write:isAllowed !,"User ",FF," is allowed"
}
As I remember, you could create user TRM or TELNET, with routine %PMODE, and will get access without authentication.
Don't remember how it was in 5.0, but currently default login/password is _SYSTEM/SYS
UDL format is for classes only, and this format how that classes looks in Studio.
Export web files, available as any others in XML format with $system.OBJ.Export()
USER>d $system.OBJ.Export("/csp/user/*.*","export.xml")
Exporting to XML started on 08/24/2016 20:52:44
Exporting CSP/CSR or file: /csp/user/ML_Util.js
Exporting CSP/CSR or file: /csp/user/menu.csp
Exporting CSP/CSR or file: /csp/user/showsource.csp
Export finished successfully.And all web files stores as files in the directory for this web-application, so you can get it directly, but native export/import works only in XML
You should not read stream which you got from request, just pass it to $fromJSON, because it understand streams too.