新しい投稿

查找

質問
· 2025年12月19日

Recommended way to compile CSP files on server

We have created a CSP application in the path /csp/ourapp. Due to some session handling issues, we created a new web application /csp/ourapp/hl7mapping that points to the sane namespace, and we now access the CSP pages using this new URL. This works fine in the local system.

After deploying the app to server, we are facing issues around compiling CSP pages.

 

We noticed that following compilation command works for CSP files located under the physical path /csp/ourapp, but it does not compile the CSP files placed under /CSP/ourapp/hl7mapping.

do $SYSTEM.CSP.LoadPageDir("/CSP/ourapp/","ck")

Because of this we compiled the CSP files manually using Ensemble studio connected to server.

Is there a recommended way to compile CSP files when using a custom web application path?

 

Thanks in advance,

2 Comments
ディスカッション (2)2
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年12月19日

¡Ya está disponible la agenda del READY!

¡Ya está disponible la agenda de READY 2026!

 

Como sabéis, InterSystems Iberia READY 2026 nace con la intención de mostrar hacia dónde avanza el futuro de los datos, la interoperabilidad y la inteligencia artificial. Una oportunidad perfecta para aprender, conectar y hacer crecer el sector. Estáis todos invitadísimos, por si no lo sabíais. Poco a poco vamos descubriendo más de un evento que será un antes y un después para nosotros. Os lo vamos contando. De momento tenemos la agenda ¿qué os parece? Creemos que será una sesión muy entretenida. 

📆 19 de Febrero de 2026
📍 Lugar: Madrid, Covarrubias The One, Sala White

✅ Mirad la agenda y registraos en aquí.
 

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

Delete history in "Ask DC AI"

The Ask DC AI assistant is appreciated. But how do I delete the chat history?

3 Comments
ディスカッション (3)3
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年12月18日

十年成就一览:庆祝开发者社区成立十周年

大家好!

作为十周年生日庆典的一部分,我们特别制作了一个时间轴视频,展示开发者社区及其生态系统在过去十年中的重要里程碑、发展和成就 🎆

看看我们走了多远,我们一起成就了多少:

这一切都要归功于我们的成员、版主团队和管理员。 让我们庆祝我们的团队,是他们让我们的六个社区充满活力和友好。向我们的版主致以最崇高的敬意:

此外,让我们不要忘记我们的团队,他们组织、创建、改进并尽最大努力使这个社区成为对每个人都友好的地方:@Anastasia Dyubaylo, @Irène Mykhailova, @Evgeny Shvarov, @Iryna Mologa@Dean Andrews.

让我们在下一个十年甚至更长的时间里继续创新、分享和相互激励!

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

Cause and solution of <SLMSPAN> error when killing global

InterSystems FAQ rubric

If you try to kill a global that is mapped at the subscript level from the top node, you will get a <SLMSPAN> error and it will not be deleted. This is because the kill command for subscript-level mapped globals cannot be used across mappings.

// Suppose subscript-mapped globals exist in different databases, as shown below:
^TEST(A*~K*) -> database A
^TEST(L*~Z*) -> database B

// Trying to kill from the top level will result in a <SLMSPAN> error.
NAMESPACE>Kill ^TEST
<SLMSPAN> <- This error is output.

To delete only the global in the current namespace (database), use the following:

NAMESPACE>Kill ^["^^."]TEST

Globals mapped at the subscript level must be moved to the database and killed directly.

To switch to the database, use the following:

zn "^^c:\intersystems\iris\mgr\user"
or
set $namespace="^^c:\intersystems\iris\mgr\user"

When importing globals with $System.OBJ.Load, the default behavior is to kill the globals before importing them. As a result, if the target globals are subscript-level mapped, a <SLMSPAN> error occurs. In this case, specify the /mergeglobal flag as the second argument to $system.OBJ.Load as follows to prevent pre-killing:

Set sc = $System.OBJ.Load(path," /mergeglobal",.errors)

enlightened [Reference]
Mapped globals cannot be exported.
How do I compile mapped classes and routines?

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