In SAS Information Delivery Portal 4.2 M2 using SAS 9.2 I have a refresh button that when clicked refreshes the portlet based on html dropdown boxes.
I found that if I add the lines
PUT "<FORM METHOD='POST' ACTION='https://myseverver/SASStoredProcess/do'>";
And
PUT "<input type='hidden' name='_program' value='My folder path/StoredProcessName' />";
That I do not need to have the user log into SAS a second time when they click the refresh button and my current stored process opens over itself. I want to add a help link that loads a separate stored process that opens in the same portlet as the current stored process (just like the refresh button). Is there a way I can do the same with an image link? If I just use a standard HTML link it will make the user login a second time. Effectively I need to use something like the value = that I used with the button.
I recalled that the double sign in was solved by using a URL Display Portlet working on the image link.
A second problem with a direct URL link is that it will open a new window where as my refresh button overwrites the current portlet.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.