[SOLVED] Restict the subdirectories while mapping an application
Hi,
We have a profile that contains something like
APP MAP data D:\Product\Data
APP PREPENDPATH data
The issue we are having is that, webFocus 8.1.03 is mapping all the underlying subdirectories under the 'Data' as well and we do not want to do that. So, is there a way to restrict mapping of subdirectories?
Note: We did not face this kind of issue when we are in v7.6.11
Thanks in advanceThis message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 7703/7705/8105m/8201m/8202m
June 11, 2015, 10:41 AM
GavinL
What product? In my world, the only things that relates would be Portals and their access to reports. Please clarify.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
June 11, 2015, 10:59 AM
WF1326
Gavin,
WF Reporting Server v8.1.03. I am talking about restricting the subfolders that are mapped by edasprof.prf
Hope i answered your question.
WebFOCUS 7703/7705/8105m/8201m/8202m
June 11, 2015, 11:08 AM
Francis Mariani
I think this is a very good question, and am a bit dismayed that things changed this drastically.
app1...appn Are application names. If you follow an application name with a slash (/), nested applications (the subtree of applications below the named application) will not be in the search path. If you do not follow the application name with a slash, the nested_app parameter determines whether nested applications are searched for files referenced in a procedure, and to what level. If you need to specify more application names than can fit on one line, add the continuation character (-) at the end of the first line, and code more application names on the next line.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 11, 2015, 11:26 AM
WF1326
Francis,
i looked into it. But lets say i have subfolders 'subapp1' and 'subapp2', in addition to some files/fex's inside 'app1' application. I wanted the server to access or search only files/fex's in app1 but not subfolders inside it.
So, when i provide APP PREPENDPATH app1, How do i restrict access to subapp1 and subapp2?
I hope i am explaining the issue as clearly as possible.
WebFOCUS 7703/7705/8105m/8201m/8202m
June 11, 2015, 11:38 AM
Francis Mariani
How did you do it in WF v7.6.11? Let's start with that as a base.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
The slashes in the PREPENDPATH will prevent nested applications from being searched. I haven't tried this but this is my interpretation of the documentaion.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 11, 2015, 12:03 PM
WF1326
Francis,
Your idea seems to be working. How do i implement directly on edasprof.prf. It has APP PATH
WebFOCUS 7703/7705/8105m/8201m/8202m
June 11, 2015, 12:38 PM
Francis Mariani
Just add these commands after the APP MAP.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 11, 2015, 01:14 PM
WF1326
Francis,
It worked perfect and just the way i wanted.
But still not sure why IBI added this extra step. My prior version did all automatically and simple.
Thanks again.
WebFOCUS 7703/7705/8105m/8201m/8202m
June 11, 2015, 01:31 PM
Francis Mariani
I would like to see the prior version.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 11, 2015, 01:46 PM
WF1326
In prior version v7.6.11, in edasprof.srf, we have
APP MAP app1 D:\Product\app1 APP PATH app1
So, it just results D:\Product\app1 and does not include the subfolders 'subapp1'
In v8.1.03, when we declare the same commands as we did in v7.6.11 we ended up getting
D:\Product\app1 D:\Product\app1\subapp1
So, in order to restrict the subfolders, we now have to declare it as
APP MAP app1 D:\Product\app1 APP PATH app1/
WebFOCUS 7703/7705/8105m/8201m/8202m
June 11, 2015, 02:05 PM
Francis Mariani
I suppose the change in behaviour could be considered a "new feature".
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 11, 2015, 02:20 PM
WF1326
I would consider it as an additional maintenance and a heads up to the users who are considering to migrate to the newer versions. Probably they wont even notice until you end up getting wrong results, which is how i stumbled into this issue.
WebFOCUS 7703/7705/8105m/8201m/8202m
June 11, 2015, 02:39 PM
Francis Mariani
I was being facetious.
The v7.6.1 documentation does not discuss the trailing slash. The v7.7.03 documentation discusses the trailing slash, so it's been around a while.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 11, 2015, 02:55 PM
edarefsky
There is also a setting thru WebFocus reporting server console. Under application settings, nested_app. Set the value to 'n'. Once that was set, we did not have to change any of our pathing commands.