[英]the path of the report does not change after changing the name of the folder in jasperServer
I have a folder (cat1)
in jasperServer which contains some reports. 我在jasperServer中有一个文件夹(cat1)
,其中包含一些报告。 After changing the name of the folder using the web interface to category1
, the paths of reports which are inside this folder does not change. 使用Web界面将文件夹名称更改为category1
,此文件夹内的报告路径不会更改。 For example, report1 still has the path /reports/cat1/report1
and not /reports/category1/report1
例如,report1仍然具有路径/reports/cat1/report1
而不是/reports/category1/report1
How to solve this issue ? 如何解决这个问题?
I solved the issue by moving the resource as proposed in jasperServer rest client API . 我通过移动jasperServer rest客户API中提出的资源解决了该问题。
OperationResult<ClientResource> result = client
.authenticate("jasperadmin", "jasperadmin")
.resourcesService()
.resource("/reports/category1/report1")
.moveFrom("/reports/cat1/report1");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.