BookmarkSubscribeRSS Feed
msalam92
Calcite | Level 5

Hi all, 

 

I was wondering if there is a way in SAS VA that allows link redirection? 

 

To give some more context; I am trying to develop a solution that can toggle between two different links. 

 

1. User goes to SAS VA report (link 1). 

2. SAS automatically redirects user to a secondary (link2). 

 

Hope this makes sense. 

Your feedback is greatly appreciated. 

 

5 REPLIES 5
FredrikE
Rhodochrosite | Level 12

Hi!

I don't think you can do it directly without user interaction.

How about using another first page, like a standard html which will do the redirection?

//Fredrik

34reqrwe
Quartz | Level 8

I have done something similar - a front page that contains a link . I edit that link depending on which target we want users to go to that day.

msalam92
Calcite | Level 5

Can you please explain how you did it?

34reqrwe
Quartz | Level 8

(Using VA8.2 on Viya)

 

Create new report , add text box , add URL link . 

 

Edit that link as neccessary depending on whether I want users to go to URL1 or URL2.

JuanS_OCS
Amethyst | Level 16
Hello,

by default, link redirection is not in SAS VA, however there are a few methods, probably not officially supported, that can make it work:

1. The main .htaccess file or the Web Server (the SAS one or an external reverse proxy), can identify certain URL patterns and execute custom redirections.

2. If you can write the contents of a stored process, or a web service, in a report, that code can contain a JavaScript code which can redirect

I can imagine several web standard and other creative methods, which will work.

Just be aware of the fact that, if you have a question or an issue with such customizations, SAS Technical Support might see limitations at the hour of offering you help.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1551 views
  • 1 like
  • 4 in conversation