Question Virginia Rogers · Apr 20, 2021 What determines the environment for $ZF(-1)? Hello, I'm using $ZF(-1) in a class method which will be invoked from a csp page. What determines the environment of the spawned process? If I use $ZF(-1,"echo hello world > output.txt"), the resulting file is owned by cacheusr:cacheusr. However, when I use $ZF(-1,"printenv > output.txt"), the environment is from my personal unix account, no matter which Cache username I'm logged in under when running the web application. Thanks #CSP #Caché 0 9 0 296
Question Virginia Rogers · Jul 31, 2018 Help constructing SQL query using array of objects property I have the following class definitions: #SQL #Caché 0 6 0 1.2K
Question Virginia Rogers · Jul 24, 2018 location not working to load new CSP page I have a web application and one of the CSP pages contains the following snippets: <script language='javascript'>function SubmitForm(pid,sid) {//code to process formalert ("study saved");self.document.location="newpage.csp";} #Beginner #JavaScript #CSP #Caché 0 5 0 484
Question Virginia Rogers · Jun 29, 2018 Recommended resources for understanding sequence of events in CSP applications I have inherited a web-based database application and I'm having a hard time understanding the sequence of events when CSP pages are opened. I have very limited web development experience. Can anyone recommend a good resource for explaining this? I have already gone through the Cache Cinema tutorial and the Cache CSP documentation. #Frontend #Caché 0 4 0 275
Question Virginia Rogers · Jun 26, 2018 How to reference one element of an array property from another class Hello, I need to add a new property ("Injection") to an existing database. The existing database contains, in part: An "ImageStudy" which contains one or more "ImageFiles" defined as follows: #Beginner #Object Data Model #Caché 0 7 0 517
Question Virginia Rogers · Jan 29, 2018 Guidance on modifying class definitions and switching my application to the new definitions Hello, I have a property which I need to move from one class definition to another as follows: Old definition: Class SCHED.SchedEntry { Property Experiment as %String; Property ScanSlot as list of TracerEntry; } Class SCHED.TracerEntry { Property Tracer As %String } I want to move the Experiment property to the TracerEntry class so that there is a different Experiment allowed for each ScanSlot, like this: #Databases #Testing #Caché 1 2 0 361