Your SAS programs, embedded in web apps and elsewhere

Opening a Different Stored Process Over a Portlet

Reply
Super Contributor
Posts: 477

Opening a Different Stored Process Over a Portlet

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.

Super Contributor
Posts: 477

Re: Opening a Different Stored Process Over a Portlet

I recalled that the double sign in was solved by using a URL Display Portlet working on the image link.

Super Contributor
Posts: 477

Re: Opening a Different Stored Process Over a Portlet

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.

Ask a Question
Discussion stats
  • 2 replies
  • 724 views
  • 0 likes
  • 1 in conversation