I think an External Link and a bit of JavaScript in a Stored Process may be the simplest solution for this. I'm not an expert in working with Stored Processes or JavaScript, but I was recently able to put something together that allows me to open a new browser tab to a url determined by an attribute of a GeoMap Object. I used the External Link to pass the selected attribute as a parameter to a stored process that contains script that opens the new browser tab. There is probably a more efficient way of doing this, but I used the location.replace function because the process was opening two new tabs when called. I believe one was the location of the Process itself and the second was the url that I wanted. For now, I just have two options hard-coded in an if-then statement in the script. Eventually I want to have this set up to reference a lookup table that inlude many more url's. Hope this helps. %global district;
data _null_;
file _webout;
if "&district" in ('COLUMBIA 93 (010093)') then
put "
<script>
function myFunction() {
location.replace('https://www.cpsk12.org/');
}
</script>
<body onload='myFunction()'>
</body>
";
else if
"&district" in ('JEFFERSON CITY (026006)') then
put "
<script>
function myFunction() {
location.replace('https://www.jcschools.us/');
}
</script>
<body onload='myFunction()'>
</body>
";
else
put "
<script>
function myFunction() {
location.replace('https://dese.mo.gov/');
}
</script>
<body onload='myFunction()'>
</body>
";
run;
... View more