<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Link to two Locations Inside of Stored Process in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224463#M8157</link>
    <description>&lt;P&gt;Inside of Information Delivery Portal via a Web URL Portlet.&amp;nbsp; I’m running into a problem where one of my forms has a Refresh button and a View All button.&amp;nbsp; The Refresh button reloads the same page based on a dropdown selection.&amp;nbsp; The View All button takes the user to another page and should pass the parameter of the updated dropdown, however the user has to hit the refresh button to update the parameter.&amp;nbsp; The reason is that the dropdown only saves its value on post back.&amp;nbsp; The original author of the page used one form object per button.&amp;nbsp; I think I could solve the issue using one form and buttons that have syntax like.&lt;/P&gt;&lt;P&gt;PUT "&amp;lt;button onclick=""window.location.href=""https://serverName/"@;&lt;/P&gt;&lt;P&gt;PUT "SASPortal/Director?_directive="@;&lt;/P&gt;&lt;P&gt;PUT "STPRun&amp;amp;_action=execute%nrstr(&amp;amp;_program)=/Reports/Research Dashboard/Monthly Expense Report"@;&lt;/P&gt;&lt;P&gt;PUT "%nrstr(&amp;amp;save_REPORT_MONTH=)&amp;amp;save_REPORT_MONTH""""/&amp;gt;View All Reports&amp;lt;/button&amp;gt;";&lt;/P&gt;&lt;P&gt;Oddly this syntax calls the second page without the updated dropdown value.&amp;nbsp; All of the documentation I am looking at for standard HTML states this should work.&amp;nbsp; Am I missing something obvious here?&amp;nbsp; Is there a simpler way to do this?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2015 17:56:22 GMT</pubDate>
    <dc:creator>DavidPhillips2</dc:creator>
    <dc:date>2015-09-08T17:56:22Z</dc:date>
    <item>
      <title>Link to two Locations Inside of Stored Process</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224463#M8157</link>
      <description>&lt;P&gt;Inside of Information Delivery Portal via a Web URL Portlet.&amp;nbsp; I’m running into a problem where one of my forms has a Refresh button and a View All button.&amp;nbsp; The Refresh button reloads the same page based on a dropdown selection.&amp;nbsp; The View All button takes the user to another page and should pass the parameter of the updated dropdown, however the user has to hit the refresh button to update the parameter.&amp;nbsp; The reason is that the dropdown only saves its value on post back.&amp;nbsp; The original author of the page used one form object per button.&amp;nbsp; I think I could solve the issue using one form and buttons that have syntax like.&lt;/P&gt;&lt;P&gt;PUT "&amp;lt;button onclick=""window.location.href=""https://serverName/"@;&lt;/P&gt;&lt;P&gt;PUT "SASPortal/Director?_directive="@;&lt;/P&gt;&lt;P&gt;PUT "STPRun&amp;amp;_action=execute%nrstr(&amp;amp;_program)=/Reports/Research Dashboard/Monthly Expense Report"@;&lt;/P&gt;&lt;P&gt;PUT "%nrstr(&amp;amp;save_REPORT_MONTH=)&amp;amp;save_REPORT_MONTH""""/&amp;gt;View All Reports&amp;lt;/button&amp;gt;";&lt;/P&gt;&lt;P&gt;Oddly this syntax calls the second page without the updated dropdown value.&amp;nbsp; All of the documentation I am looking at for standard HTML states this should work.&amp;nbsp; Am I missing something obvious here?&amp;nbsp; Is there a simpler way to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 17:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224463#M8157</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-09-08T17:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Link to two Locations Inside of Stored Process</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224498#M8158</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;I’m looking at redirect options.&amp;nbsp; Once I figure this out I’ll add logic to reload the page and do this under a condition if a button is pressed.&amp;nbsp; It seems the redirect syntax is slight different when using SAS.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;%macro javaScriptFunctions;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;data _null_ ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;file _webout ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;put 'script type="text/JavaScript"' ;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;put "function viewAll() {";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;put "var newPage = window.location.href + ""servername/"@;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;put "SASPortal/Director?_directive=STPRun&amp;amp;_action=execute&amp;amp;_program=/Reports/Research Dashboard/Monthly Expense Report"@;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;put "&amp;amp;ACCOUNT_INDEX=ALL&amp;amp;save_REPORT_YEAR=2015&amp;amp;save_REPORT_MONTH=5"";";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;put "window.location.replace(newPage);";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;put "}";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;put "&amp;lt;/script&amp;gt;";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;run ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;%mend;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;%javaScriptFunctions;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;this results in parameter error&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Invalid _action value: execute/Reports/reportName=/Reports/reportName2.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;BTW, there is a major bug in the new forum where you can't post HTML.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 20:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224498#M8158</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-09-08T20:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Link to two Locations Inside of Stored Process</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224517#M8160</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;After changing my spaces to + I got the error&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Invalid _action value: &lt;/FONT&gt;&amp;nbsp; &lt;FONT size="3"&gt;one step closer.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;This article seems relivent.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;A href="http://support.sas.com/kb/20/154.html" target="_blank"&gt;http://support.sas.com/kb/20/154&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 21:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224517#M8160</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-09-08T21:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Link to two Locations Inside of Stored Process</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224811#M8167</link>
      <description>&lt;P&gt;I followed the article&amp;nbsp;&lt;A href="http://support.sas.com/kb/20/154.html." target="_blank"&gt;http://support.sas.com/kb/20/154.html.&lt;/A&gt; &amp;nbsp;I used the same syntax on the redirect I receive a prompt screen filled with the prompts that I sent appended with the &amp;amp; signs. &amp;nbsp;After I click run my stored process runs. &amp;nbsp;How do I skip the prompt screen?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 18:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224811#M8167</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-09-09T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Link to two Locations Inside of Stored Process</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224845#M8168</link>
      <description>&lt;P&gt;Added to Dropdowns:&lt;/P&gt;&lt;P&gt;onchange='this.form.submit()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you did need to redirect for some reason _action=execute skips the parameters.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 20:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Link-to-two-Locations-Inside-of-Stored-Process/m-p/224845#M8168</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-09-09T20:41:50Z</dc:date>
    </item>
  </channel>
</rss>

