There are a few examples of importing data from GitHub on the home page. You can have a look at the source code to see how it's done if you need more flexibility.
One thing you might look into in regards to distribution and deployment is ZPM Package Manager https://github.com/intersystems-community/zpm . It's still under active development, but is already very usable at the moment, you can use it with a self-hosted open source private registry https://github.com/intersystems-community/zpm-registry/ and my consultancy is currently developing a commercial hosted version which will be announced at Virtual Summit next month.
In terms of deployment, unless you have MASSIVE productions, I would recommend to deploy the whole thing at once even if not everything has changed -- it's just a lot less moving parts and options for errors this way, and you can test deployments on your test server as many times as you like.
K S $ZT="^%ET" s id="{id}" set httprequest = ##class(%Net.HttpRequest).%New() set httprequest.SSLConfiguration = "HTTPS" set httprequest.Server = "anypoint.mulesoft.com" /// CHANGED set httprequest.Https = 1 set httprequest.ContentType="json" set sc=httprequest.SetHeader("Connection","close") set status = httprequest.Get("/mocking/api/v1/links/03a74865-d7fb-4318-a310-7ad2b95361f6/v1/receivables/"_id") /// CHANGED if status { s response=httprequest.HttpResponse //IS JUST RETURNING PAGE do response.Data.Rewind() do { write response.Data.Read() } while 'response.Data.AtEnd } quit
Multi factor authentication can be enabled if you use single sign on or LDAP in TrakCare and your auth provider supports it. Please contact TRC for details.
go to post
Hi Muhammad,
You should look at csvgen package by @Evgeny Shvarov https://github.com/evshvarov/csvgen
There are a few examples of importing data from GitHub on the home page. You can have a look at the source code to see how it's done if you need more flexibility.
go to post
Hi Sai Sai,
One thing you might look into in regards to distribution and deployment is ZPM Package Manager https://github.com/intersystems-community/zpm . It's still under active development, but is already very usable at the moment, you can use it with a self-hosted open source private registry https://github.com/intersystems-community/zpm-registry/ and my consultancy is currently developing a commercial hosted version which will be announced at Virtual Summit next month.
There is an example of an Interoperability packaging at GitHub: https://github.com/intersystems-community/iris-interoperability-template
In terms of deployment, unless you have MASSIVE productions, I would recommend to deploy the whole thing at once even if not everything has changed -- it's just a lot less moving parts and options for errors this way, and you can test deployments on your test server as many times as you like.
Hope this helps!
Sergei Shutov
Managing Director, Banksia Global
https://banksiaglobal.com
go to post
This is how I do it, instead of COPY just download from GitHub - and then you can do OBJ.Load
go to post
You can use %IGNOREINDEX and %NOINDEX keywords, have a look here in documentation
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
go to post
Did you try to rebuild indices and purge cached queries?
Also, have a look at the execution plan in the Management portal -- it will tell you which indices it uses and how it builds a result.
go to post
Try this way
K S $ZT="^%ET"
s id="{id}"
set httprequest = ##class(%Net.HttpRequest).%New()
set httprequest.SSLConfiguration = "HTTPS"
set httprequest.Server = "anypoint.mulesoft.com" /// CHANGED
set httprequest.Https = 1
set httprequest.ContentType="json"
set sc=httprequest.SetHeader("Connection","close")
set status = httprequest.Get("/mocking/api/v1/links/03a74865-d7fb-4318-a310-7ad2b95361f6/v1/receivables/"_id") /// CHANGED
if status {
s response=httprequest.HttpResponse //IS JUST RETURNING PAGE
do response.Data.Rewind()
do {
write response.Data.Read()
} while 'response.Data.AtEnd
}
quit
go to post
I believe this error happen because you are trying to execute this code in the class method, not instance method.
Can you please provide a full class definition and how you are executing the test?
go to post
Hi Ishan,
Write an email from your work address to support@intersystems.com and ask for an access to TRC
go to post
Which HealthShare version do you use? There was an enhancement in HS 2019.2 to include "H"/"L" flags in Clinical viewer: https://docs.intersystems.com/hs20211/csp/docbook/DocBook.UI.Page.cls?KE...
go to post
Hi Adrian,
Multi factor authentication can be enabled if you use single sign on or LDAP in TrakCare and your auth provider supports it. Please contact TRC for details.
go to post
Hi Ishan,
1) - There is Trak documentation but it's not publicly available, you need to get access via TRC https://trc.intersystems.com/
2) There are no settings for fonts/colours, you need to use custom CSS file to change those
go to post
What is the error message?
go to post
You'll have to do it manually
http://www.herongyang.com/Cryptography/DES-JDK-What-Is-PKCS5Padding.html
go to post
AES ECB encryption/decryption is done using AESEncode/AESDecode methods in the same package. They are deprecated so don't appear in documentation.
go to post
You can use <img> tag and get a Google Maps image using Static GMaps API
Documentation for <img> https://docs.intersystems.com/latest/csp/docbook/Doc.View.cls?KEY=GRPT_c...
Documentation for static maps API https://developers.google.com/maps/documentation/maps-static/overview
go to post
There are 2 utilities which may help you:
- PROFILE https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
- PERFMON https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
Both can be used for routines/classes in deployed mode.
go to post
You need to right-click and select Export
go to post
Yeah I think we can shred a couple of characters using this technique from your code as well - it will become 71 characters, best so far:
f i=1:1:N f j="",1:1:i,i-1:-1:1 w !?N-j f l=1:1:j{w l} f r=l-1:-1:1 w r
go to post
Yeah I thought N>9 is "bonus level" - it will definitely require more characters. Original answer (top one) was only working for N<=9 anyway
go to post
Shrunk your code a bit, 71 chars:
f s=1:1:s f i=1:1:s,s-1:-1:1,"" s a=i f k=a-1:-1:1{s a=k_a_k} w !?s-i,a