Traditional web-based reporting with SAS BI tools

Hide WRS 4.2 data panel by default

Reply
SAS Employee
Posts: 5

Hide WRS 4.2 data panel by default

Hi all
is it possible to hide, by default, the left data panel in WRS 4.2?
I think that is possible, but I can't find anyway to do that.

regards
Giorgio
SAS Employee
Posts: 238

Re: Hide WRS 4.2 data panel by default

SAS Web Report Studio 4.2 has some configurable statements in:

\SASWebReportStudio\4.2\Configurables\wars\sas.webreportstudio\WEB-INF

(There are 3, pick the one for your web system config. web.jboss.xml.orig, web.weblogic.xml.orig, web.websphere.xml.orig. I haven't specifically looked for this oprion, but it might be there.) Modifications require a redeploy of the web application.

I have noticed that when saving the report from the view screen, with the data panel hidden, the future report viewing shows it hidden.

Angela Hall
Zencos Consulting
http://www.zencos.com
SAS Employee
Posts: 5

Re: Hide WRS 4.2 data panel by default

I had already check the xml configuration files and nothing is reported to cover my needed.

Are you sure? Because I save my report with data panel hidden, but when I re-open it (logoff and log-on again), the data panel was rendered again. The panel could be hidden for all reports during a WRS session. If you close the the WRS session the data panel will be rendered again for a future session.
SAS Employee
Posts: 238

Re: Hide WRS 4.2 data panel by default

Giorgio,
I think the difference I am seeing is viewing the report from the Portal vs. viewing from the WRS system. I have one report deployed that has the Data View hidden from users, however I am having trouble duplicating. I was beginning to wonder if it was related to the Save button vs. Save As and replace existing.

There is some .jsp that you can modify to change whether this is checked by default.

/ SAS/SASWebReportStudio/4.2/Static/wars/

"toggleSidePaneFromViewMenu" function is available at: tiles-components/mainReportLevelMenus.jsp which might get you started.

NOTE - Document this change EXTREMELY well. When you are implementing future hotfixes/maintenance releases/versions - there is a possiblility that this file will get replaced.

Angela Hall
Zencos Consulting
http://www.zencos.com
SAS Employee
Posts: 110

Re: Hide WRS 4.2 data panel by default

Giorgio,
I submitted your question to tech support without seeing Angela's responses. Sorry Angela! If you are still having trouble please connect with tech support by clicking on http://support.sas.com/ctx/supportform and submitting a request for help. They should identify you based on what information I gave them.
SAS Employee
Posts: 110

Re: Hide WRS 4.2 data panel by default

Giorgio,
I checked on this problem with our Tech Support and I understand that there has been a defect filed for this problem. This means that SAS knows that this is a bug in the application and is in the process of finding a solution.
LG
N/A
Posts: 1

Re: Hide WRS 4.2 data panel by default

Easy solution: modify AppSrv01/installedApps/yourserver/SASWebReportStudio4.2.ear/sas.webreportstudio.war/tiles-layouts/stagedViewModeLayout.jsp

make sure
boolean leftTaskPaneOpen
is set to false

works for me just fine

enjoy Message was edited by: LG
SAS Employee
Posts: 238

Re: Hide WRS 4.2 data panel by default

Awesome! Thanks LG!
I'll have to try this one out.

Angela Hall
http://sas-bi.blogspot.com
Ask a Question
Discussion stats
  • 7 replies
  • 330 views
  • 0 likes
  • 4 in conversation