<?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 Re: How to create drop down and buttons on HTML? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14557#M2962</link>
    <description>I just started to get up-to-date with SAS 9.2. &lt;BR /&gt;
&lt;BR /&gt;
There seems to be a lot of improvements, also for dynamic and cascading prompts (Prompting Framework).&lt;BR /&gt;
&lt;BR /&gt;
I still think that if you want to use SAS EG to generate HTML output you will have to code dynamic prompts manually (may be further studies will teach me otherwise - but I would be very surprised).&lt;BR /&gt;
&lt;BR /&gt;
In case you have SAS Webreport Studio 4.2 at hand then this would give you heaps of options in regards of dynamic and cascading drop down lists.</description>
    <pubDate>Wed, 18 Nov 2009 00:35:54 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2009-11-18T00:35:54Z</dc:date>
    <item>
      <title>How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14550#M2955</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
Just wondering if anyone knows how to use Eguide to create drop down menu and buttons on a html page? &lt;BR /&gt;
&lt;BR /&gt;
Much Thanks&lt;BR /&gt;
Yennie</description>
      <pubDate>Tue, 10 Nov 2009 01:49:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14550#M2955</guid>
      <dc:creator>Yennie</dc:creator>
      <dc:date>2009-11-10T01:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14551#M2956</link>
      <description>I think you will have to code this, i.e:&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
  file 'c:\test.htm';&lt;BR /&gt;
&lt;BR /&gt;
  put  ''&lt;BR /&gt;
    /  ''&lt;BR /&gt;
    /  '&lt;BUTTON&gt; this is a button &lt;/BUTTON&gt;'&lt;BR /&gt;
    /  ''&lt;BR /&gt;
    /  ''&lt;BR /&gt;
  ;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Tue, 10 Nov 2009 05:42:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14551#M2956</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2009-11-10T05:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14552#M2957</link>
      <description>Hi Patrick, &lt;BR /&gt;
&lt;BR /&gt;
thank you so much for the code. However that is a button and I am trying to work create a drop down menu whereby users can select different products. &lt;BR /&gt;
&lt;BR /&gt;
Thanks so much for your help.&lt;BR /&gt;
&lt;BR /&gt;
cheers</description>
      <pubDate>Tue, 17 Nov 2009 22:10:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14552#M2957</guid>
      <dc:creator>Yennie</dc:creator>
      <dc:date>2009-11-17T22:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14553#M2958</link>
      <description>Are you expecting the "list" to be dynamic based on a current SAS file's variable content or are you intending to supply a static list of choices to generate the SAS code?  An important point to consider.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 17 Nov 2009 22:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14553#M2958</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-11-17T22:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14554#M2959</link>
      <description>Hi Scott, &lt;BR /&gt;
&lt;BR /&gt;
Yes I am expecting the "List" to be dynamic based on current SAS file's variable content. &lt;BR /&gt;
&lt;BR /&gt;
Thank you for your response!</description>
      <pubDate>Tue, 17 Nov 2009 22:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14554#M2959</guid>
      <dc:creator>Yennie</dc:creator>
      <dc:date>2009-11-17T22:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14555#M2960</link>
      <description>Hi:&lt;BR /&gt;
  Generally drop down menus are part of an HTML form. The method that Patrick showed you for generating a button would be the same technique you'd use for generating a form. Conceptually, you'd need to develop the HTML form first before you coded it with SAS. You need to:&lt;BR /&gt;
                                 &lt;BR /&gt;
1) understand the HTML needed for an HTML form and a select box&lt;BR /&gt;
2) understand what the form action should be&lt;BR /&gt;
3) code the HTML form to contain a select box and test the form action when various selections are made.&lt;BR /&gt;
for more information on HTML forms and select boxes, see:&lt;BR /&gt;
&lt;A href="http://www.w3schools.com/TAGS/tag_Select.asp" target="_blank"&gt;http://www.w3schools.com/TAGS/tag_Select.asp&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www.w3schools.com/TAGS/tag_form.asp" target="_blank"&gt;http://www.w3schools.com/TAGS/tag_form.asp&lt;/A&gt;&lt;BR /&gt;
(Select box example from w3schools site)&lt;BR /&gt;
[pre]&lt;BR /&gt;
&amp;lt;select&amp;gt;&lt;BR /&gt;
  &amp;lt;option value="volvo"&amp;gt;Volvo&amp;lt;/option&amp;gt;&lt;BR /&gt;
  &amp;lt;option value="saab"&amp;gt;Saab&amp;lt;/option&amp;gt;&lt;BR /&gt;
  &amp;lt;option value="mercedes"&amp;gt;Mercedes&amp;lt;/option&amp;gt;&lt;BR /&gt;
  &amp;lt;option value="audi"&amp;gt;Audi&amp;lt;/option&amp;gt;&lt;BR /&gt;
