The SAS Output Delivery System and reporting techniques

stored process and alternate style question

Accepted Solution Solved
Reply
Contributor
Posts: 24
Accepted Solution

stored process and alternate style question

I have a stored process that is viewd on an EBI web server and it uses the default PLATEAU style , like this below:

 

<head>
<meta name="Generator" content="SAS Software Version 9.4, see www.sas.com">
<meta http-equiv="Content-type" content="text/html">
<title>SAS Output</title>
<style type="text/css">
<!--
.aftercaption
{
  background-color: #FAFBFE;
  border-spacing: 0px;
  color: #112277;
  font-family: Arial, 'Albany AMT', Helvetica, Helv;
  font-size: x-small;
  font-style: normal;
  font-weight: bold;
  padding-top: 4pt;
}
.batch
{
  background-color: #FAFBFE;
  border: 1px solid #C1C1C1;
  border-collapse: separate;
  border-spacing: 1px;
  color: #000000;
  font-family: 'SAS Monospace', 'Courier New', Courier, monospace;
  font-size: x-small;
  font-style: normal;
  font-weight: normal;
  padding: 7px;
}

 

 

what i want is to get it to use a style sheet , based on thie style but when I modified the colors how do i point the stored process at this css:

 

I was hoping

%LET _odsstylesheet=http://bidev01.usask.ca/style/USASK_ODS.css; 

 

would do it but it doesnt seem to , any suggestions? USASK_ODS.css is basically the plateau style just with custome colors


Accepted Solutions
Solution
‎05-03-2017 12:52 PM
SAS Super FREQ
Posts: 8,862

Re: stored process and alternate style question

Hi:
Are you using the Stored Process Web App, the Information Delivery Portal or Web Report Studio to run your Stored Process. You will need to look in the Stored Process Developer's guide to find out how to deploy custom CSS or work with Tech Support. How you implement a custom CSS will depend on the client application(s) that will be running the SP. I you are going to have a %LET for _odsstylesheet, then remember that
1) the override has to be before the %STPBEGIN; statement and
2) you probably also need to TURN off the use of the automatic style like this:
%let _odsstyle=;
%let _odsstylesheet=http://bidev01.usask.ca/style/usask_ods.css;
and
3) you have to make sure that the URL for the style sheet is available to all the servers that will be using the CSS file. With HTML based output, that means that the CSS file has to be accessible when the HTML output is viewed.

cynthia

View solution in original post


All Replies
Solution
‎05-03-2017 12:52 PM
SAS Super FREQ
Posts: 8,862

Re: stored process and alternate style question

Hi:
Are you using the Stored Process Web App, the Information Delivery Portal or Web Report Studio to run your Stored Process. You will need to look in the Stored Process Developer's guide to find out how to deploy custom CSS or work with Tech Support. How you implement a custom CSS will depend on the client application(s) that will be running the SP. I you are going to have a %LET for _odsstylesheet, then remember that
1) the override has to be before the %STPBEGIN; statement and
2) you probably also need to TURN off the use of the automatic style like this:
%let _odsstyle=;
%let _odsstylesheet=http://bidev01.usask.ca/style/usask_ods.css;
and
3) you have to make sure that the URL for the style sheet is available to all the servers that will be using the CSS file. With HTML based output, that means that the CSS file has to be accessible when the HTML output is viewed.

cynthia
Contributor
Posts: 24

Re: stored process and alternate style question

Posted in reply to Cynthia_sas

Thats worked great! thanks Cynthia

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 140 views
  • 0 likes
  • 2 in conversation