<?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: Custom Footer - Report Viewer in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/281116#M2199</link>
    <description>&lt;P&gt;I think that the stored process is a good idea. You could use code similar to this. This link has the list of reserved macros:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/stpug/68399/HTML/default/viewer.htm#p184mqqbi9w6qjn1q0619x19eg02.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/stpug/68399/HTML/default/viewer.htm#p184mqqbi9w6qjn1q0619x19eg02.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;*ProcessBody;
%stpbegin;

data t; 
user_details = "Query submitted by - &amp;amp;_METAPERSON "; 
run; 
proc report data = t nowd noheader style =[bordercolor=white cellwidth=700 ] 
style(column)=[font_weight =bold font_style=italic] ; 
title; 
run; 

%stpend;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here it is in a report (bottom left)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG title="sample_footer.jpg" alt="sample_footer.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/3839iC35A79C63853A79C/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12708i000B2517D317E944/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sample_footer.jpg" title="sample_footer.jpg" /&gt;</description>
    <pubDate>Wed, 29 Jun 2016 14:30:18 GMT</pubDate>
    <dc:creator>Madelyn_SAS</dc:creator>
    <dc:date>2016-06-29T14:30:18Z</dc:date>
    <item>
      <title>Custom Footer - Report Viewer</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/280927#M2196</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have a requirement , wherein as part of the footer we need to showcase the user who is viewing the report,&amp;nbsp; GIven that we know that the same is not availbale OOTB, we thought that we would have an STP capture the same and display in the lower section of the report,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts of a better way to do so. Please let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;Ron&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 21:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/280927#M2196</guid>
      <dc:creator>Ronny_Dsouza</dc:creator>
      <dc:date>2016-06-28T21:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Footer - Report Viewer</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/281116#M2199</link>
      <description>&lt;P&gt;I think that the stored process is a good idea. You could use code similar to this. This link has the list of reserved macros:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/stpug/68399/HTML/default/viewer.htm#p184mqqbi9w6qjn1q0619x19eg02.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/stpug/68399/HTML/default/viewer.htm#p184mqqbi9w6qjn1q0619x19eg02.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;*ProcessBody;
%stpbegin;

data t; 
user_details = "Query submitted by - &amp;amp;_METAPERSON "; 
run; 
proc report data = t nowd noheader style =[bordercolor=white cellwidth=700 ] 
style(column)=[font_weight =bold font_style=italic] ; 
title; 
run; 

%stpend;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here it is in a report (bottom left)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG title="sample_footer.jpg" alt="sample_footer.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/3839iC35A79C63853A79C/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12708i000B2517D317E944/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sample_footer.jpg" title="sample_footer.jpg" /&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/281116#M2199</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2016-06-29T14:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Footer - Report Viewer</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/281221#M2200</link>
      <description>&lt;P&gt;Yup, thats the approach we have kept it so far, the only drawback is we loose the synchronization among all the objects in the report.&amp;nbsp; anyways we can retain that functionality along with the STP presence.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 18:47:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/281221#M2200</guid>
      <dc:creator>Ronny_Dsouza</dc:creator>
      <dc:date>2016-06-29T18:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Footer - Report Viewer</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/281248#M2201</link>
      <description>&lt;P&gt;You cannot synchronize as long as the section includes a stored process. Another possible workaround is to edit the information map to add a character data item with the expression: &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;scan("&amp;amp;_METAUSER",1,'@')&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, hide that data item in all objects, placing it in a list table at the bottom of the report.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="sample_footer_2.jpg" alt="sample_footer_2.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/3841i75EABE40FA56A2AB/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 19:41:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Custom-Footer-Report-Viewer/m-p/281248#M2201</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2016-06-29T19:41:09Z</dc:date>
    </item>
  </channel>
</rss>

