Question Vivian Lee · Dec 20, 2021 Having trouble sending an HTTP POST request with form-data from Angular app to Cache backend I'm trying to send an HTTP POST request with form-data from an Angular app to a Cache backend, but my request fails with a 406 Not Acceptable error. #REST API #Caché #Other 1 2 0 5,723
Article Vivian Lee · Dec 15, 2021 3m read The Perils of Modifying the Storage Definition Setting the Scene I was editing the properties of a persistent ObjectScript class the other day and noticed that the storage definition wasn't updating to reflect my latest changes. In this case, I deleted a property that was no longer needed from the class definition, saved, recompiled, and still saw it in the storage definition. #Object Data Model #ObjectScript #Caché 11 7 3 465
Question Vivian Lee · Nov 18, 2021 Create Calculated Property in Persistent Class based on Relationship Hi Dev Community, I have a persistent Document class that has a FileName string property and another Question class that has an optional one-to-many relationship with Document. I'm trying to add a SqlComputed property to the Question class (docFileName) where docFileName = Document.FileName if there is a related Document or an empty string if there isn't one. I'd prefer the property to be SqlComputed so that if Question.Document changes, Question.docFileName will automatically update. #ObjectScript #SQL #InterSystems IRIS 0 12 0 294