Hi guys,
I'm looking to mimic this Post request URL where I'm sending a token :.png)
So I created the below code but I'm getting "HTTP/1.1 405 Method Not Allowed" error
Hi guys,
I'm looking to mimic this Post request URL where I'm sending a token :.png)
So I created the below code but I'm getting "HTTP/1.1 405 Method Not Allowed" error
Hi Guys,
I'm a newbie in term of MQTT clients & brokers, and I've created a MQTT adapter to connect to a broker and I asked our system admin for the user/pass and the URL and this where we got stuck.
The admin is saying that all he has is IP address to the PEM key to the server itself, so my question is, is the broker the server itself and the url is the url to the server or is the Broker an application (eg. Mosquito) that runs in a server and if that's the case and if its Mosquito, where do I find the connection details to it (user/pass & URL) ?
Thanks
Thanks
Hi
How can I set a default value in a dataCombo?
I tried
ClientMethod onloadHandler() [ Language = javascript ]
{
zenPage.getComponentById('mycombo').setProperty('selectedIndex',0);
//zenSetProp('mycombo','selectedIndex',0);
}
and didn't work, I can not use the value property because I don't know what the values in my combo are going to because they loaded OnCreateResultSet, I'm only looking to make always the first value selected by default
Thanks
Hi Guys,
I've created Business service with MQTT Inbound Adapter and here is my settings, BTW I'm using an IP with port not sure if it must be a url?
and this is my class:
Class SX3.Production.MQTTService Extends Ens.BusinessService
{Parameter ADAPTER = "EnsLib.MQTT.Adapter.Inbound";Method OnProcessInput(pInput As %RegisteredObject, Output pOutput As %RegisteredObject) As %Status
{set tsc=$$$OK
set ^messageContent = pInput.StringValue
Quit tsc
}}
But I'm getting the below error, not sure what I'm doing wrong?
Thanks
Hi Guys,
I'm looking to setup an MQTT adapter that also acts as broker to connect directly to an MQTT clients, is there an IRIS adapter or client that can be used as Broker as well?
Thanks
Hi,
My understanding that in IRIS we create an Inbound Adapter that would act like a Broker (connecting to server X) then have an MQTT outbound adapter to receive those messages?
Is there a quick sample that we could user to show how to setup these two Adapters, I started with this but I couldn’t for example find EnsLib.MQTT.Adapter.Inbound

and I guess here where I can set Server X IP & port

