<?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: Publishing a SAS Report from EG  4.2 to wrs 4.2 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Publishing-a-SAS-Report-from-EG-4-2-to-wrs-4-2/m-p/38695#M4685</link>
    <description>In your ODS statements, the stylesheet reference is a location on your "local" machine:&lt;BR /&gt;
&lt;BR /&gt;
"file:///C:\inetpub\wwwroot\BIClientStyles\AMODefault.css"&lt;BR /&gt;
&lt;BR /&gt;
And there is no "AMDDefault" ODS style built into SAS, so unless the report viewer can find the CSS file, your style won't be the version you want.&lt;BR /&gt;
&lt;BR /&gt;
If you use SAS Report format (not HTML) and publish the report to the Report Repository (using EG), EG should fix up that style reference for you.&lt;BR /&gt;
&lt;BR /&gt;
Otherwise, you might consider placing a copy of the style that you want on a web server, and then changing the stylesheet reference accordingly.  Example:&lt;BR /&gt;
&lt;BR /&gt;
ods html &lt;BR /&gt;
STYLE=AMODefault STYLESHEET=(URL="http://myserver.mycompany.com/styles/AMODefault.css");&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
    <pubDate>Mon, 28 Mar 2011 12:38:06 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2011-03-28T12:38:06Z</dc:date>
    <item>
      <title>Publishing a SAS Report from EG  4.2 to wrs 4.2</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Publishing-a-SAS-Report-from-EG-4-2-to-wrs-4-2/m-p/38694#M4684</link>
      <description>Hi,&lt;BR /&gt;
I published a SAS Report from SAS Enterprise Guide to SAS Web Report Studio.&lt;BR /&gt;
&lt;BR /&gt;
My Problem is when i open the portal/wrs, the sas style is diffrent from the style in the EG.&lt;BR /&gt;
I want to see get the AMODefault style.&lt;BR /&gt;
&lt;BR /&gt;
If I'm using  the url portlret instead of the publish option it works fine&lt;BR /&gt;
&lt;BR /&gt;
any suggestions ?&lt;BR /&gt;
&lt;BR /&gt;
Example of my report:&lt;BR /&gt;
&lt;BR /&gt;
ods html &lt;BR /&gt;
        STYLE=AMODefault STYLESHEET=(URL="file:///C:\inetpub\wwwroot\BIClientStyles\AMODefault.css");&lt;BR /&gt;
proc report data = m_m_2 ;&lt;BR /&gt;
title1 'דוח התחשבנות חוזי ברמת חברה';&lt;BR /&gt;
column Hevra Premiums Commissions 'Paid Claims'n 'Premium Reserve Retained'n 'Premium Reserve Released'n 'Interest On Deposit'n  'Tax On Interest'n Balance Outstanding;&lt;BR /&gt;
	define Hevra/format=$n_hevra. group;&lt;BR /&gt;
	define Premiums / sum format=comma10.;&lt;BR /&gt;
	define Commissions / sum format=comma10.;&lt;BR /&gt;
	define 'Paid Claims'n / sum format=comma10. 'Paid Claims';&lt;BR /&gt;
	define 'Premium Reserve Retained'n / sum format=comma10. 'Premium Reserve Retained';&lt;BR /&gt;
	define 'Premium Reserve Released'n / sum format=comma10. 'Premium Reserve Released';&lt;BR /&gt;
	define 'Interest On Deposit'n / sum format=comma10. 'Interest On Deposit';&lt;BR /&gt;
	define 'Tax On Interest'n / sum format=comma10. 'Tax On Interest';&lt;BR /&gt;
	define Balance / sum format=comma10.;&lt;BR /&gt;
	define Outstanding / sum format=comma10.;&lt;BR /&gt;
	title2 "&amp;amp;title";&lt;BR /&gt;
	compute before _page_;&lt;BR /&gt;
		text1="&amp;amp;date_report	                                                                              Mid Quarter $1=NIS &amp;amp;Mid_Quarter    ";&lt;BR /&gt;
		line text1 $;&lt;BR /&gt;
		text2=" ";&lt;BR /&gt;
		line text2 $;&lt;BR /&gt;
	endcomp;&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods html close;</description>
      <pubDate>Sun, 27 Mar 2011 08:42:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Publishing-a-SAS-Report-from-EG-4-2-to-wrs-4-2/m-p/38694#M4684</guid>
      <dc:creator>yonib</dc:creator>
      <dc:date>2011-03-27T08:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a SAS Report from EG  4.2 to wrs 4.2</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Publishing-a-SAS-Report-from-EG-4-2-to-wrs-4-2/m-p/38695#M4685</link>
      <description>In your ODS statements, the stylesheet reference is a location on your "local" machine:&lt;BR /&gt;
&lt;BR /&gt;
"file:///C:\inetpub\wwwroot\BIClientStyles\AMODefault.css"&lt;BR /&gt;
&lt;BR /&gt;
And there is no "AMDDefault" ODS style built into SAS, so unless the report viewer can find the CSS file, your style won't be the version you want.&lt;BR /&gt;
&lt;BR /&gt;
If you use SAS Report format (not HTML) and publish the report to the Report Repository (using EG), EG should fix up that style reference for you.&lt;BR /&gt;
&lt;BR /&gt;
Otherwise, you might consider placing a copy of the style that you want on a web server, and then changing the stylesheet reference accordingly.  Example:&lt;BR /&gt;
&lt;BR /&gt;
ods html &lt;BR /&gt;
STYLE=AMODefault STYLESHEET=(URL="http://myserver.mycompany.com/styles/AMODefault.css");&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Mon, 28 Mar 2011 12:38:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Publishing-a-SAS-Report-from-EG-4-2-to-wrs-4-2/m-p/38695#M4685</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2011-03-28T12:38:06Z</dc:date>
    </item>
  </channel>
</rss>

