Question Chris Stewart · Oct 7, 2016 Setting properties on GlobalBinary stream HiI have been working on changing a web application from using %FileBinaryStream to storing and serving the file content from a %Stream.GlobalBinary property, stored in a new database. I have managed to migrate the data across, and have also been able to redirect the stream so that it is being served through the web link. However, the previous method set attributes on the File stream to have the stream be rendered as the original file type through MIME, using this code #CSP #Object Data Model #Caché 0 2 0 1K
Question Chris Stewart · Jun 9, 2016 REST Services Cataloging I've been building up a REST services API, consisting of a dozen or so classes referenced from a Dispatch class, which has route mappings for the first piece of the URI. I'd like to have the Dispatch class be able to output all of the available Services, with some documentation. Is there something like a %Library resource that I could use to pull this information from each of the classes?ThanksChris #Data Model #REST API #Mapping #Caché 0 7 0 846
Question Chris Stewart · Mar 29, 2016 Removing properties from a ZENProxyObject before it is returned by a REST service HiI have been experimenting with the creation of a set of REST services for an app. The basic GET operation is set to create a %ZEN.proxyObject instance, and then set an instance of a Persistant class as a property, which gives me all of the values I want to return. However, it also gives me some values that I don't want to return over REST (because they are both private, and large registered objects which will bog down performance) #JSON #REST API #SOAP #ZEN #Caché 2 3 0 496
Question Chris Stewart · Jan 20, 2016 Nested Tabs on ZEN component Hi I'm starting to play around with dynamically creating tabs and panes from query data, and was trying to do the following, with nested tabs. Tab Group High level tabs Sub Tab Group Sub tabs from the High level tabs. #Frontend #ZEN #Caché 0 2 0 381