go to post Eduard Lebedyuk · Apr 28, 2021 is it possible to get the values of the object to use as parameter of the query? I don't think so. SQL must work from xDBC context and objects don't exist there. How would you call your function from Management Portal or any SQL Editor?
go to post Eduard Lebedyuk · Apr 28, 2021 Maybe you can go into Application Roles tab and add %ALL role. After that try again from private window or another browser. Unknown User must also be enabled. This is only for dev/testing.
go to post Eduard Lebedyuk · Apr 28, 2021 By default Content is a stream. Try converting it into dynamic object set content = {}.$fromJSON(%request.Content)
go to post Eduard Lebedyuk · Apr 26, 2021 Note that InterSystems IRIS supports WebSockets natively as a client and as a server.
go to post Eduard Lebedyuk · Apr 22, 2021 Do you want to send a custom header with your HTTP request?
go to post Eduard Lebedyuk · Apr 22, 2021 Check WorkflowUI-ngx / WorkflowAPI for customizable rendering.
go to post Eduard Lebedyuk · Apr 20, 2021 Why? Your shell is run under your user (vrogers). You use $ZF(-1) to spawn a child process which inherits everything from parent. Ergo, $ZF(-1) started from shell is also run under your OS user.
go to post Eduard Lebedyuk · Apr 20, 2021 Correct. Terminal sessions are run under OS user who runs the terminal. CSP and Interoperability jobs run under cacheusr or irisusr by default or some other custom user if you specified that during installation.
go to post Eduard Lebedyuk · Apr 19, 2021 @Sean Connelly shared a tip on how to enable auto-complete for macros. No idea about routines though.
go to post Eduard Lebedyuk · Apr 18, 2021 During installation you specified the user who owns the system. Try running cstop as that user.
go to post Eduard Lebedyuk · Apr 18, 2021 You should check for disk speed and latency especially under heavy load. HS should be given a separate disk(s). Hyper-converged infrastructure like you describe can invite performance lags in unexpected ways. Calling @Mark Bolinsky.
go to post Eduard Lebedyuk · Apr 16, 2021 Generalize. 1. You can have 1 BP/1 BO called GET resource which gets: resource id resource type And based on that information constructs the required JSON. 2. If BP only proxies requests to BO you can skip BP and call BO straight from BS. Check out RESTForms2 - it does something similar (CRUD over classes) and there's only 4 handlers for all classes.
go to post Eduard Lebedyuk · Apr 15, 2021 If you want to minimize the roles given to a user, use Privileged Routine Applications. With them, only specific lines of code would have additional privileges, such as %DB_CACHESYS:R.