<?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: stored process and alternate style question in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/374512#M7597</link>
    <description>&lt;P&gt;Hi Tricia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see on the picture in my last attachment, there is on line (this where the years are written) which is really in white thanks to the SAS code in bold :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; P "My Years : ^{style[FONT_WEIGHT=BOLD]N = &amp;amp;YearA.} and ^{style[FONT_WEIGHT=BOLD]N-1 = &amp;amp;YearB.}" / style=[JUST=left&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FONT_SIZE=9PT FONT_FACE='Arial' COLOR=#000000 &lt;STRONG&gt;BACKGROUNDCOLOR=#FFFFFF&lt;/STRONG&gt;];&lt;/P&gt;&lt;P&gt;The rest of the background of the stored process container is in a kind of grey.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that this stored process container is between two text containers which have really white backgrounds. I mean that the difference of backgrounds is blatant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to VA, the style of my background's container must be white. If you see my tests in attachment (cf. attachment : "&lt;EM&gt;Stored process styles.png&lt;/EM&gt;" / ['Arrière-plan'=Background, yes I'm French]), you'll see that VA-style isn't in control of the stored process background color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I therefore conclude that the background color of my stored process container must be changed by the SAS code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you see something wrong in the SAS code that I've written in the pasted post?&lt;/P&gt;&lt;P&gt;Do you have an example which is working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SamQ&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/14060iB88617D12594BB60/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Stored process styles.png" title="Stored process styles.png" /&gt;</description>
    <pubDate>Mon, 10 Jul 2017 14:12:09 GMT</pubDate>
    <dc:creator>SamQ</dc:creator>
    <dc:date>2017-07-10T14:12:09Z</dc:date>
    <item>
      <title>stored process and alternate style question</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/373183#M7529</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using SAS VA Viewer 7.3.&lt;/P&gt;&lt;P&gt;I'm working with a basic stored process which shows one sentence with the current year and the passed year thanks to macro-variables in the SAS code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that I've tried everything to put the color of the background in white. But nothing works! It stills in grey.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[...]&lt;BR /&gt;PROC TEMPLATE;&lt;BR /&gt;&amp;nbsp; DEFINE STYLE styles.Myyears;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PARENT=styles.minimal;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STYLE Body from Body /&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOPMARGIN = 0px&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOTTOMMARGIN = 0px&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RIGHTMARGIN = 0px&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFTMARGIN = 0px&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; BACKGROUND=cxFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; BACKGROUNDCOLOR=cxFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERWIDTH=0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERCOLOR=cxFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERTOPSTYLE=solid&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERTOPCOLOR=cxFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERTOPWIDTH=0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERLEFTSTYLE=solid&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERLEFTCOLOR=cxFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERLEFTWIDTH=0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERRIGHTSTYLE=solid&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERRIGHTCOLOR=cxFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERRIGHTWIDTH=0;&lt;BR /&gt;&amp;nbsp; END;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;ODS ESCAPECHAR='^';&lt;BR /&gt;ODS LISTING CLOSE;&lt;BR /&gt;ODS PATH r_perso.tmplmst(update) sasuser.tmplmst(read) sashelp.tmplmst(read);&lt;BR /&gt;ODS HTML style=styles.Myyears OPTIONS(PAGEBREAK="no");&lt;BR /&gt;PROC ODSTEXT;&lt;BR /&gt;&amp;nbsp; P "My Years : ^{style[FONT_WEIGHT=BOLD]N = &amp;amp;YearA.} and ^{style[FONT_WEIGHT=BOLD]N-1 = &amp;amp;YearB.}" / style=[JUST=left FONT_SIZE=9PT FONT_FACE='Arial' COLOR=#000000 BACKGROUNDCOLOR=#FFFFFF];&lt;BR /&gt;RUN;&lt;BR /&gt;ODS HTML CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, see the result in attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be very grateful for any advices to put the whole background in white.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SamQ&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/14037i8BEF9149799BDEAD/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Stored process background color.png" title="Stored process background color.png" /&gt;</description>
      <pubDate>Wed, 05 Jul 2017 09:11:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/373183#M7529</guid>
      <dc:creator>SamQ</dc:creator>
      <dc:date>2017-07-05T09:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: stored process and alternate style question</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/374247#M7588</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like your background color &lt;EM&gt;is&lt;/EM&gt; white. &amp;nbsp;I think your stored process is in a container and SAS VA is controlling the page color.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does the rest of your SAS VA report use a gray background?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've read some different posts that talk about the stored process server not honoring templates.&lt;/P&gt;
&lt;P&gt;Here's one:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Stored-Processes/Using-custom-style-in-stored-process/td-p/4979" target="_blank"&gt;https://communities.sas.com/t5/SAS-Stored-Processes/Using-custom-style-in-stored-process/td-p/4979&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 11:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/374247#M7588</guid>
      <dc:creator>TriciaAanderud</dc:creator>
      <dc:date>2017-07-09T11:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: stored process and alternate style question</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/374512#M7597</link>
      <description>&lt;P&gt;Hi Tricia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see on the picture in my last attachment, there is on line (this where the years are written) which is really in white thanks to the SAS code in bold :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; P "My Years : ^{style[FONT_WEIGHT=BOLD]N = &amp;amp;YearA.} and ^{style[FONT_WEIGHT=BOLD]N-1 = &amp;amp;YearB.}" / style=[JUST=left&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FONT_SIZE=9PT FONT_FACE='Arial' COLOR=#000000 &lt;STRONG&gt;BACKGROUNDCOLOR=#FFFFFF&lt;/STRONG&gt;];&lt;/P&gt;&lt;P&gt;The rest of the background of the stored process container is in a kind of grey.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that this stored process container is between two text containers which have really white backgrounds. I mean that the difference of backgrounds is blatant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to VA, the style of my background's container must be white. If you see my tests in attachment (cf. attachment : "&lt;EM&gt;Stored process styles.png&lt;/EM&gt;" / ['Arrière-plan'=Background, yes I'm French]), you'll see that VA-style isn't in control of the stored process background color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I therefore conclude that the background color of my stored process container must be changed by the SAS code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you see something wrong in the SAS code that I've written in the pasted post?&lt;/P&gt;&lt;P&gt;Do you have an example which is working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SamQ&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/14060iB88617D12594BB60/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Stored process styles.png" title="Stored process styles.png" /&gt;</description>
      <pubDate>Mon, 10 Jul 2017 14:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/374512#M7597</guid>
      <dc:creator>SamQ</dc:creator>
      <dc:date>2017-07-10T14:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: stored process and alternate style question</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/386042#M7819</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found the solution, thanks to a colleague.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking the html code resulting to the execution of the stored process via a shell command on Unix, we realized that the problem came from the stored process macros&amp;nbsp;%STPBEGIN and %STPEND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, they have some default options which affect the ODS output, in my case : the background color of the body's ODS output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are many options we can settle (cf. &lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/stpmacro.html" target="_self"&gt;http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/stpmacro.html&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I've created a style with the desired attributes, a white background color among others, and I've modified the macro _ODSSTYLE in order to be equal to my new style :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC TEMPLATE;&lt;BR /&gt;&amp;nbsp; DEFINE STYLE styles.Myyears;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PARENT=styles.minimal;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STYLE Body from Body /&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOPMARGIN = 0px&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOTTOMMARGIN = 0px&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RIGHTMARGIN = 0px&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFTMARGIN = 0px&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BACKGROUND=cxFFFFFF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERTOPWIDTH=0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORDERCOLOR=cxFFFFFF;&lt;BR /&gt;&amp;nbsp; END;&lt;BR /&gt;RUN;&lt;BR /&gt;%let _ODSSTYLE=styles.Myyears;&lt;BR /&gt;%STPBEGIN;&lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;%STPEND;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see the result below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stored process white background color.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14359i3EFCF4606B6ED4E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Stored process white background color.png" alt="Stored process white background color.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SamQ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2017 14:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/stored-process-and-alternate-style-question/m-p/386042#M7819</guid>
      <dc:creator>SamQ</dc:creator>
      <dc:date>2017-08-07T14:49:57Z</dc:date>
    </item>
  </channel>
</rss>