Not familiar with MQTT, I appreciate if you could take through how to setup a MQTT inbound & outbound adaptes ?
Thanks
Hi,
My understanding is that IRIS comes with Embedded Python in it, how can create a page using Python instead or Zen or CSP Pages?
maybe a small sample (like hello python page) to get the idea.
Thanks
Hi
I'm a newbie in productions and I've received the below business operation from a client that I need to include in a production,
So not sure if I'm supposed to create a new Business operation with a new name and select the class as below but then what's next and what should be the output type in X12 tab or if it should be type SCOSwarm.Message.SX3ScheduleResponse?
Or should I be ignoring this class for now, create a new business operation called SCOSwarm.Operation.SX3ScheduleOp copy the code across ...etc but how can I include EnsLib.NullAdapter ?
Thanks
This might be a dumb question but can we have more than one production in a namespace, because we do have running but I thought that I could create a separate one for another project?
Thx
Hi Guys,
I'm a newbie in Python and I've imported this class from another IRIS and for some reason its get an error on %ToJSON()?
I'm also wondering on the need of importing iris at the top given that this code is already running in IRIS!?
Thanks
Hi Guys,
I get the below error when trying to compile an imported class in IRIS, it compiles if I remove [ Collection = list ] so not sure about the use of [ Collection = list ] and if removing it would affect anything and its just a duplication?
Thanks
Getting this error when create a class in IRIS, any clues?
Thanks
Hi Guys,
Not sure what should be the url format, but I'm using : https://PBS.products.com:2188/ to post to the below Business Service
But I'm getting "connect ECONNREFUSED 3.209.112.146" error, so am I missing something?
Thanks
Hi Guys,
I'm running : IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.3 (Build 217U), and I have https web request call to connect and get data from external server ( https://myserver.com/api/gap/...etc) but I'm getting this error: "fetch failed unable to verify the first certificate".
Hi Guys,
I've my users set in Security->Users in SMP, but I get the below error when trying to long in my application, any clues what this error means?
"0 "_$lb($lb(864,,,,,,,,,$lb(,"US-SERENITY",$lb("e^UsersCSPLogin+87^%SYS.SECURITY^1","e^CSPLogin+103^%SYS.cspServer^1","e^CSPDispatch+909^%SYS.cspServer^1","d^CSPDispatch+907^%SYS.cspServer^1","d^ProcessRequest+1^%CSP.Session.1^1","d^Request+692^%SYS.cspServer2^1","d^Request+25^%SYS.cspServer2^1","d^ProcessRequest+1^%CSP.Request.1^1","d^css+15^%SYS.cspServer2^1","d^Server+64^%SYS.SERVER^2","d^^^0"))))
BTW my login page extends %CSP.Login
Thanks
Hi,
After converting from Ensemble 2018 to IRIS 2024 I noticed that HTML tag is not recognized?
I just copied & pasted this same from Ensemble to IRIS and in Ensemble looks fine!?
Thanks
Hi,
Using the below code to connect and get data from a server:
Class SX3.Production.HTTP.AdvCredenials Extends (%RegisteredObject, %Net.WebSocket.ICredentials)
{Method GetUsername() As %String
{
quit ""
}/// Returns the password to use for authentication with the web socket
/// @API.Overrideable
Method GetPassword() As %String
{
quit ""
}Method GetSSLConfiguration() As %String
{
q "RTLS"
}}
Hi Guys,
How can I use this same objectscript principle in embedded python to get the value of each field in my loop?
s sql="SELECT ID, Name, Age FROM Sample.Person WHERE Age="_Myage
Set RS=##class(%ResultSet).%New()
Set Ret=RS.Prepare(sql)
Set Ret=RS.Execute()
While RS.Next()
{
Set name=RS.GetData(2)
}
it should be similar to this example which lists the whole row but how can I get the value of each field or if I can use GetData?
Thanks
Hi Guys,
I'm getting the below error when trying to train my Model
This is the table I created my model from
Thanks
Hi Guys,
I'm a newbie running IRIS in a container (IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.3 (Build 217U) Thu Nov 14 2024 17:30:43 EST) and trying to setup Python so I can start working on ML & Autosklearn,my understanding is that IRIS already comes with embedded Python but unable to do something like "import pandas as pd" in VSCode which looks like I need install a more complete version of Python or packages, so what I'm missing?
Hi Guys,
I'm a newbie that doesn't know much about integratedML and looking for a first push into it, I've setup VSCode with my IRIS 2024.3 running in Linux and my understanding is that we can create models using SQL, so first, do I need to setup a specific environment where I can run my SQL commands to create & train Models or just using SMP, and do I need to install or enable Python ..etc things required to setup the environment?
Then if there are easy samples or training materials on how to create, train & deploy my model?
Thanks
Hi guys,
Would like to replace our scheduled Tasks to instead run in a production, so basically the same code running in OnTask () to be instead called in a Business Service (I guess) and use the Interval filed to specify the iteration, so with adapter would be suitable in this case, and I noticed the Schedule filed as well but not sure how to use it?
Thanks
Hi,
If I map all globals with (*) to a database1, then would like to map specific only some globals eg. MYGLOB* to be located in a different database2, which mapping will override the other, so would all globals that starts with MYGLOB* be placed in database1 or 2?
Thanks
Hi,
How can I query fields by passing them in variable names, eg. I would like to query columns Book & Author fields from eg. the following :
S =var1="Book", var2="Author"
Select var1,var2 from myTables.Books
I tried @var1 or %var1 and didn't work
Thanks
Hi
Is there a way to remote connect to IRIS terminal from my local machine?
I can remote connect to Studio & SMP from my locally windows installed IRIS cube to another IRIS installation in a Linux server, but not the case when trying to connect to the Terminal, is there a way to do so? I'm currently using ssh client but that one times out quickly
Thanks
Hi Guys,
Not sure what I'm missing here, I'm using to download files that starts with MTC_88 from S3 bucket using AmazonS3 inboundAdapter as below, but I'm not getting anything and I'm sure there thousands of files that starts with MTC_88
and the log is not getting any errors?
Thanks
Hi Guys,
I'm looking to create a service to download files from S3, so I used the EnsLib.AmazonS3.BusinessService with settings as below to download files that starts with SMfile_48 but I'm not getting any files, am I missing something?
Thanks
Hi Guys,
I'm looking for an easy to allow certain user to only have access to one CSP or Zen page from my application, my thoughts is to create a role to only access that specific page then allocate that role to my user, but can find the Zen page so I can allocate it to a role?
Thanks
Hi Guys,
How can I restrict access to a webpage to a specific user only?
Thanks
Hi Guys,