検索

質問
· 2024年8月18日

Microsoft Entra and IRIS

Dear All,

I am currently part of a team that is developing an application using Microsoft PowerApps as the front end and IRIS as the backend.  Effectively that frontend screens, which are house and an Azure serve, call a series of REST interfaces exposed by IRIS from a physical Microsoft server.  During the development stage we have not had any security in place but now we need to secure the application using a single sign on.  PowerApps relies on Microsoft Entra for its security both LDAP and OAuth.  Has anyone in the community connected IRIS to Microsoft Entra? 

I have managed to register register the REST endpoints in Microsoft Entra as an application hence have a ClientID and so on.

Any help would be much appreciated.

Regards

Brad

2 Comments
ディスカッション (2)2
続けるにはログインするか新規登録を行ってください
ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年8月18日

How to programmatically update a port number on multiple items.

Hello, I am total newbie when it comes to ObjectScript (just started going through the tutorial).  We have a task where we have to update the port number for 75-100 items (say for half of the items in our production).  Going through the documentation and other community posts it looks like we could utilize class method 'ApplySettings' in Ens.Production.  But we are running into an issue.  Below is what we currently have.  When we hard code the item, it works.  But, if we store the item in a variable and try it pass it through.  Then it doesn't work.  We are also not seeing an error.  Is our thought process valid or should be looking at it differently.  Can we pass a variable into pSettings list?  If so, how should our syntax be?

Step 1: Got a list of items by running a sql against Ens_Config.item to get the name and added to a file. (Each item is in a line by itself)

Step 2: Trying to run the class method below to read the file and loop through the values to update port number.

ClassMethod UpdatePort() As %String
{
set tUniqueFile = "/hs-connect/test/Jobs_To_Update.txt"
// Write the file from previous line to a stream
set tStream = ##class(%Library.FileCharacterStream).%New()
Set tSC=##class(Ens.Util.File).LinkFileStream(tUniqueFile,.tStream)
set tStream.Filename = tUniqueFile // Read the stream to gather the job values
if $$$ISERR(tSC) quit ;
    while 'tStream.AtEnd {
        set str=tStream.ReadLine()
        write !,"The Job Is: ",str
        
        //set pSettings("From_Source_Rec_Job","Adapter","FTPPort")=2022.  If we specify the job, then it works
        set pSettings(""_str_""),"Adapter","FTPPort")=2022  //If we try to pass the variable, it does not
do ##class(Ens.Production).ApplySettings("TST.Production", .pSettings)                
}
// Delete the file with the list of jobs
do ##class(%Library.File).Delete(tUniqueFile) write !
return tSC
}

Regards,

Raja

3 Comments
ディスカッション (3)1
続けるにはログインするか新規登録を行ってください
記事
· 2024年8月18日 1m read

一个将导出的xml文件转换成UDL格式内容的工具

由于个人习惯,更喜欢将代码文件使用xml格式导入导出,但是有时后翻代码,xml格式的阅读体验没那么好,如果要是导入到studio又太麻烦,所以实现了一个在线工具,解析xml内容,将其转换为在Studio看到的内容,即所谓的UDL(Universal Definition Language)格式。

小工具地址

https://ttykx.com/demos/cos/xml2Udl.html

 

1.选择xml文件,读取内容。

 

2.解析项目,按项目显示原xml内容

 

3.转为UDL格式内容

 

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2024年8月17日 3m read

InterSystems IRIS 入门:全面指南

各位社区成员,大家好,

利用面向您的组织中的各个角色提供的全套 InterSystems 学习资源(在线或面授形式),您可以全面挖掘 InterSystems IRIS 的潜力,并帮助您的团队完成入门流程。 开发者、系统管理员、数据分析师和集成商可以快速上手。

学习服务提供的资源

在深入学习角色特定的资源之前,我们先来总体了解一下现有的学习资源:

ディスカッション (0)0
続けるにはログインするか新規登録を行ってください