Thank you, guys! This really helps when you have several running containers simultaneously and don't know what port of Management Portal relates to a certain terminal.
Maybe it's not a bad idea to display the port in a Terminal prompt along with Namespace if this is possible at all.
Am I reading it wrong? Dont see port number anywhre
2 - Namespace name. For example, %SYS>. The current namespace name is contained in the $NAMESPACE special variable. It can be an explicit namespace name or an implied namespace name.
3 - Config name. The name of your system installation. For example, IRIS2>. This is the same for all of your terminal processes
It turned out that VSCode-ObjectScript if is connected to IRIS, has the option to open Management Portal related to the current window of VSCode. Nice job, @Dmitriy Maslennikov.
Important note: it should be noted that the proposed solutions refer only to the port of the private web server, which may not even be installed.
In the case of an external web server, this is not possible.
Hi Evegeny,
I found nothing sophisticated but very straight.
just from any namespace or routine / method.
If we're playing Caché/IRIS Golf, then @Robert Cemper is in the lead
Thank you, guys! This really helps when you have several running containers simultaneously and don't know what port of Management Portal relates to a certain terminal.
Maybe it's not a bad idea to display the port in a Terminal prompt along with Namespace if this is possible at all.
Your terminal prompt can be configured to display the instance.
see TerminalPrompt eg. config>namespace>
and you name your config "SMP<portnumber>" which should be valid.
eventually only "<portnumber> " might do it as well.
On the page System Administration > Configuration > Additional Settings > Startup, in the TerminalPrompt row, select Edit.
on WIN the config name is burned into the registry
Computer\HKEY_CURRENT_USER\Software\InterSystems\Cache\Configurations\......
UNIX/Linux has some structure simulating Win_Registry. Support experts will know the details.
Am I reading it wrong? Dont see port number anywhre
2 - Namespace name. For example, %SYS>. The current namespace name is contained in the $NAMESPACE special variable. It can be an explicit namespace name or an implied namespace name.
3 - Config name. The name of your system installation. For example, IRIS2>. This is the same for all of your terminal processes
I stated:
name your config SMP<port> that is SMP57772 or just 57772
then the config name reflects the SMP port
Just add this to %ZLANGC00.mac:
Or This:
Why waste valuable Prompt characters?
Thanks to @Herman Slagman and @Robert Cemper for letting me blatantly steal their ideas
Wouldn't help, as terminals would report internal container port, which is always 52773.
o yeah!
one pupose of containers is to have them IDENTIC
Right.
It turned out that VSCode-ObjectScript if is connected to IRIS, has the option to open Management Portal related to the current window of VSCode. Nice job, @Dmitriy Maslennikov.
I think IRIS studio has that feature too under UTILITIES
Important note: it should be noted that the proposed solutions refer only to the port of the private web server, which may not even be installed.
In the case of an external web server, this is not possible.
You can check to see if the internal web server is enabled with:
Social networks
InterSystems resources
To leave a comment or answer to post please log in
Please log in
To leave a post please log in