BookmarkSubscribeRSS Feed
Sachin_bansode
Fluorite | Level 6

Hi Team,

We want to display Image in report title on web report studio.we are trying by using below SAS Code but its not displaying Image while we use SP  on Web report studio.Please guild us to achive this requirment.

 

Code for Refrence.

 

ods escapechar="^";
ods html file="/apps/usr/Komal/Title2.html" style=sasweb;
title  j=l height=2 "Date as of:1/12/2016"  j=c height=3 "Sales Report"  j=r height=2 link="http://www.test.com" "^{style[preimage='/apps/usr/HelpIcon2.jpg' ]} ";

 

data test;
a=' ';
run;

 

proc report data=test noheader

style(report)=[cellspacing=0 borderwidth=0]
style(column)=[borderwidth=0]
style(header)=[background=white]
;
column a ;
run;
ods html close;

2 REPLIES 2
Madelyn_SAS
SAS Super FREQ

SAS Web Report Studio has very specific rules for stored processes. See http://support.sas.com/kb/47/839.html

 

Why not use the built-in report header functionality that enables you to insert a banner image? You add your own images via SAS Management Console. This SAS note explains: http://support.sas.com/kb/16/825.html

Sachin_bansode
Fluorite | Level 6

Thanks For Suggetion,

 

Actualy we are using built-in report header functionality to display Report Title using Text object and  banner image.We are trying to display Date,Report Name,Help Icon in single.

As per client request we want to disaplay by using stored procedure,But when I am running same code in EG it display in singal line with Icone Image.As We use same Stored procedure in web Report studio It dont dispaly Icon Image/Title in Singal row.It display weird title.

Please tell  is that possible to display titile in singal line with DATE Titile Image Icon???

Its client request so we need proper valid reason. 

 

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
  • 922 views
  • 0 likes
  • 2 in conversation