Encontrar

Pregunta
· 23 hr atrás

How to use underscores in an expression in Analytics Architect.

Hi community

I have a persistent data class where there are some properties that contain underscores in their names, for example:
Property "client_name" As %String(MAXLEN = 250) [ SqlFieldName = client_name ];

In Architect, I would like to use this property in an expression, in this field:

But I can't figure it out. If I use %source.client_name, it gives a compilation error. If I use %source."client_name", it treats it as the string "client_name" instead of getting the value from the field. Any suggestions on how to do this?

2 nuevos comentarios
Comentarios (2)2
Inicie sesión o regístrese para continuar
Anuncio
· 6 nov, 2025

Celebrating 1,000 Certifications

Hi, Community!

Join us in celebrating a milestone: InterSystems Certification is celebrating 1,000 certifications that showcase the knowledge and expertise of InterSystems professionals. Meet our team, see how the program has evolved, and get a discount on your next certification!

Celebrating 1,000 Certifications

👩‍🎓Join our growing community: Learn more about the InterSystems Certification program.

Use promo code InterSystems1000Certs for 30% off your next certification exam! (Offer ends 12/31/25.)

1 nuevo comentario
Comentarios (1)2
Inicie sesión o regístrese para continuar
Artículo
· 6 nov, 2025 Lectura de 2 min

About exporting mapped globals

InterSystems FAQ rubric

When exporting using the Export() method of the %Library.Global class, if the export format (fourth argument: OutputFormat) is set to 7, "Block format/Caché block format (%GOF)," mapped globals cannot be exported (only globals in the default global database of the namespace are exported). To export mapped globals in "Block format/Caché block format (%GOF)," specify the database directory to which you want to map them in the first parameter of %Library.Global.Export().

An example of execution is shown below. 

 set DB = "^^c:\InterSystems\Cache\Mgr\Test\"  ; "^^\<path to database folder>\"
 set sc = ##class(%Library.Global).Export(DB,"TESTGBL.gbl",FULLPATH,7,,"")

If you specify the export format as 5 (default), "ISM/ObjectScript format (ISM/Cache format) (*)," you can also export mapped globals, but the output file will be larger than if you set the export format (fourth argument: OutputFormat) to 7, "Block format/Caché block format (%GOF).

Also, if binary data is recorded in the global, that data will not be output correctly.

For more information, see the following documentation.
Class Reference: %Library.Global.Export() [IRIS]
Class Reference: %Library.Global.Export()

[Note]
Globals that contain $LIST format or control characters cannot be exported correctly with the default export format of 5 (ISM/ObjectScript format (ISM/Cache format) (*)). In this case, you must export on a database-by-database basis with the export format (fourth argument: OutputFormat) set to 7 (Block format/Caché block format (%GOF)).

* Sequential file format

Comentarios (0)1
Inicie sesión o regístrese para continuar
Comentarios (0)1
Inicie sesión o regístrese para continuar
Anuncio
· 6 nov, 2025

[Video] Coverage Requirements Discovery

Hi, Community!

Looking for an efficient way to allow providers to see whether prior authorization is required? See how the Coverage Requirements Discovery (CRD) module of the InterSystems Payer Services ePrior Authorization solution can help:

Coverage Requirements Discovery

https://www.youtube.com/embed/MY1If1CEjrM?utm_source=youtube&utm_medium=social&utm_campaign=MY1If1CEjrM
[Este es un enlace integrado, pero no puede ver el contenido integrado directamente en el sitio porque rechazó las cookies que se necesitan para acceder a él. Para ver el contenido integrado, debe aceptar todas las cookies desde la Configuración de cookies]

Comentarios (0)1
Inicie sesión o regístrese para continuar