go to post Robert Cemper · Sep 12, 2017 It's a little bit complicatedControlling the Use of Namespaceshttp://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Robert Cemper · Sep 11, 2017 I'm not sure this really your problem. It could be. The first TEST should be your Mgmt Portal.Language definitions are predefined and loaded at installation time.to change it later from Mgmt Portal: System > Configuration > Locale Definitions If you run on UNICODE it should be enough to change it to PTBW - Portuguese, Brasil, Unicode (comboBox)ending 8 = 8 bit encodedensing W = WIDE = UnicodeIf your system is any 8bit installation. Someone else may have an answer. It may cause some troubles on a running installation. I never touched this.
go to post Robert Cemper · Sep 11, 2017 my personal experience in management portal:changed my primary browser language from "de" to "en" and the portal followed at next browser start.So this might relate to ZEN somehow:Do you use the $$$TEXT equivalent of ZEN ? $$$TextJS, $$$FormatTextfor details and how-to see http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...Does your Caché NLS seting support pt-br ? (mine includes German DEUW)
go to post Robert Cemper · Sep 11, 2017 Rodrigo is right:http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?P...says: • property Language as %String; The language (RFC 1766 format) in which pages in this CSP session are to be displayed.The %session. Language attribute is used as the default language for csp:text, span and div tags if %response.Language is not set. If %session.Language is not set by the program, then it will default to the best fit with the HTTP_ ACCEPT_LANGUAGE CGI variable.
go to post Robert Cemper · Sep 11, 2017 Caché Programming Orientation Guide > Useful Skills to Learn > Browsing a Table Browsing a Table For basics on SQL: https://www.w3schools.com/sql/
go to post Robert Cemper · Sep 11, 2017 see docs:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Robert Cemper · Sep 8, 2017 it is a way to access a Cache method from .NET search online doc on .NET binding
go to post Robert Cemper · Sep 7, 2017 if you open BPL in Studio click here to switch to Class viewby program the code is found in class %Dictionary.XDataDefinitionProperty Data holds your XData as Streamhttp://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?P...to find the id you can useselect ID from %Dictionary.XDataDefinition where parent %startswith '<my class name>'
go to post Robert Cemper · Sep 7, 2017 see docshttp://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Robert Cemper · Sep 6, 2017 Pls. click Accepted answer to confirm solution BTW: We appreciate feedback too ! Thanks !
go to post Robert Cemper · Sep 6, 2017 The default for %String is MAXLEN=50 if you write in your definition %String(MAXLEN="") also in Method calls this should be enough. Query Methode(data1 As %Library.String(MAXLEN=""), data2 As %Library.String(MAXLEN=""), data3 As %Library.String(MAXLEN="")) As %Library.Query(CONTAINID = 1, ROWSPEC = "Result,Par2:%String") [ SqlProc ] and so on. Or you make you own data type inheriting %String overwriting Parameter MAXLEN="" Or just use %Library.VarString which makes just this MAXLEN=""http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?P... Query Methode(data1 As %LibraryVar.String, data2 As %Library.VarString, data3 As %Library.VarString) As %Library.Query(CONTAINID = 1, ROWSPEC = "Result,Par2:%VarString") [ SqlProc ] and so on.
go to post Robert Cemper · Sep 5, 2017 Last comment from Ken holds his final solution.use Class %Regex.Matcher it finds the control chars and can replace it .e.g. ""http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?A...
go to post Robert Cemper · Sep 5, 2017 http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...there isn't much doc around.it's also used for "Find in files"a little bit in debugginghttp://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Robert Cemper · Sep 4, 2017 double dot ..property is the shortcut for $this.property in instance methods.http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Robert Cemper · Aug 31, 2017 It's possible but counter productivesince: if you switch off journal this get's logged in Audit and generates at least 1 entry in journaland swicthing it back on for the rest of your application you get another entry.I just don't recommend things with negative impact on performance. Anyhow IF you insist it's your fate:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Robert Cemper · Aug 31, 2017 You may do it as well with SQLselect count(*) cnt , ID from ( select 'PERS' Typ, ID from %Dictionary.ClassDefinition where Super [ 'Persistent' union all select 'XML' Typ, ID from %Dictionary.ClassDefinition where Super [ 'XML.Adaptor')group by IDorder by cnt descResult : 2 both classes contained in classcntID2%BI.Blog2%BI.BlogPost2%BI.DashBoard2%BI.DetailList2%BI.DocMag2%BI.ImageList2%BI.KPI2%BI.ListField2%BI.Measure2%BI.PerfMet2%BI.PerfMetNode2%BI.PivotData2%BI.PivotTable
go to post Robert Cemper · Aug 31, 2017 For Regex you have $LOCATEhttp://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...$MATCHhttp://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...and %Regex.Matcherhttp://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?A...
go to post Robert Cemper · Aug 30, 2017 YES, map it to a namespace where Journal is disabledswitching on/of journalling at every write is overhead and fills the audit log that is journalled itself
go to post Robert Cemper · Aug 30, 2017 Dashboards are always fresh calculated.Compare the performance in .NET to IE. It should be rather close to each other being based on similar technology.If there is a significant difference then you dig at .NET end (buffers, ...)If Chrome is significant faster then IE it's most likely the faster JS engine in Chrome.Next you could look into global buffers of Caché and concurrent use of the Caché instance.And (rarely) the complexity of your dashboard