<?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 Getting graphics style properties on templates in EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36165#M4497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'd actually recommend that you work with Tech Support on this. It could be as simple getting your SAS administrator to put a copy of the desired style in the XML style definition that the middle tier uses. But, truly, the SAS-delivered STATISTICAL style should deliver the same results whether you are using EG or through a stored process (as long as the same version of SAS is being used). I think it is more likely that you are 1) either not providing the correct style override to use the STATISTICAL style in your stored process or 2) your SAS/GRAPH code has overrides which cancel out the style info from the template or .... ??? I think it would be easier for you (and probably shorter to debug in the long run) to start out by working with Tech Support instead of comparing style templates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 19:56:03 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-01-24T19:56:03Z</dc:date>
    <item>
      <title>Getting graphics style properties on templates in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36160#M4492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to retrieve style properties for SAS-supplied styles in EG?&amp;nbsp; Normally one could use the DM command ODSTEMPLATE but there isn't a DM in EG.&amp;nbsp; Wasn't able to find anything in the menu system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in both EG 4.1 adn 4.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 15:47:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36160#M4492</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2012-01-23T15:47:43Z</dc:date>
    </item>
    <item>
      <title>Getting graphics style properties on templates in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36161#M4493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is what you're looking for, in SAS EG, Tools&amp;gt; Style Manager, save a copy of the style somewhere you want and go play with that. It stores styles as CSS style sheets though I believe. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 17:19:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36161#M4493</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-01-23T17:19:59Z</dc:date>
    </item>
    <item>
      <title>Getting graphics style properties on templates in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36162#M4494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct, it does store it as a standard css.&amp;nbsp; But that will give me the opportunity to compare how 2 style sheets differ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The underlynig problem is the color selection is different between what's getting displayed in EG vs what appears on the Stored Process server in a web page.&amp;nbsp; This at least will give me a start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Reeza!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 17:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36162#M4494</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2012-01-23T17:46:11Z</dc:date>
    </item>
    <item>
      <title>Getting graphics style properties on templates in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36163#M4495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I believe that EG uses style EGDEFAULT for output (unless you change it), but that stored processes use the default style that's set for each client application for stored process results. So, for example, Web Report Studio might use the SEASIDE style and the Information Delivery Portal might surface the stored process using another style, like DEFAULT or HTMLBLUE, depending on your version of SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can override the style for MOST client applications (but not all) by using the following options in your stored process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%LET _ODSSTYLE=SASWEB;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%stpbegin;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;....stored process code;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%stpend;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the overrides to the style must occur BEFORE the %STPBEGIN macro invocation. In some instances, this may mean manually adding the overrides to your stored process code. And, not all client applications use the style template from &amp;amp;_ODSSTYLE reserved macro variable. For example, a client application like Web Report Studio only uses styles that are defined in the XML configuration on the middle tier for WRS. So you have to use other methods to change the style of stored process results that are going to be surfaced in WRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, to see the list of SAS Style Templates on your server, you can submit this code from within an EG code node:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc template;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; list styles;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 19:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36163#M4495</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-01-23T19:40:59Z</dc:date>
    </item>
    <item>
      <title>Getting graphics style properties on templates in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36164#M4496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information.&amp;nbsp; Looking at the templates procedure, I see I can decompile a template(aka, css stylesheet?).&amp;nbsp; I guess I need now to find where the (in this case) statistical style resides in the path EG uses and compare it to the one the web portal uses, then use the source statement to write out the definitions to the log file.&amp;nbsp; Then I can compare then to see if they use the same color mappings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this sound reasonable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 16:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36164#M4496</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2012-01-24T16:36:32Z</dc:date>
    </item>
    <item>
      <title>Getting graphics style properties on templates in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36165#M4497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'd actually recommend that you work with Tech Support on this. It could be as simple getting your SAS administrator to put a copy of the desired style in the XML style definition that the middle tier uses. But, truly, the SAS-delivered STATISTICAL style should deliver the same results whether you are using EG or through a stored process (as long as the same version of SAS is being used). I think it is more likely that you are 1) either not providing the correct style override to use the STATISTICAL style in your stored process or 2) your SAS/GRAPH code has overrides which cancel out the style info from the template or .... ??? I think it would be easier for you (and probably shorter to debug in the long run) to start out by working with Tech Support instead of comparing style templates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 19:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-graphics-style-properties-on-templates-in-EG/m-p/36165#M4497</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-01-24T19:56:03Z</dc:date>
    </item>
  </channel>
</rss>

