Open isc-solon opened 2 months ago
@isc-solon I'm treating this as a request for "View Web Page" functionality. I'll discuss this with Raj.
@isc-solon consider promoting this idea here: https://community.intersystems.com/post/3rd-intersystems-ideas-contest
Consider the two custom "links" below.
These links are a way to replicate the "View Web Page" button in InterSystems Studio. They both appear when clicking the connection info in the status bar, and they both work. But notice that the CSP link is specific to the "hello.csp" page. There's no way to make it generic like the Zen link. That's because:
You can't use View Other to view the corresponding class and then use the Zen link to launch that because the class uses CSPURL to prevent using the .cls extension.
I searched Issues to see if this ability has been requested and I couldn't find anything. So maybe it's not worth doing. But if
serverActions.ts
had code something like the code below, a generic link like this would work "${serverUrl}/csp/${namespace}/${filename}.csp".and:
and: