You should do that on a client (JS) side and send device info as a part of your POST request.
UserAgent can be retrieved from:
%request.UserAgentand you can try to map that to device.
- Log in to post comments
You should do that on a client (JS) side and send device info as a part of your POST request.
UserAgent can be retrieved from:
%request.UserAgentand you can try to map that to device.
You can try this to create XLSX files from SQL queries (in the same project there's also XLS exporter).
Another option would be to export CSV and use LibreOffice to convert it to XLSX (among other formats). Here's how.
I advice against importing the entire library.
The best approach is to write your own simple java library and import that.
Here's my wrapper for Apache POI.
Also you can use Dynamic Gateway for Java. Does not require class generation at all.
First of all, I'd really like to recommend you to upgrade to InterSystems IRIS.
You can still set query timeout as a part of JDBC connection string if it is available in external DBMS implementations.
Call it?
First argument is the statement index and the second is how long to wait in seconds.
I would recommend setting this parameter as a part of JDBC connection string if applicable - it is available in some DBMS implementations.
No, one user only.
You can iterate over users and add favorites for each.
Would be a great language to add.
Are you interested in calling Rust code from InterSystems IRIS or interfacing with InterSystems IRS from Rust?
Currently you can use Callin/Callout functionality for C/C++ and calll that from Rust.
A while ago I was trying Rust and successfully transpiled C callout library into Rust callout library and compiled it as Rust shared lib and it works (callable from InterSystems IRIS).
For this community project to take off two issues need to be solved:
Easiest way to do that is to add a favorite:
set sc = ##class(%SYS.Portal.Users).%AddFavorite("Community","https://community.intersystems.com")And your portal now looks like this:
.png)
Every time you interact with the page your session is extended for session timeout.
If there's no interaction from user after session timeout the session dies and cookie becomes invalid.
You can adjust session timeout parameter in web application settings.
VisitTime (any property really) should be stored before property parameter change.
Can you try to recreate the data?
You should set it as your property parameter:
Class MyClass {
Property CreatedOn As %TimeStamp(XMLTIMEZONE = "IGNORE");
}In runtime the behavior for your property CreatedOn would be IGNORE.
Offtopic but generic JDBC provider for SQLAlchemy has been discussed for years in Python community but nothing has been done.
Both suggested approaches offer a tight in-process way of InterSystems IRIS - Python integration.
I will show some live examples of bidirectional InterSystems IRIS - Python integration in Best Practices for in-platform AI/ML Webinar.
Use class queries. They are colored.
You can use PythonGateway or IRIS Native for Python to do that.
PythonGateway can retrieve dataframe (any object really) as a JSON.
Here's a corresponding discussion on the SQL side of things.
Use Dynamic Gateway for Java. Does not require classes generation at all.
Well, %Collection classes are the implementation of these constructs:
You can call their methods but do not explicitly create objects of these classes.
%Collection classes are internal and not to be used.
You can request new features/enhancements in WRC tickets.
There is actually. %GetSerial method builds a $lb from %ListOfDataTypes and %SetSerial does the reverse.
Both of these methods are private though. You can subclass %ListOfDataTypes and publish them.
I advice solving your problem by tightening security.
Your app user should have access only to the tables needed for the application to run.
If the user doesn't have any additional/admin roles, he won't see any other tables.
I think fairly straightforward approach works best
set l = ##class(%ListOfDataTypes).%New()
do l.Insert(1)
do l.Insert(2)
do l.Insert(4)
set lb = ""
for i=1:1:l.Count() { set lb = lb _ $lb(l.GetAt(i)) }
zw lb
>lb=$lb(1,2,4)Consider using REST. Creating REST in InterSystems Cache 2017.2 is very easy.
@Alexey Maslov, @Alexander Koblov RHEL8 is supported starting with InterSystems IRIS 2020.1.
String limit is 3 641 144 so 40 000 symbols is quite okay for a string.
How do you import an HL7 Schema from ObjectScript?
You can call any method with Invoke.
I'm not aware of anything HL7 specific in %Installer, but maybe HealthShare has something.
11:00 EDT.
I suppose I can have one Id column and several col1, col2 ..., colN columns, so losing the names.
Interesting! Tank you!
I can also use PPG for runtime storage.
Thank you for the info, Daniel!
Can I implement %GetProperty instead of specifying the list of properties explicitly?
I don't want to compile a new class for each new table-object.