I get 404 opening this url in the browser
https://www.sidra.ibge.gov.br/api/values/t/1612/n2/all/v/all/p/last/c81…
- Log in to post comments
I get 404 opening this url in the browser
https://www.sidra.ibge.gov.br/api/values/t/1612/n2/all/v/all/p/last/c81…
Try to set UserAgent in IRIS to your browser.
No, as long as response is json this should work - %FromJSON accepts strings, streams and even file paths as input:
set response = result.HttpResponse.Data
set dados = {}.%FromJSON(response) There's a FORMAT property parameter. Maybe setting it would help @Oliver Wilms?
Checked, it's only for Display conversions.
I suppose a custom data type would work.
Is there a way to also not store InputDate?
VSTS supports Git, I would recommend using it for version control.
As for CI/CD pipeline check this series of articles.
Use System Default Settings and set them on container startup via %ZSTART or OnStart (pass settings values inside via env vars or mounted file).
Production would get System Default Settings automatically when started.
We're using this approach and it works.
Cool.
I use custom ObjectScript commands via ^%ZLANG Routines.
Advantages:
Post your favorite aliases below.
SQL shorthand is definitely useful.
Execute the same query in ObjectScript process and check %objlasterror - maybe there would be additional info.
For a given table does this happen on the same row? Same rownumber? Random row? If it's the same row - which one?
Calling @Benjamin.DeBoe.
Each individual tag can belong to only one namespace. Just add all the tags with their relevant namespaces and it should work.
Have you followed Setting Up Your Project steps? If so, which step presented challenges?
It can be any directory your user has full RW access to.
Execute it again.
Nice article!
My attempt at Office Open XML processing.
To integrate your IDE with Git you need to use Source Control Hooks, for example Cache-Tort-Git UDL (but many others are available, I just use this one).
Git in general and it's use as a part of CI/CD pipeline is described in this series of articles.
New (2016.2+) Dynamic Objects support NULLs:
set mynull={"def":null}
set mynull2 = {}
do mynull2.%Set("def","","null")Check possible Java access modes.
You can query with JDBC.
You can set ..HTMLZIPDoc.Filename to any filepath you need.
You can use %NOCHECK %NOLOCK to speed things up. Work Queue Manager can be used for parallelization.
Properties are recalculated so it's enough to execute this query once:
UPDATE <DOC TABLE CLASS> SET %Doc = NVL(%Doc||' ', %Doc)I'm not sure how to trick SQL engine into updating the value without changing it completely but just NVL(%Doc, %Doc) does not work. Adding empty space after json does not affect it.
For DocDB indexed properties are defined as
Property firstName As %String [ SqlComputeCode = { set {*}=$$%EvaluatePathOne^%DocDB.Document({%Doc},"$.firstName")}, SqlComputed, SqlComputeOnChange = %Doc ];So updating %Doc does the trick.
Also add:
WHERE <NEW PROPERTY> IS NULLto recalculate only for documents where a property value is missing.
Try it like this:
new reader,sc,data,xmlSignature
set sc=reader.OpenFile(file)
quit:$$$ISERR(sc) sc
set document = reader.Document
do reader.Correlate("Signature","%XML.Security.Signature")
if 'reader.Next(.xmlSignature,.sc) {
quit sc
}
quit xmlSignature.ValidateDocument(document)
You can try to compile from source.
Note that it requires that you're the only writer on the system during that update.
There are two options:
Check RESTForms2 and RESTFormsUI2.
Check Retain cached query source option?
Only if the property becomes calculated after being stored which I don't see happening that often.
Sure
Property D As %String [ Calculated, SqlComputeCode = {set {*}=##class(CClass).DGetStored(##class(BClass).CGetStored(##class(ClassA).BGetStored({A})))}, SqlComputed ];Would be way faster than SQL approach too.