go to post Alexander Koblov · Jun 30, 2016 Hi Javier. If you use ExecuteQueryParmArray then I think you should also Set par = 1 If you use ExecuteQuery then you should call it like Set tSC = ..Adapter.ExecuteQuery(.QueryResultSet,sql,par) http://docs.intersystems.com/ens201513/csp/docbook/DocBook.UI.Page.cls?K...
go to post Alexander Koblov · Jun 29, 2016 Also please notice that Base64Encode does not work with Unicode characters: http://docs.intersystems.com/cache20152/csp/documatic/%25CSP.Documatic.c...
go to post Alexander Koblov · Jun 28, 2016 Attila, can you please elaborate on why it is potentially dangerous to refer to data outside of current record unless Calculated is specified? I personally use Calculated only when property value might change during oref lifetime. If property value is not changed once object is in process memory, then there is no need for Calculated, as I understand -- Transient is enough.
go to post Alexander Koblov · Jun 23, 2016 I usually create new empty DB, then ^GBLOCKCOPY globals from old DB. And then replace old DB with the new one.
go to post Alexander Koblov · Jun 22, 2016 Yes, Illegal CSP Request usually means that access to this particular class is prohibited. If your web application named '/csp/healthshare/mhclib/' then you need to enable classes as follows: set ^SYS("Security","CSP","AllowClass","/csp/healthshare/mhclib/","%SOAP.WebServiceInfo")=1 set ^SYS("Security","CSP","AllowClass","/csp/healthshare/mhclib/","%SOAP.WebServiceInvoke")=1 Notice that calling SOAP Service via test webpage (%SOAP.WebServiceInvoke.cls) is independent from calling web service via SOAP protocol. For that you should check option "Inbound Web Services" in Web application settings. %SOAP.WebServiceInfo and %SOAP.WebServiceInvoke are just pages to test web services via Browser. SOAP protocol itself does not use these pages.
go to post Alexander Koblov · Jun 22, 2016 Message "An error occurred with the CSP application and has been logged to system error log (^ERRORS)" means that you can check error in Management Portal -> System Operation -> System Logs -> Application Error Log -> [Namespace] Or for debugging purposes set error page for web application to %CSP.Error.cls http://docs.intersystems.com/cache20161/csp/docbook/DocBook.UI.Page.cls?... and see errors on the page itself
go to post Alexander Koblov · Jun 21, 2016 You can create one post that is just an index and reference this post in each new material. Then just update this index post once after each new posting
go to post Alexander Koblov · Jun 13, 2016 Hi Randy. FILTER option in SETTINGS references "Allowed Default Values for Filters" section of doc http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... You can specify set of members as follows: "{&[keyval1],&[keyval2],&[keyval3]}" Then you need to URL encode this value: http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... Particularly by replacing & with %26 and , with %2C For example, if I want to pass to "Basic Dashboard Demo" several values for Home Zip Code filter I need to create following string: &SETTINGS=FILTER:[HomeD].[H1].[ZIP].{&[32006],&[32007]} And then URL encode it to &SETTINGS=FILTER:[HomeD].[H1].[ZIP].{%26[32006]%2C%26[32007]}
go to post Alexander Koblov · Jun 8, 2016 Hi Blaise. Does following query looks like what you need? With Member Measures.[RunningTotal] As 'AGGREGATE(%TIMERANGE(DateOfSale.[Actual].[MonthSold].&[201101],DateOfSale.CurrentMember), MEASURES.[Amount Sold])',FORMAT_STRING='$#,#.#' SELECT {Measures.[Amount Sold],Measures.[RunningTotal]} ON 0, [DateOfSale].[Actual].YearSold.&[2016].CHILDREN ON 1 FROM HOLEFOODS It prints two columns -- Revenue in current month and Total revenue from 2011-01 up to current month. Rows are months of 2016 year.
go to post Alexander Koblov · Jun 7, 2016 Yes, seeing comments/answers in compact mode is good feature. Maybe one column is enough -- with two numbers separated by slash -- "5/10" -- 5 answers and 10 comments and sort by sum of these numbers. But that is just an idea.
go to post Alexander Koblov · Jun 7, 2016 Also on some sites (reddit, for example) comments/answers can be sorted not only by date but also by votes. As an example, see https://www.reddit.com/r/announcements/comments/4mv578/affiliate_links_o...
go to post Alexander Koblov · Jun 7, 2016 Also it would be interesting to sort by Views column to see the most viewed article.
go to post Alexander Koblov · Jun 7, 2016 Hi Paul. Compact view is great. With it I can see sixteen topics on one screen instead of four. What I would like to see is links instead of ajax buttons. For example, I want to bookmark compact view of unanswered posts. I've tried linking to https://community.intersystems.com/?filter=unanswered, but that is just a JSON content.
go to post Alexander Koblov · Jun 3, 2016 I think googling "encoding heuristics" should help. For example, https://gist.github.com/TaoK/945127
go to post Alexander Koblov · May 27, 2016 As far as I know office365.com requires STARTTLS that is supported as UseSTARTTLS property of %Net.SMTP starting with Cache 2010.2
go to post Alexander Koblov · May 23, 2016 Thank you Jose-Tomas. As I understand (please see last three paragraphs of "Cyrillic4, Cyrillic3, and umlauts" section), Spanish language has some specific collation rules and satisfying these rules require more general (and complex) algorithm than sorting two strings based on individual character codes. That is why Spanish collations are slower then Caché Standard. https://en.wikipedia.org/wiki/Alphabetical_order#Language-specific_conve... The more processing you application does besides looping with $Order/$Query and inserting data into global the less impact has collation performance. Running ^%SYS.MONLBL with globals/locals with different collation settings should give you more accurate performance data.
go to post Alexander Koblov · May 20, 2016 strace ccontrol list on my Ubuntu shows that ccontrol looks in file /usr/local/etc/cachesys/cache.reg