I am trying to create and use a style with the following ODS in an scl web app. When I use the following code I get the error message that style cannot be found. The log shows the style is being saved. Can you please explain where I am going wrong?
submit continue;
proc template;
define style dashboard / store=styles;
parent=styles.minimal;
style header_blue_center /
background = cx7ACAFF
font = ("Arial",8pt,Bold)
foreground = cx000000
just = C
frame = box;
end;
run;
quit;
ods escapechar = '~';
options nonumber;
%let RV=%sysfunc(appsrv_header(Content-type, application/vnd.ms-excel));
%let RV=%sysfunc(appsrv_header(Content-disposition, %str(attachment; filename=temp.xls)));
ods html body=_webout style=styles.dashboard;
proc report data=work.exceldata;
define short / display "Short Study Number"
style(column)=header_blue_center
style(header)=header_blue_center;
run;
endsubmit;
... View more