Pesquisar

Question
· Nov 6, 2025

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?

9 Comments
Discussion (9)4
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Nov 6, 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 Comment
Discussion (1)2
Connectez-vous ou inscrivez-vous pour continuer
Article
· Nov 6, 2025 2m de lecture

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

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Discussion (3)2
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Nov 6, 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
[Ceci est un lien intégré, mais vous ne pouvez pas consulter le contenu intégré directement sur le site car vous avez refusé les cookies nécessaires pour y accéder. Pour afficher le contenu intégré, vous devez accepter tous les cookies dans vos Paramètres des cookies]

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer