Touggourt · Feb 20, 2023 go to post

Thanks.

I though maybe you can create a Role for that user and restrict the webpage to only be accessed by that role!?

I've changed the search criteria to BlobNamePattern  field it as attached, and still not getting anything.
 

Currently if I use this code works, but not the above API setup!?

set file="/Persistent/Credentials"
        set endpoint="https://s3.amazonaws.com
        tStatus=""

      res.DownloadBlobToFile("MTCbucket","MTC_88667","/archive/MTC_88667_archiced.json")
       

Touggourt · Apr 21 go to post

And under which class is it available, Or do I have to create my own class that  Extends Ens.BusinessService and copy my code from task scheduler under OnProcessInput? and in this case I won't be needing pInput & pOutput.

Method OnProcessInput(pInput As %CharacterStream, Output pOutput As %CharacterStream) As %Status

Touggourt · Apr 22 go to post

BTW, if I'm implementing my own class that extends Ens.BusinessService what's the use of the InboudAdapter, because the code will execute regardless? 

Touggourt · Jul 16 go to post

I would think so but double check with our system admin, but if they are exposed in the container with different port number how can I specify them in my code?  
Thx

Touggourt · Jul 16 go to post

Yes just confirmed they are exposed with custom numbers, so how can I assign them in my code?

Touggourt · Jul 16 go to post

That was my first action by putting the cursor at the beginning of the word Class and backspace but there no space, strange !? 

Touggourt · Jul 18 go to post

Ok I see where is the problem, the issue is that the code before it is raising errors, the DIV tag and && is not an acceptable syntax, any ideas what's wrong with that syntax, I tried double quotes for div and single & for and but still? 

Thanks

Touggourt · Jul 20 go to post

One of the errors is the below

But I'm passing the username/password? and I use to have this error before when the system was on Ensemble 2018 and was able to login and upgraded to IRIS 2024 and now I'm getting these other errors!?   

Touggourt · Jul 21 go to post

Never mind guys, it turns out that  "Prevent Login CSRF Attack" flag in Web Application Settings needed to be turned off, its a feature in IRIS and by default is turned on which allows creating a Token to the website page that gets verified along with the user/pass when logging in  
 

Don't know, I got classes from a clients where I'm suppose to import & compile in our IRIS, so should I be adding a parameters as below?