Thank you Murray. These are great article series
- Log in to post comments
Thank you Murray. These are great article series
Why do you need this?
For example, for debugging purposes you might use second argument of Get method:
do request.Get(,1)
In that case "instead of connecting to a remote machine httprequest will just output what it would have send to the web server to the current device".
And you need to do this why? I mean what is the end goal? To show user some menu when they open Terminal?
You can specify "Startup Tag^Routine" for this purpose: http://docs.intersystems.com/cache201513/csp/docbook/DocBook.UI.Page.cls?KEY=GCAS_users#GCAS_users_userpropstbl
Hi Ed.
May I ask why do you need to do it?
Hi Nicki.
Delete menu item for packages should be back again in latest 2016.2 field test release -- build 605
Also, there is $system.OBJ.DeletePackage method: http://docs.intersystems.com/cache20152/csp/docbook/DocBook.UI.Page.cls?KEY=ITECHREF_package
Hi Joyce
No particular reason. I just wonder.
Great! Thank you Paul.
The first time a message is added to a domain by $$$Text, $$$SessionLanguage is used: http://docs.intersystems.com/cache20152/csp/docbook/DocBook.UI.Page.cls?KEY=GCSP_localization#GCSP_C199107
$$$SessionLanguage is determined by locale of current process, that is by default is the same as locale of Caché instance http://docs.intersystems.com/cache20152/csp/docbook/DocBook.UI.Page.cls?KEY=GSTU_customize#GSTU_customize_nls
Default locale for Caché instance is determined during installation based on OS locale. For example, on English Windows that has Russian in Regional Settings, Caché is installed with locale rusw (ruw8 for 8-bit installation). You can change locale after installation. There is no option to select locale during installation.
You can change current session language with ##class(%MessageDictionary).SetSessionLanguage("ru")
Good! Now it would be good if we would be able to sort comments based on rating (as on reddit)
Thank you, Jamie!
Thank you, Stefan!
Hi Blaise. There is query ErrorLog in %CSP.UI.System.BackgroundTask class so you can print errors like follows:
USER>do ##class(%ResultSet).RunQuery("%CSP.UI.System.BackgroundTask","ErrorLog",3932)
3932 here is task id.
And print errors to file:
USER>set file="c:\temp\sqlerrors.txt"
USER>open file:"NW":5
USER>use file do ##class(%ResultSet).RunQuery("%CSP.UI.System.BackgroundTask","ErrorLog",3932)
USER>close file
Notice that %CSP.UI.System.BackgroundTask is marked for internal use only.
I used it as follows: 
«And I want to be able to post new comments to any old post without any restriction.» I agree with this.
«I want to be able to edit my comment while topic is visible. At any time.» Why? If something is changed, so that comment is no longer relevant, you can post a new comment. If you made mistkae during posting -- you have 10 minutes to fix it.
I think you should not be able to delete comment or post. And you should have some time to edit comment (~10 minutes) after it was made.
What is the reason for deleting posts or comments?
Hi Dan.
I don't know of ways to have up-to-date Age as dimension.
You can have level property Age, that will be calculated at run-time (checkbox "Get value at runtime").
See for example, HomeD.City level, property Population at Patients cube in SAMPLES namespace.
Also, see "Defining Age Members" section in docs: http://docs.intersystems.com/cache20152/csp/docbook/DocBook.UI.Page.cls?KEY=D2MODEL_ch_calc#D2MODEL_calc_member_recipes_age_members
I usually go to Find -> Posts. I think this view sorts Posts by publication date
Hi Chip.
You can brand userportal per namespace
You can override branding in each particular dashboard.
I think the only way to have different branding for different logins for the same dashboard is to create new class that inherits from Dashboard viewer and assign properties companyName, companyLogo, companyStyle manually based on login