go to post Eduard Lebedyuk · Mar 28, 2017 Can documentation be expanded to include information about SQL search. I always forget&rediscover where things are and especially how they are related
go to post Eduard Lebedyuk · Mar 27, 2017 Check UserAction method of %Studio.Extension.Base class. You can call CSP pages from there.
go to post Eduard Lebedyuk · Mar 27, 2017 In your BO try: Set result = ..Adapter.FTP.MakeDirectory(.path) Adapter is EnsLib.FTP.OutboundAdapter and FTP is %Net.FtpSession. I would subclass the adapter and add MakeDirectory method there, with code pointing to the FTP method and status conversion.
go to post Eduard Lebedyuk · Mar 25, 2017 It's a valid sample. You just can't write directly into ZEN context. Well, you can, obviously, but that causes errors.
go to post Eduard Lebedyuk · Mar 25, 2017 You can use RESTForms. It supplies converting object-to-JSON and JSON-to-object.
go to post Eduard Lebedyuk · Mar 24, 2017 1. https certificate would apply to the cache and csp sites defined under IIS. It would apply to everyrhing really.2. Not sure about html landing page being a security threat. That depends on your setup. Do you embed http parts in your (future) https pages?I'd recommend as a first step to install let's encrypt certificate - it's free and easy.Then force http->https redirect on your iis server.After that check how your html landing page behaves.
go to post Eduard Lebedyuk · Mar 24, 2017 I think the issue of compilation order specification is more at fault here. Full compile from scratch (on a new instance) or a full recompile should work without errors every time. If it's not, set DependsOn keyword strategically.
go to post Eduard Lebedyuk · Mar 24, 2017 I'm not raising exceptions, but rather do logging. Here's the article.
go to post Eduard Lebedyuk · Mar 24, 2017 Thank you! That's very useful. Is there a way to return real implementation class? For example, consider these classes: Class App.Use { ClassMethod Test() { w 1/0 } } and: Class App.Use2 Extends App.Use { } If I call: do ##class(App.Use2).Test() I get the following CLS source line: App.Use2:Test+1 Yet, the relevant code is actually implemented in App.Use:Test+1 One approach I see is checking %Dictionary.MethodDefinition recursively till I find a method definition, but there's bound to be many problems multiple inheritance.
go to post Eduard Lebedyuk · Mar 24, 2017 I don't understand your question. Please elaborate on the following points:Do you want to create arbitrary relationships programmatically at design time (possible) or at runtime (not really)?What difficulties in managing relationships you have encountered?Can you provide some mock code demonstrating what you want to achieve?
go to post Eduard Lebedyuk · Mar 23, 2017 Because I want it done automatically. I already wrote several converters manually as described, but started thinking about automating the task.