Rechercher

Question
· Nov 6

Maple Health Staffing

Maple Health Staffing is a Canadian healthcare staffing company that connects medical facilities with qualified nurses and care professionals across Ontario, ensuring reliable support for hospitals, long-term care homes, and community health services.
https://maplehealthstaffing.ca/
 

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Nov 6

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?

4 nouveaux commentaires
Discussion (4)3
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Nov 6

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 nouveau commentaire
Discussion (1)2
Connectez-vous ou inscrivez-vous pour continuer
Article
· Nov 6 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