BookmarkSubscribeRSS Feed
milts
Pyrite | Level 9
Hi,

How do I override the style when using stpbegin and stpend?

I tried to copy then rename Meadow.css then changed the body background to black to check if doing something like that works. then changed the _ODSSTYLE to the renamed one before stpbegin. However I just got the gray default.

Any ideas or tips on proper creation and customization?

Thanks,
Milton
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
If you are overriding the style TEMPLATE, then you use _ODSSTYLE as the override. If you are overriding the CSS file or stylesheet file, then you use _ODSSTYLESHEET as the reserved macro variable to override.
http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/viewer.htm#a003152603.htm

Do note that some client applications, such as Web Report Studio need to have the CSS changed via a different mechanism and other client applications, such as the SAS Add-in for Microsoft Office, have Options that need to be set in order for the style to be used. You did not say under what client application you were running your stored process, so it is hard to know what to recommend.

This Tech Support note shows one method of referencing an external CSS file:
http://support.sas.com/kb/30/783.html

cynthia
milts
Pyrite | Level 9
Hi Cynthia,

Thank you very much for the very useful links.

Btw, I'm running the stored process as a link on SAS Portal. I have these chained stored processes which at the end has a graph output. To output the graph on the streaming stored process I used %stpbegin and %stpend. But when doing this it turns the whole page intro gray which is the default background of graph output.

Current workaround I did was instead of using %stpbegin and %stpend I created an whose source is another stored process where i placed the proc gchart.

Regards,
Milton

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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