Use ValidateStream method of Ens.Util.XML.Validator class. It does exactly what you need.
- Log in to post comments
Use ValidateStream method of Ens.Util.XML.Validator class. It does exactly what you need.
As I'm the author of RESTForms, I'd recommend that. The advantage is that it offers not only JSON<->object transformation, but a complete CRUD REST API for your data.
Calling @Stefan Cronje
All approaches you are considering can work. if you're storing everything in one database, I'd recommend RLS.
Much more important question is do you need storing everything separately or in the same place.
Advantages of separated databases/servers:
Advantages of unified database/server:
Check RESTForms project - it aims to do exactly that.
You can just pass the stream directly, no need to read from it:
set parObj = {}.%FromJSON(%request.Content)Some XSLT engines can process arbitrary javascript as code.
Achieving FIFO with Ensemble is an interesting task.
Do you control queue population?
If so you can send the message only if the queue is empty and process is idle.
For example create a proxy process that sends only one message at a time.
There are far more efficient ways to do that.
Docs.
Set when? Set how often?
Check your BO message map. There's no entry for Test.SubscriberX class there.
Why is it going to intersystems-community on F5?
To check for updates.
What browser is that?
Try Google Chrome.
InterSystems Caché supports passwords with Unicode characters for basic authentication starting 2018.1.
Earlier versions should require ascii-compliant passwords.
You can use PasswordValidationRoutine to enforce that.
Please ask this as a separate question.
Are there any errors in browser console?
Just installed Webterminal 4.8 on Cache for UNIX (SUSE Linux Enterprise Server for x86-64) 2015.2.1 (Build 705U) Mon Aug 31 2015 16:58:02 EDT [HealthShare Modules:Core:14.01.7952 + Linkage Engine:14.0.7952] and it seems to work.
Do you see /terminal web app in SMP? If it's not a production system try to give %ALL role to check if it helps.
The link should be:
http://host:port/terminal/
Right.
@Alexey Maslov does exactly that at the beginning of his code sample:
new $namespace set $namespace="%SYS"
It's available in 2017.2 in %SYS namespace.
Any reason you want to do that?
Do you have IMAP available?
If not you can use DavMail to convert exchange to POP3 and that's easily consumable from InterSystems IRIS.
Open production class and remove them from XData.
Yes.
Check Export/Import method of Security.Roles class.
Please show a sample output.
Instead of
$zutil(96,39)
you can use
$$$MaxStringLength
for the same effect, but greater readability.
I completely agree with you.
Objects should be instantiated only when they are relevant.
Calling object methods where it's possible to call class methods makes code harder to read.
You should use Ensemble Alerts for that.
Redefine HTTP adapter like this:
Class Production.Adapter.HTTPOutboundAdapter Extends EnsLib.HTTP.OutboundAdapter
{
Method PostURL(pURL As %String, Output pHttpResponse As %Net.HttpResponse, pFormVarNames As %String, pData...) As %Status [ CodeMode = expression ]
{
..SendFormDataArray(.pHttpResponse, "POST", ..GetRequest(), .pFormVarNames, .pData, pURL)
}
ClassMethod GetRequest() As %Net.HttpRequest
{
set request = ##class(%Net.HttpRequest).%New()
set request.Timeout = 300 // Wait 300 seconds for response
quit request
}
}And use it instead of default adapter.
It sure is!
The pictures do not load.