<?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: Outputting SAS EG Prompt metadata in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Outputting-SAS-EG-Prompt-metadata/m-p/455262#M29371</link>
    <description>&lt;P&gt;Afaik there is no way to get the metadata, when the egp is loaded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could unzip the egp and extract the data from project.xml, there is a tag called &amp;lt;Parameters&amp;gt; containing the complete definition of all prompts.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2018 15:43:41 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2018-04-18T15:43:41Z</dc:date>
    <item>
      <title>Outputting SAS EG Prompt metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Outputting-SAS-EG-Prompt-metadata/m-p/455219#M29363</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure if this is possible.&amp;nbsp; I am writing procedures on a project I created in EG and I would like to output the metadata of all the prompts.&amp;nbsp; I would need things like the Prompt name, default value, displayed test, description, etc...&amp;nbsp; I have easily gotten the prompt name and default value by&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Creating a blank program&lt;/LI&gt;&lt;LI&gt;Adding all of my EG prompts to it via the properties&lt;/LI&gt;&lt;LI&gt;Running the blank program&lt;/LI&gt;&lt;LI&gt;Copying the part of the&amp;nbsp;log that contains the %let statements for the prompt default values&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Is there a similar way to get things like the description, displayed text, prompt type, ect...?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 14:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Outputting-SAS-EG-Prompt-metadata/m-p/455219#M29363</guid>
      <dc:creator>hulksmash</dc:creator>
      <dc:date>2018-04-18T14:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Outputting SAS EG Prompt metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Outputting-SAS-EG-Prompt-metadata/m-p/455262#M29371</link>
      <description>&lt;P&gt;Afaik there is no way to get the metadata, when the egp is loaded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could unzip the egp and extract the data from project.xml, there is a tag called &amp;lt;Parameters&amp;gt; containing the complete definition of all prompts.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 15:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Outputting-SAS-EG-Prompt-metadata/m-p/455262#M29371</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-04-18T15:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Outputting SAS EG Prompt metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Outputting-SAS-EG-Prompt-metadata/m-p/455275#M29373</link>
      <description>&lt;P&gt;You can obtain at least some of this via EG Automation.&amp;nbsp; See this &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Doing-More-with-SAS-Enterprise-Guide-Automation/ta-p/417832" target="_self"&gt;article about automation in VBScript and PowerShell&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A prompt/param snippet for VBscript&amp;amp;colon;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;' discover the parameters
Set parmList = prjObject.Parameters
Wscript.Echo "Project has " &amp;amp; parmList.Count &amp;amp; " parameters."

' work with the first parameter
Set parm = parmList.Item(0)
WScript.Echo parm.Name &amp;amp; " parameter has default value of " &amp;amp; parm.DefaultValue&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Apr 2018 16:14:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Outputting-SAS-EG-Prompt-metadata/m-p/455275#M29373</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-04-18T16:14:59Z</dc:date>
    </item>
  </channel>
</rss>