&amp;lt;/select&amp;gt; &lt;BR /&gt;
[/pre]&lt;BR /&gt;
           &lt;BR /&gt;
4) Once your "vanilla" HTML form is working, now you know how to code the DATA step program to generate the form with SAS. At this point, you could generate the select options from data set values (instead of hard-coding them for the test).&lt;BR /&gt;
5) Now you have to deploy and implement your SAS program that generates the HTML form. How do you plan to invoke the SAS program? Where will the SAS program live? How do you intend for your users to receive the results from the use of the HTML form with the drop down box? What SAS products/configurations/installations are needed to make this form work??? If you have one SAS program that generates the form, what is the form action going to be that returns the results??? A second SAS program? Some other program? &lt;BR /&gt;
&lt;BR /&gt;
Just a comment: this is the type of thing -- building an HTML form using SAS -- that is frequently done with the SAS/IntrNet product (and the Application Dispatcher or htmSQL) or with a Stored Process in the Information Delivery Portal.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 17 Nov 2009 22:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14555#M2960</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-11-17T22:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14556#M2961</link>
      <description>Personally, I have no experience with EG, however, having searched the SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt; website, there is discussion in the SUGI/SGF conference paper below, related to "dynamic populated menus".  References are made to differences with EG 4.1 and improved EG 4.2.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SAS® Stored Processes: Going Beyond the Current Capabilities of the&lt;BR /&gt;
Stored Process Wizard&lt;BR /&gt;
Joe Flynn, SAS Institute Inc., Cary, NC&lt;BR /&gt;
&lt;A href="https://support.sas.com/resources/papers/proceedings09/330-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings09/330-2009.pdf&lt;/A&gt;</description>
      <pubDate>Tue, 17 Nov 2009 22:51:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14556#M2961</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-11-17T22:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14557#M2962</link>
      <description>I just started to get up-to-date with SAS 9.2. &lt;BR /&gt;
&lt;BR /&gt;
There seems to be a lot of improvements, also for dynamic and cascading prompts (Prompting Framework).&lt;BR /&gt;
&lt;BR /&gt;
I still think that if you want to use SAS EG to generate HTML output you will have to code dynamic prompts manually (may be further studies will teach me otherwise - but I would be very surprised).&lt;BR /&gt;
&lt;BR /&gt;
In case you have SAS Webreport Studio 4.2 at hand then this would give you heaps of options in regards of dynamic and cascading drop down lists.</description>
      <pubDate>Wed, 18 Nov 2009 00:35:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14557#M2962</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2009-11-18T00:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create drop down and buttons on HTML?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14558#M2963</link>
      <description>Hi, Scott:&lt;BR /&gt;
  You're absolutely on target. If we went down into the Stored Process world and the BI Platform, there would be no need to code your own drop down box or your own "menus". Stored Processes that have parameters use the EG or the WRS or the SAS Add-in capabilities to prompt the user with a drop-down box or a radio button or whatever is appropriate.&lt;BR /&gt;
 &lt;BR /&gt;
  You can build choices based on variable values. And with SAS 9.2 and the Platform, you can implement stored processes with cascading and dynamic prompts. It is very cool stuff, indeed.&lt;BR /&gt;
 &lt;BR /&gt;
  However, with no information about whether this was a simple client/server install or whether it was a Platform usage of EG or whether we were dealing with a local install of SAS with a local install of EG, there were almost too many possibilities for the answer. Even more possibilities if someone was developing programs in EG for the programs to be used with SAS/IntrNet.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 18 Nov 2009 01:15:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-drop-down-and-buttons-on-HTML/m-p/14558#M2963</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-11-18T01:15:59Z</dc:date>
    </item>
  </channel>
</rss>

