簡體   English   中英

更改jasperServer中文件夾的名稱后,報告的路徑不會更改

[英]the path of the report does not change after changing the name of the folder in jasperServer

我在jasperServer中有一個文件夾(cat1) ,其中包含一些報告。 使用Web界面將文件夾名稱更改為category1 ,此文件夾內的報告路徑不會更改。 例如,report1仍然具有路徑/reports/cat1/report1而不是/reports/category1/report1

如何解決這個問題?

我通過移動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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM