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

Provide Project and User parameters to Studio add-ins #1402

Merged

Conversation

gjsjohnmurray
Copy link
Contributor

Per https://docs.intersystems.com/ens201817/csp/docbook/DocBook.UI.Page.cls?KEY=GSTD_Templates#GSTD_template_arch a Studio add-in may expect Project and User in its %request object.

);
let params = `Namespace=${nsEncoded}`;
params += `&User=${encodeURIComponent(username)}`;
params += `&Project=${encodeURIComponent(project)}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't have a project (which will be most cases), should we not pass the parameter instead of passing it with an empty value? I don't know if that matters.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I have pushed a change to do that.

@gjsjohnmurray gjsjohnmurray merged commit 513f460 into intersystems-community:master Jul 22, 2024
5 checks passed
@gjsjohnmurray gjsjohnmurray deleted the orange-nightingale branch July 22, 2024 11:58
@gjsjohnmurray
Copy link
Contributor Author

Thanks for the approval. Shall we do a 2.12.6 release soon, since we've now reached beta.15?

@isc-bsaviano
Copy link
Contributor

Sure, I can create a PR. Should we do a server manager as well?

@gjsjohnmurray
Copy link
Contributor Author

Yes please.

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.

2 participants