You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ${filename} because that substitution is not supported.
You can't use ${classname} because hello.csp is not a class file, so classname is empty. Trying this prevents the link from appearing at all.
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".
// Skip link if it requires a filename and we don't currently have one
if (filename == "" && (rawLink.includes("${filename}") || rawLink.includes("${filenameEncoded}"))) {
continue;
}
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:
The text was updated successfully, but these errors were encountered: