简体   繁体   English

无法将报告部署到SpagoBI Server

[英]Can't deploy a report to SpagoBI Server

I'm trying to deploy a report from SpagoBIStudio 5.2.0 on a SpagoBI Server v5.1.0. 我正在尝试在SpagoBI Server v5.1.0上从SpagoBIStudio 5.2.0部署报告。

The report works perfectly in SpagoBIStudio (locally in my computer), and I successfully created the data source and the data sets using the web interface of SpagoBI Server. 该报告在SpagoBIStudio(在我的计算机本地)中完美运行,并且我使用SpagoBI Server的Web界面成功创建了数据源和数据集。
Nevertheless when I click on the "Deploy" option of my ".rptdesign" file, I see the following dialog and the "Finish" button is always disabled. 但是,当我单击“ .rptdesign”文件的“部署”选项时,会看到以下对话框,并且“完成”按钮始终处于禁用状态。

在此处输入图片说明

For some reason I can select the correct Datasource but the Dataset dropdown list is empty and disabled. 由于某些原因,我可以选择正确的Datasource但“ Dataset下拉列表为空且已禁用。 I guess this could be the problem. 我想这可能是问题所在。
The data source is a JDBC-Hive connection to Cosmos and the Datasets are defined as HQL queries in both Studio and Server. 数据源是到Cosmos的JDBC-Hive连接,并且在Studio和Server中都将数据集定义为HQL查询。

Does anybody know why the datasets aren't listed in the deploy document wizard of SpagoBIStudio? 有人知道为什么SpagoBIStudio的部署文档向导中没有列出数据集吗?

Thanks in advance. 提前致谢。

the dataset selection is disabled because a Birt Report is not linked to dataset that way. 数据集选择被禁用,因为Birt报告未以这种方式链接到数据集。 There are two ways of using datasets in Birt: - Birt embedded datasets, that can be of several types provided by Birt (SpagoBI has no role with that) - SpagoBIServer type dataset; 在Birt中使用数据集有两种方法:-Birt嵌入式数据集,可以是Birt提供的几种类型(SpagoBI不起作用)-SpagoBIServer类型数据集; these are linked to SpagoBIDataset by providing label, but this association is written inside template, during template definition. 它们通过提供标签链接到SpagoBIDataset,但是此关联是在模板定义期间写在模板内部的。

Hope this fix your problem, I would suggest you also to take a look at SpagoBI wiki page for further informations greetings 希望这能解决您的问题,我建议您也查看一下SpagoBI Wiki页面以获取更多信息。

Giulio 朱利奥

you cannot finish the deploy not because of dataset but because you did not select any functionality on the tree on the right. 您不能完成部署不是因为数据集,而是因为您没有在右侧树上选择任何功能。

You don't have any functionality on server where to store your document, so you should go to server with and administrator user role, then with the menu on the right, on the profile section, select the "functionalities management" menu and create a folder that is child of the root. 您在服务器上没有任何功能来存储文档,因此您应该使用具有管理员用户角色的服务器,然后使用右侧菜单,配置文件部分中的“功能管理”菜单并创建一个根的子文件夹。 Give it the permissions you need After this operation try again the deploy and you should be able to select one funcitonality and so have finish button enabled 授予它所需的权限此操作后,请再次尝试部署,您应该能够选择一种功能,因此启用了完成按钮

greetings 问候

You don't have to select the dataset. 您不必选择数据集。 Your finish button is not enabled because you haven't select the path from the functionalities tab. 未启用“完成”按钮,因为尚未从“功能”选项卡中选择路径。 After selecting it will be enabled and your report will be deployed. 选择后将启用它,并将部署您的报告。 After deployment you need to create Analytical drivers for the parameters through which your report will run. 部署后,您需要为运行报告的参数创建分析驱动程序。

NOTE: You must have a Active server configured under resources under SpagoBI project folder. 注意:您必须在SpagoBI项目文件夹下的资源下配置一台活动服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM