Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
set WORKING_FOLDER_PATH using birt api
sandeep_sn
Hi
How to set the WORKING_FOLDER_PATH using birt api through java code.
Kindly suggest on this.
Regards,
S.Sandeep
Find more posts tagged with
Comments
JasonW
The working folder is a webviewer setting only. If you are using the APIs you have control over where a report is opened.
Jason
sandeep_sn
Hi
As im using birt viewer, so i need to get the working folder path from the database. So how can is set the working folder path dynamically.
Kindly help me out.
Regards,
S.Sandeep
JasonW
In the __report url you can specifiy a complete or relative path to a report. If you want to use a full path make sure to set:
<!--
Settings for how to deal with the url report path. e.g. "
http://host/repo/test.rptdesign"
.
Following values are supported:
<all> - All paths.
<domain> - Only the paths with host matches current domain. Note the comparison is literal, "127.0.0.1" and "localhost" are considered as different hosts.
<none> - URL paths are not supported.
Defaults to "domain".
-->
<context-param>
<param-name>URL_REPORT_PATH_POLICY</param-name>
<param-value>domain</param-value>
</context-param>
In the web.xml. If you want to use relative just do not specify a working folder in the web.xml and relative should be relatvie to the viewer context.
Jason