Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #443 support more ${...} variables in server menu links #444

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

gjsjohnmurray
Copy link
Contributor

This PR fixes #443

New variables are:

  • ${serverUrl} - for example http://localhost:52773
  • ${serverAuth} - for example &IRISUsername=_SYSTEM&IRISPassword=SYS
  • ${ns} - the raw ns parameter of the connection. Different from the already-defined ${namespace} variable.

An example of how the new capabilities can launch WebTerminal:

    "objectscript.conn": {
        "server": "vscodelab",
        "ns": "%SYS",
        "active": true,
        "links": {
            "$(terminal) WebTerminal": "${serverUrl}/terminal/?ns=${ns}${serverAuth}"
        }
    }

@gjsjohnmurray gjsjohnmurray merged commit 4a87c21 into intersystems-community:master Oct 27, 2020
@gjsjohnmurray gjsjohnmurray deleted the fix-443 branch October 27, 2020 14:32
@gjsjohnmurray gjsjohnmurray mentioned this pull request Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow objectscript.conn.links to add IRISUsername and IRISPassword queryparams
2 participants