Hi Guys,
I've this Business operation pointing to my DSN as below
where its calling the this method, but for some reason its not recognizing Ens.Util.LookupTable class
Hi Guys,
I've this Business operation pointing to my DSN as below
where its calling the this method, but for some reason its not recognizing Ens.Util.LookupTable class
Hi Guys,
I've connected VS Code to my IRIS server and can see projects & web application option but not Classes tab, how can I add it, and with the old Studio we do have the Inspector tab where we can check properties, Storage, methods, are these available in VS code?
also does any changes or new classes created via VS code automatically reflected in my IRIS namespace ?
Thanks
Hi Guys,
I get a Quit argument not allowed error in an if block how can I fix this?
Hi Guys,
I'm trying to use %Net.WebSocket.Client to collect data from a sever,
.png)
and part of that I needed to implement Two classes (SX3.Production.HTTP.AdvCredenials & SX3.Production.HTTP.AdvListener) as below for the purpose of Credentials & EventListener properties,
Class SX3.Production.HTTP.AdvCredenials Extends %Net.WebSocket.ICredentials
{
Method GetPassword() As %String
{
q ""
}
Method GetUsername() As %String
{
q ""
}
Method GetSSLConfiguration() As %String
{
q "MySSL"
}
}
Class SX3.Production.HTTP.AdvListener Extends %Net.WebSocket.IEventListener
{
Method OnMessage(pContent As %Stream.
Hi,
I'm trying to install NodeJs (javascript runtime environment) in IRIS container so I can execute JS files?
It was easy to install it outside the container but I got the attached error when trying in the container:
.png)
Thanks
Hi Guys,
I'm using below to retrieve advertising data from Cassia AC server, but the problem is that its a live connection so the Httprequest.Get(HttpURL) call will hang and doesn't exit & return the data so is there a way for return and after say 30 secs from this live data? or is there something EventSource or something similar where I can pass the URL call then after say 30 secs I can end & exit the call to return the collected data?
S BleMac="DC:0D:30:9E:3A:EC",GatewayMac="CC:1B:E0:E2:56:18"
S Token=##class(SX3.Task.TemperatureCollection).GetAuth()
Set Httprequest=##class(%Net.HttpRequest).
Hi Guys,
below is a running a URL in a browser to connect and get live advertising packets data from Cassia AC server which keeps the connect live and keep going and population data.
.png)
So now I'm doing the same in the below code but the issue I'm not getting anything and it gets stuck at Get(HttpURL) line because it hanging on that live connection I guess and not outputting, so how can I get the HTTP request to exit and get me only a snapshot of that data, maybe something like 20 sec worth of data?
S BleMac="DC:0D:30:9E:3A:EC",GatewayMac="CC:1B:E0:E2:56:18"
S Token=##class(SX3.Task.
Hi Guys,
I'm looking for a Zen component that allow me to populate a list of items and the ability to multiselect, similar to checklist?
I've thought of using MultiSelectSet component but don't know how can I populate it like to a query or resultset?
a short sample code would be helpful.
Thanks
Hi Guys,
How can I create Python pages instead of CSP or Zen pages, not familiar with Python and the only way I know is using embedded Python as methods as attached below?
.png)
Thanks
Hi,
I've a list of running scheduled task in task manger and would to crate a tasks to monitor if any of my tasks has stopped running, is there a function to check tasks status?
Thanks
Hi Guys,
This is more of a Javascript question but just in case would have an idea.
basically I'm calling the below JavaScript function from a classMethod to add Options to an html <Select> tag (Dropdown) and after adding all options I would like to set a specific value or index to be selected, its working and actually the required option is selected but not showing as selected in the dropdown box.
Hi Guy,
Made a fresh new Install of our currently working application from our current server to a new one but when trying to run the application in the new server it raises a page not found error:
.png)
this is the web application setup
Not sure what I'm missing?
Hi
I've installed Ensemble 2018 then enabled IIS from Win features, then realized that CSPGateway doesn't exit so I downloaded and installed CSPGateway-2018 from WRC.
so now I'm trying to set up a Website application and facing some issues, and I think IIS and CSPGateway in inetpub are not connecting or synchronising properly but mostly is accessing Web gateway via IIS my understanding is that I can access using the following url http://machinename/csp/bin/Systems/Module.cxw using my machinename or IP but it's not happening.
Hi Guys,
I'm new to IRIS and I'm converting from Ensemble 2018 to IRIS but not sure how to convert my cache.data file to IRIS.dat, I copied my cache.data to a new folder then went to IRIS management portal and created a new database and specified the directory to where my cache.data and saved and I thought that IRIS will automatically convert cache.dat to IRIS.dat but instead it created a new empty IRIS.dat, I guess I was wrong in my assumptions !?
.png)
also by leaving the New Volume Threshold size as zero is that mean that I always have only one IRIS.
Hi Guys,
Any Idea on how can make a dynaTree with 4 levels hierarchy (attached), I'm using the below code but sometimes works and other cases it doesn't?
Set..locId1SelectParentName.png)
Thanks
Hi Guys,
After converting from Ensemble 2014 to 2018 and ran my application I get the below error message:
.png)
MSDS.ZEN.Component.imageclickbuttom exits and compiles fine and also compiled the Zen page extending the class successfully but still getting the error so not sure why I'm still getting the error!?
Thanks
Hi Guys,
I'm converting our system from Ensemble 2014 to 2018 and we do have Security package of classes in deployed mode in our 2014 (eg. Users, Role, ...etc) which doesn't exist in our newly installed 2018, so how can I include those classes in 2018?
Thanks
Hi Guys,
I've upgraded from Ensemble 2014 to 2018 and copied all classes across, ran Upgrade & CompileAll and looks fine, but when trying to search on dataCombo I get the below error
.png)
here is the definition of the Combo
Hi Guys,
I'm trying both of these methods to get a JWT token but none is working for some reason and not sure what I'm missing?
.png)
it works when I tested it from Postman
Thanks
Hi Guys,
How to get a list of workstations (machines) connected to the Server?
Thanks
Hi Guys,
I’ve the below service that receives a request from a client requiring a pdf file to be sent back for printing.
Basically in this method I’m receiving a message “Yes” and if so I need to determine the length and put it in the Content-Length: or File-Length: fields and then append the byte block to the end of the 200 OK reply so they can print it
Any idea on how to do that?
Include MSDSInclude
Class SX3.Production.HTTP.GetPSRequest Extends Ens.BusinessService [ ClassType = "", ProcedureBlock ]
{
Parameter ADAPTER = "EnsLib.HTTP.InboundAdapter";
Method OnProcessInput(pInput As %Stream.
Hi Guys,
How to get free disk space, I found that I could use GetDirectorySpace but not sure how to use it in getting free space in my D drive?
Thank
Hi Guys,
I have a client posting me JSNON file using a Get action and I'm using the below code to retrieve the data:
Class SX3.Production.HTTP.GetPSRequest Extends Ens.BusinessService [ ClassType = "", ProcedureBlock ]
{ Parameter ADAPTER = "EnsLib.HTTP.InboundAdapter"; Method OnProcessInput(pInput As %CharacterStream, Output pOutput As %CharacterStream) As %Status
{
Set pOutput=##class(%GlobalCharacterStream).%New()
Set tSC=##class(Ens.Util.JSON).ObjectToJSONStream(pInput,.tJsonPayload,"aceloqs")
set jsonString = tJsonPayload.
Hi Guys,
Do we need to configure something in ports so that we can use it in a production?
I've a production with 8 running services and recently added a new service with new port but unable to get it working
raising error 404.
When using an existing port that is used by current running service, my new service works fine but not when using a new port, I've added the new port to inbound rules in the firewall bit still no luck, so is there something I need to do to in Ensemble ?
Thanks
Hi Guys,
We currently for reason I'm getting too many locks in the system (around 990 locks) and is making the system slow
most of these locks are on globals
I have a method that sets values in some globals every minute which I guess will place a lock on each one and expecting the system would just automatically release them afterward, use to be fine before but for some reason now the list of locks keeps growing, so is there way to just release the lock after setting values in my globals because I don't need them locked anyway?
Thanks
Hi Guys,
I've this client method in my Zen page which looks good and compile fine:
.png)
I first tried calling this clientmethod in %DrawHTML() like : var res=zenPage.getNewPrinters(); but for some reason didn't work not sure why I even tried simplifying my clientMethod with simple code like just showing alert but still this call didn't work
So now I'm trying copying the code of my clientmethod to %DrawHTML() but I'm getting a compilation error not sure why everything is the same so why is this code is raising a compalation error when placed between &js<> and working fine in my clientMethod?
Hi Guys,
I've an fileupload and button that executes Upload() clientmethod to upload files in my database and everything works fine when I run the application in the server where it is located, but if I run it from a client machine the %OnSubmit class method doesn't get invoked when form.submit() get executed so how can I fix this?
I can always use <submit> button but the thing is that I need the current form to close after submitting the form but adding &js<window.
Hi Guys,
I've a popup zen page to upload files using the input tag and submit button as below :
<html>
<input type="file" size="80" name="FileStream" class="button" id="fileUpload" />
</html>
<!--imageclickbutton id="btnUpload" caption="Upload" width="90" height="30" onclick="zenPage.
Hi Guys,
In my Zen page I've a grid with a list of uploaded images and it's working fine when running from the Server where the application resides where I can just click to an image and my code displays the image in a second screen (MSDS.Image.StreamServer.cls) ,
.png)
but the problem if running the page from a client machine (internet), I get this annoying extra steps with the file downloaded as .cls then I'll have to click open and choose a program .
Hi Guys,
below is a javascript sample code in one of my methods in a CSP page where I'm loading some data from a global to a Javascript arrays, the problem is that if I call the method with do (d ..mymethod()) everything works fine but calling it with Job (J ..mymethod()) it seems that the javascript part is not working, is there a way to fix this?
The reason why I'm using Job call because I need it to run in background and not to hold other processes.
&js<
Sensor='#(Sensor)#';
maindatafx[Sensor].push(ConvertArr((Fdte),'#(FXData)#'))